CheckNameAvailabilityRequest Class
- java.
lang. Object - com.
microsoft. azure. management. sql. CheckNameAvailabilityRequest
- com.
public class CheckNameAvailabilityRequest
A request to check whether the specified name for a resource is available.
Constructor Summary
Constructor | Description |
---|---|
CheckNameAvailabilityRequest() |
Creates an instance of Check |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
name()
Get the name whose availability is to be checked. |
java.lang.String |
type()
Get the type of resource that is used as the scope of the availability check. |
Check |
withName(String name)
Set the name whose availability is to be checked. |
Check |
withType(String type)
Set the type of resource that is used as the scope of the availability check. |
Methods inherited from java.lang.Object
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:
type
public String type()
Get the type of resource that is used as the scope of the availability check.
Returns:
withName
public CheckNameAvailabilityRequest withName(String name)
Set the name whose availability is to be checked.
Parameters:
Returns:
withType
public CheckNameAvailabilityRequest withType(String type)
Set the type of resource that is used as the scope of the availability check.
Parameters:
Returns:
Applies to
Azure SDK for Java