public final class ResourceNameAvailabilityRequest extends Object
| Constructor and Description |
|---|
ResourceNameAvailabilityRequest() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
isFqdn()
Get the isFqdn property: Is fully qualified domain name.
|
String |
name()
Get the name property: Resource name to verify.
|
CheckNameResourceTypes |
type()
Get the type property: Resource type used for verification.
|
void |
validate()
Validates the instance.
|
ResourceNameAvailabilityRequest |
withIsFqdn(Boolean isFqdn)
Set the isFqdn property: Is fully qualified domain name.
|
ResourceNameAvailabilityRequest |
withName(String name)
Set the name property: Resource name to verify.
|
ResourceNameAvailabilityRequest |
withType(CheckNameResourceTypes type)
Set the type property: Resource type used for verification.
|
public String name()
public ResourceNameAvailabilityRequest withName(String name)
name - the name value to set.public CheckNameResourceTypes type()
public ResourceNameAvailabilityRequest withType(CheckNameResourceTypes type)
type - the type value to set.public Boolean isFqdn()
public ResourceNameAvailabilityRequest withIsFqdn(Boolean isFqdn)
isFqdn - the isFqdn value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.