Class CheckNameAvailabilityRequest

java.lang.Object
com.microsoft.azure.management.sql.CheckNameAvailabilityRequest

public class CheckNameAvailabilityRequest extends Object
A request to check whether the specified name for a resource is available.
  • Constructor Details

    • CheckNameAvailabilityRequest

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

    • name

      public String name()
      Get the name whose availability is to be checked.
      Returns:
      the name value
    • withName

      public CheckNameAvailabilityRequest withName(String name)
      Set the name whose availability is to be checked.
      Parameters:
      name - the name value to set
      Returns:
      the CheckNameAvailabilityRequest object itself.
    • type

      public String type()
      Get the type of resource that is used as the scope of the availability check.
      Returns:
      the type value
    • withType

      public CheckNameAvailabilityRequest withType(String type)
      Set the type of resource that is used as the scope of the availability check.
      Parameters:
      type - the type value to set
      Returns:
      the CheckNameAvailabilityRequest object itself.