public final class DomainAvailabilityCheckResultInner extends Object
| Constructor and Description |
|---|
DomainAvailabilityCheckResultInner() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
available()
Get the available property: <code>true</code> if domain can be purchased using CreateDomain API;
otherwise, <code>false</code>.
|
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.
|
String |
name()
Get the name property: Name of the domain.
|
void |
validate()
Validates the instance.
|
DomainAvailabilityCheckResultInner |
withAvailable(Boolean available)
Set the available property: <code>true</code> if domain can be purchased using CreateDomain API;
otherwise, <code>false</code>.
|
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.
|
DomainAvailabilityCheckResultInner |
withName(String name)
Set the name property: Name of the domain.
|
public String name()
public DomainAvailabilityCheckResultInner withName(String name)
name - the name value to set.public Boolean available()
public DomainAvailabilityCheckResultInner withAvailable(Boolean available)
available - the available value to set.public DomainType domainType()
public DomainAvailabilityCheckResultInner withDomainType(DomainType domainType)
domainType - the domainType value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.