ValidateCustomDomainOutputInner Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.fluent.models.ValidateCustomDomainOutputInner

Implements

public final class ValidateCustomDomainOutputInner
implements JsonSerializable<ValidateCustomDomainOutputInner>

Output of custom domain validation.

Method Summary

Modifier and Type Method and Description
Boolean customDomainValidated()

Get the customDomainValidated property: Indicates whether the custom domain is valid or not.

static ValidateCustomDomainOutputInner fromJson(JsonReader jsonReader)

Reads an instance of ValidateCustomDomainOutputInner from the JsonReader.

String message()

Get the message property: Error message describing why the custom domain is not valid.

String reason()

Get the reason property: The reason why the custom domain is not valid.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

customDomainValidated

public Boolean customDomainValidated()

Get the customDomainValidated property: Indicates whether the custom domain is valid or not.

Returns:

the customDomainValidated value.

fromJson

public static ValidateCustomDomainOutputInner fromJson(JsonReader jsonReader)

Reads an instance of ValidateCustomDomainOutputInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ValidateCustomDomainOutputInner 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 ValidateCustomDomainOutputInner.

message

public String message()

Get the message property: Error message describing why the custom domain is not valid.

Returns:

the message value.

reason

public String reason()

Get the reason property: The reason why the custom domain is not valid.

Returns:

the reason value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to