Class ResourceNameAvailabilityRequest
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.ResourceNameAvailabilityRequest
-
public final class ResourceNameAvailabilityRequest extends Object
Resource name availability request content.
-
-
Constructor Summary
Constructors Constructor Description ResourceNameAvailabilityRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanisFqdn()Get the isFqdn property: Is fully qualified domain name.Stringname()Get the name property: Resource name to verify.CheckNameResourceTypestype()Get the type property: Resource type used for verification.voidvalidate()Validates the instance.ResourceNameAvailabilityRequestwithIsFqdn(Boolean isFqdn)Set the isFqdn property: Is fully qualified domain name.ResourceNameAvailabilityRequestwithName(String name)Set the name property: Resource name to verify.ResourceNameAvailabilityRequestwithType(CheckNameResourceTypes type)Set the type property: Resource type used for verification.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Resource name to verify.- Returns:
- the name value.
-
withName
public ResourceNameAvailabilityRequest withName(String name)
Set the name property: Resource name to verify.- Parameters:
name- the name value to set.- Returns:
- the ResourceNameAvailabilityRequest object itself.
-
type
public CheckNameResourceTypes type()
Get the type property: Resource type used for verification.- Returns:
- the type value.
-
withType
public ResourceNameAvailabilityRequest withType(CheckNameResourceTypes type)
Set the type property: Resource type used for verification.- Parameters:
type- the type value to set.- Returns:
- the ResourceNameAvailabilityRequest object itself.
-
isFqdn
public Boolean isFqdn()
Get the isFqdn property: Is fully qualified domain name.- Returns:
- the isFqdn value.
-
withIsFqdn
public ResourceNameAvailabilityRequest withIsFqdn(Boolean isFqdn)
Set the isFqdn property: Is fully qualified domain name.- Parameters:
isFqdn- the isFqdn value to set.- Returns:
- the ResourceNameAvailabilityRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-