DeepCreatedCustomDomain Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.DeepCreatedCustomDomain

Implements

public final class DeepCreatedCustomDomain
implements JsonSerializable<DeepCreatedCustomDomain>

Custom domains created on the CDN endpoint.

Method Summary

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

Reads an instance of DeepCreatedCustomDomain from the JsonReader.

String hostname()

Get the hostname property: The host name of the custom domain.

String name()

Get the name property: Custom domain name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String validationData()

Get the validationData property: Special validation or data may be required when delivering CDN to some regions due to local compliance reasons.

Methods inherited from java.lang.Object

Method Details

fromJson

public static DeepCreatedCustomDomain fromJson(JsonReader jsonReader)

Reads an instance of DeepCreatedCustomDomain from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

hostname

public String hostname()

Get the hostname property: The host name of the custom domain. Must be a domain name.

Returns:

the hostname value.

name

public String name()

Get the name property: Custom domain name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

validationData

public String validationData()

Get the validationData property: Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.

Returns:

the validationData value.

Applies to