Class CheckNameAvailabilityRequest

java.lang.Object
com.azure.resourcemanager.mixedreality.models.CheckNameAvailabilityRequest

public final class CheckNameAvailabilityRequest extends Object
Check Name Availability Request.
  • Constructor Details

    • CheckNameAvailabilityRequest

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

    • name

      public String name()
      Get the name property: Resource Name To Verify.
      Returns:
      the name value.
    • withName

      public CheckNameAvailabilityRequest withName(String name)
      Set the name property: Resource Name To Verify.
      Parameters:
      name - the name value to set.
      Returns:
      the CheckNameAvailabilityRequest object itself.
    • type

      public String type()
      Get the type property: Fully qualified resource type which includes provider namespace.
      Returns:
      the type value.
    • withType

      public CheckNameAvailabilityRequest withType(String type)
      Set the type property: Fully qualified resource type which includes provider namespace.
      Parameters:
      type - the type value to set.
      Returns:
      the CheckNameAvailabilityRequest object itself.
    • validate

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