NameAvailabilityRequest Class
- java.
lang. Object - com.
azure. resourcemanager. cosmosdbforpostgresql. models. NameAvailabilityRequest
- com.
public final class NameAvailabilityRequest
Request from client to check cluster name availability.
Constructor Summary
| Constructor | Description |
|---|---|
| NameAvailabilityRequest() |
Creates an instance of Name |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
name()
Get the name property: Cluster name to verify. |
| String |
type()
Get the type property: Resource type used for verification. |
| void |
validate()
Validates the instance. |
|
Name |
withName(String name)
Set the name property: Cluster name to verify. |
|
Name |
withType(String type)
Set the type property: Resource type used for verification. |
Methods inherited from java.lang.Object
Constructor Details
NameAvailabilityRequest
public NameAvailabilityRequest()
Creates an instance of NameAvailabilityRequest class.
Method Details
name
public String name()
Get the name property: Cluster name to verify.
Returns:
type
public String type()
Get the type property: Resource type used for verification.
Returns:
validate
public void validate()
Validates the instance.
withName
public NameAvailabilityRequest withName(String name)
Set the name property: Cluster name to verify.
Parameters:
Returns:
withType
public NameAvailabilityRequest withType(String type)
Set the type property: Resource type used for verification.
Parameters:
Returns: