Class CheckNameAvailabilityParameter

java.lang.Object
com.azure.resourcemanager.eventhubs.models.CheckNameAvailabilityParameter

public final class CheckNameAvailabilityParameter extends Object
Parameter supplied to check Namespace name availability operation.
  • Constructor Details

    • CheckNameAvailabilityParameter

      public CheckNameAvailabilityParameter()
  • Method Details

    • name

      public String name()
      Get the name property: Name to check the namespace name availability.
      Returns:
      the name value.
    • withName

      public CheckNameAvailabilityParameter withName(String name)
      Set the name property: Name to check the namespace name availability.
      Parameters:
      name - the name value to set.
      Returns:
      the CheckNameAvailabilityParameter object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.