DomainAvailabilityCheckResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. DomainAvailabilityCheckResultInner
- com.
Implements
public final class DomainAvailabilityCheckResultInner
implements JsonSerializable<DomainAvailabilityCheckResultInner>
Domain availability check result.
Constructor Summary
Constructor | Description |
---|---|
DomainAvailabilityCheckResultInner() |
Creates an instance of Domain |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
available()
Get the available property: |
Domain |
domainType()
Get the domain |
static
Domain |
fromJson(JsonReader jsonReader)
Reads an instance of Domain |
String |
name()
Get the name property: Name of the domain. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Domain |
withAvailable(Boolean available)
Set the available property: |
Domain |
withDomainType(DomainType domainType)
Set the domain |
Domain |
withName(String name)
Set the name property: Name of the domain. |
Methods inherited from java.lang.Object
Constructor Details
DomainAvailabilityCheckResultInner
public DomainAvailabilityCheckResultInner()
Creates an instance of DomainAvailabilityCheckResultInner class.
Method Details
available
public Boolean available()
Get the available property: true
if domain can be purchased using CreateDomain API; otherwise, false
.
Returns:
domainType
public DomainType domainType()
Get the domainType property: Valid values are Regular domain: Azure will charge the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything.
Returns:
fromJson
public static DomainAvailabilityCheckResultInner fromJson(JsonReader jsonReader)
Reads an instance of DomainAvailabilityCheckResultInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the domain.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAvailable
public DomainAvailabilityCheckResultInner withAvailable(Boolean available)
Set the available property: true
if domain can be purchased using CreateDomain API; otherwise, false
.
Parameters:
Returns:
withDomainType
public DomainAvailabilityCheckResultInner withDomainType(DomainType domainType)
Set the domainType property: Valid values are Regular domain: Azure will charge the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything.
Parameters:
Returns:
withName
public DomainAvailabilityCheckResultInner withName(String name)
Set the name property: Name of the domain.
Parameters:
Returns:
Applies to
Azure SDK for Java