Class CheckNameAvailabilityParameters

java.lang.Object
com.azure.resourcemanager.batch.models.CheckNameAvailabilityParameters

public final class CheckNameAvailabilityParameters extends Object
Parameters for a check name availability request.
  • Constructor Details

    • CheckNameAvailabilityParameters

      public CheckNameAvailabilityParameters()
      Creates an instance of CheckNameAvailabilityParameters class.
  • Method Details

    • name

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

      public CheckNameAvailabilityParameters withName(String name)
      Set the name property: The name to check for availability.
      Parameters:
      name - the name value to set.
      Returns:
      the CheckNameAvailabilityParameters object itself.
    • type

      public String type()
      Get the type property: The resource type.
      Returns:
      the type value.
    • withType

      public CheckNameAvailabilityParameters withType(String type)
      Set the type property: The resource type.
      Parameters:
      type - the type value to set.
      Returns:
      the CheckNameAvailabilityParameters object itself.
    • validate

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