Class DomainAvailabilityInner
- java.lang.Object
-
- com.azure.resourcemanager.cognitiveservices.fluent.models.DomainAvailabilityInner
-
public final class DomainAvailabilityInner extends Object
Domain availability.
-
-
Constructor Summary
Constructors Constructor Description DomainAvailabilityInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
isSubdomainAvailable()
Get the isSubdomainAvailable property: Indicates the given SKU is available or not.String
kind()
Get the kind property: The Kind of the resource.String
reason()
Get the reason property: Reason why the SKU is not available.String
subdomainName()
Get the subdomainName property: The subdomain name to use.String
type()
Get the type property: The Type of the resource.void
validate()
Validates the instance.DomainAvailabilityInner
withIsSubdomainAvailable(Boolean isSubdomainAvailable)
Set the isSubdomainAvailable property: Indicates the given SKU is available or not.DomainAvailabilityInner
withKind(String kind)
Set the kind property: The Kind of the resource.DomainAvailabilityInner
withReason(String reason)
Set the reason property: Reason why the SKU is not available.DomainAvailabilityInner
withSubdomainName(String subdomainName)
Set the subdomainName property: The subdomain name to use.DomainAvailabilityInner
withType(String type)
Set the type property: The Type of the resource.
-
-
-
Method Detail
-
isSubdomainAvailable
public Boolean isSubdomainAvailable()
Get the isSubdomainAvailable property: Indicates the given SKU is available or not.- Returns:
- the isSubdomainAvailable value.
-
withIsSubdomainAvailable
public DomainAvailabilityInner withIsSubdomainAvailable(Boolean isSubdomainAvailable)
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
public String reason()
Get the reason property: Reason why the SKU is not available.- Returns:
- the reason value.
-
withReason
public DomainAvailabilityInner withReason(String reason)
Set the reason property: Reason why the SKU is not available.- Parameters:
reason
- the reason value to set.- Returns:
- the DomainAvailabilityInner object itself.
-
subdomainName
public String subdomainName()
Get the subdomainName property: The subdomain name to use.- Returns:
- the subdomainName value.
-
withSubdomainName
public DomainAvailabilityInner withSubdomainName(String subdomainName)
Set the subdomainName property: The subdomain name to use.- Parameters:
subdomainName
- the subdomainName value to set.- Returns:
- the DomainAvailabilityInner object itself.
-
type
public String type()
Get the type property: The Type of the resource.- Returns:
- the type value.
-
withType
public DomainAvailabilityInner withType(String type)
Set the type property: The Type of the resource.- Parameters:
type
- the type value to set.- Returns:
- the DomainAvailabilityInner object itself.
-
kind
public String kind()
Get the kind property: The Kind of the resource.- Returns:
- the kind value.
-
withKind
public DomainAvailabilityInner withKind(String kind)
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.
-
-