Class DomainAvailabilityInner
java.lang.Object
com.azure.resourcemanager.cognitiveservices.fluent.models.DomainAvailabilityInner
Domain availability.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the isSubdomainAvailable property: Indicates the given SKU is available or not.kind()
Get the kind property: The Kind of the resource.reason()
Get the reason property: Reason why the SKU is not available.Get the subdomainName property: The subdomain name to use.type()
Get the type property: The Type of the resource.void
validate()
Validates the instance.withIsSubdomainAvailable
(Boolean isSubdomainAvailable) Set the isSubdomainAvailable property: Indicates the given SKU is available or not.Set the kind property: The Kind of the resource.withReason
(String reason) Set the reason property: Reason why the SKU is not available.withSubdomainName
(String subdomainName) Set the subdomainName property: The subdomain name to use.Set the type property: The Type of the resource.
-
Constructor Details
-
DomainAvailabilityInner
public DomainAvailabilityInner()
-
-
Method Details
-
isSubdomainAvailable
Get the isSubdomainAvailable property: Indicates the given SKU is available or not.- Returns:
- the isSubdomainAvailable value.
-
withIsSubdomainAvailable
Set the isSubdomainAvailable property: Indicates the given SKU is available or not.- Parameters:
isSubdomainAvailable
- the isSubdomainAvailable value to set.- Returns:
- the DomainAvailabilityInner object itself.
-
reason
Get the reason property: Reason why the SKU is not available.- Returns:
- the reason value.
-
withReason
Set the reason property: Reason why the SKU is not available.- Parameters:
reason
- the reason value to set.- Returns:
- the DomainAvailabilityInner object itself.
-
subdomainName
Get the subdomainName property: The subdomain name to use.- Returns:
- the subdomainName value.
-
withSubdomainName
Set the subdomainName property: The subdomain name to use.- Parameters:
subdomainName
- the subdomainName value to set.- Returns:
- the DomainAvailabilityInner object itself.
-
type
Get the type property: The Type of the resource.- Returns:
- the type value.
-
withType
Set the type property: The Type of the resource.- Parameters:
type
- the type value to set.- Returns:
- the DomainAvailabilityInner object itself.
-
kind
Get the kind property: The Kind of the resource.- Returns:
- the kind value.
-
withKind
Set the kind property: The Kind of the resource.- Parameters:
kind
- the kind value to set.- Returns:
- the DomainAvailabilityInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-