NameAvailabilityInformationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.datalakeanalytics.fluent.models.NameAvailabilityInformationInner

Implements

public final class NameAvailabilityInformationInner
implements JsonSerializable<NameAvailabilityInformationInner>

Data Lake Analytics account name availability result information.

Constructor Summary

Constructor Description
NameAvailabilityInformationInner()

Creates an instance of NameAvailabilityInformationInner class.

Method Summary

Modifier and Type Method and Description
static NameAvailabilityInformationInner fromJson(JsonReader jsonReader)

Reads an instance of NameAvailabilityInformationInner from the JsonReader.

String message()

Get the message property: The message describing why the Data Lake Analytics account name is not available, if nameAvailable is false.

Boolean nameAvailable()

Get the nameAvailable property: The Boolean value of true or false to indicate whether the Data Lake Analytics account name is available or not.

String reason()

Get the reason property: The reason why the Data Lake Analytics account name is not available, if nameAvailable is false.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

NameAvailabilityInformationInner

public NameAvailabilityInformationInner()

Creates an instance of NameAvailabilityInformationInner class.

Method Details

fromJson

public static NameAvailabilityInformationInner fromJson(JsonReader jsonReader)

Reads an instance of NameAvailabilityInformationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NameAvailabilityInformationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the NameAvailabilityInformationInner.

message

public String message()

Get the message property: The message describing why the Data Lake Analytics account name is not available, if nameAvailable is false.

Returns:

the message value.

nameAvailable

public Boolean nameAvailable()

Get the nameAvailable property: The Boolean value of true or false to indicate whether the Data Lake Analytics account name is available or not.

Returns:

the nameAvailable value.

reason

public String reason()

Get the reason property: The reason why the Data Lake Analytics account name is not available, if nameAvailable is false.

Returns:

the reason value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to