Class DomainAvailabilityCheckResultInner
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.DomainAvailabilityCheckResultInner
-
public final class DomainAvailabilityCheckResultInner extends Object
Domain availability check result.
-
-
Constructor Summary
Constructors Constructor Description DomainAvailabilityCheckResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanavailable()Get the available property: <code>true</code> if domain can be purchased using CreateDomain API; otherwise, <code>false</code>.DomainTypedomainType()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.Stringname()Get the name property: Name of the domain.voidvalidate()Validates the instance.DomainAvailabilityCheckResultInnerwithAvailable(Boolean available)Set the available property: <code>true</code> if domain can be purchased using CreateDomain API; otherwise, <code>false</code>.DomainAvailabilityCheckResultInnerwithDomainType(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.DomainAvailabilityCheckResultInnerwithName(String name)Set the name property: Name of the domain.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the domain.- Returns:
- the name value.
-
withName
public DomainAvailabilityCheckResultInner withName(String name)
Set the name property: Name of the domain.- Parameters:
name- the name value to set.- Returns:
- the DomainAvailabilityCheckResultInner object itself.
-
available
public Boolean available()
Get the available property: <code>true</code> if domain can be purchased using CreateDomain API; otherwise, <code>false</code>.- Returns:
- the available value.
-
withAvailable
public DomainAvailabilityCheckResultInner withAvailable(Boolean available)
Set the available property: <code>true</code> if domain can be purchased using CreateDomain API; otherwise, <code>false</code>.- Parameters:
available- the available value to set.- Returns:
- the DomainAvailabilityCheckResultInner object itself.
-
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:
- the domainType value.
-
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:
domainType- the domainType value to set.- Returns:
- the DomainAvailabilityCheckResultInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-