CheckEndpointNameAvailabilityInput Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. CheckEndpointNameAvailabilityInput
- com.
Implements
public final class CheckEndpointNameAvailabilityInput
implements JsonSerializable<CheckEndpointNameAvailabilityInput>
Input of CheckNameAvailability API.
Constructor Summary
| Constructor | Description |
|---|---|
| CheckEndpointNameAvailabilityInput() |
Creates an instance of Check |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Auto |
autoGeneratedDomainNameLabelScope()
Get the auto |
|
static
Check |
fromJson(JsonReader jsonReader)
Reads an instance of Check |
| String |
name()
Get the name property: The resource name to validate. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Resource |
type()
Get the type property: The type of the resource whose name is to be validated. |
| void |
validate()
Validates the instance. |
|
Check |
withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope)
Set the auto |
|
Check |
withName(String name)
Set the name property: The resource name to validate. |
|
Check |
withType(ResourceType type)
Set the type property: The type of the resource whose name is to be validated. |
Methods inherited from java.lang.Object
Constructor Details
CheckEndpointNameAvailabilityInput
public CheckEndpointNameAvailabilityInput()
Creates an instance of CheckEndpointNameAvailabilityInput class.
Method Details
autoGeneratedDomainNameLabelScope
public AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope()
Get the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope. The default value is TenantReuse.
Returns:
fromJson
public static CheckEndpointNameAvailabilityInput fromJson(JsonReader jsonReader)
Reads an instance of CheckEndpointNameAvailabilityInput from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The resource name to validate.
Returns:
toJson
type
public ResourceType type()
Get the type property: The type of the resource whose name is to be validated.
Returns:
validate
public void validate()
Validates the instance.
withAutoGeneratedDomainNameLabelScope
public CheckEndpointNameAvailabilityInput withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope)
Set the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope. The default value is TenantReuse.
Parameters:
Returns:
withName
public CheckEndpointNameAvailabilityInput withName(String name)
Set the name property: The resource name to validate.
Parameters:
Returns:
withType
public CheckEndpointNameAvailabilityInput withType(ResourceType type)
Set the type property: The type of the resource whose name is to be validated.
Parameters:
Returns: