DnsNameAvailabilityResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. DnsNameAvailabilityResultInner
- com.
Implements
public final class DnsNameAvailabilityResultInner
implements JsonSerializable<DnsNameAvailabilityResultInner>
Response for the CheckDnsNameAvailability API service call.
Constructor Summary
Constructor | Description |
---|---|
DnsNameAvailabilityResultInner() |
Creates an instance of Dns |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
available()
Get the available property: Domain availability (True/False). |
static
Dns |
fromJson(JsonReader jsonReader)
Reads an instance of Dns |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Dns |
withAvailable(Boolean available)
Set the available property: Domain availability (True/False). |
Methods inherited from java.lang.Object
Constructor Details
DnsNameAvailabilityResultInner
public DnsNameAvailabilityResultInner()
Creates an instance of DnsNameAvailabilityResultInner class.
Method Details
available
public Boolean available()
Get the available property: Domain availability (True/False).
Returns:
fromJson
public static DnsNameAvailabilityResultInner fromJson(JsonReader jsonReader)
Reads an instance of DnsNameAvailabilityResultInner from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAvailable
public DnsNameAvailabilityResultInner withAvailable(Boolean available)
Set the available property: Domain availability (True/False).
Parameters:
Returns:
Applies to
Azure SDK for Java