Class CheckNameAvailabilityInput

java.lang.Object
com.azure.resourcemanager.mediaservices.models.CheckNameAvailabilityInput

public final class CheckNameAvailabilityInput extends Object
The input to the check name availability request.
  • Constructor Details

    • CheckNameAvailabilityInput

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

    • name

      public String name()
      Get the name property: The account name.
      Returns:
      the name value.
    • withName

      public CheckNameAvailabilityInput withName(String name)
      Set the name property: The account name.
      Parameters:
      name - the name value to set.
      Returns:
      the CheckNameAvailabilityInput object itself.
    • type

      public String type()
      Get the type property: The account type. For a Media Services account, this should be 'MediaServices'.
      Returns:
      the type value.
    • withType

      public CheckNameAvailabilityInput withType(String type)
      Set the type property: The account type. For a Media Services account, this should be 'MediaServices'.
      Parameters:
      type - the type value to set.
      Returns:
      the CheckNameAvailabilityInput object itself.
    • validate

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