DeepCreatedCustomDomainProperties Class

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

Implements

public final class DeepCreatedCustomDomainProperties
implements JsonSerializable<DeepCreatedCustomDomainProperties>

Properties of the custom domain created on the CDN endpoint.

Constructor Summary

Constructor Description
DeepCreatedCustomDomainProperties()

Creates an instance of DeepCreatedCustomDomainProperties class.

Method Summary

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

Reads an instance of DeepCreatedCustomDomainProperties from the JsonReader.

String hostname()

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

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.

DeepCreatedCustomDomainProperties withHostname(String hostname)

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

DeepCreatedCustomDomainProperties withValidationData(String validationData)

Set 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

Constructor Details

DeepCreatedCustomDomainProperties

public DeepCreatedCustomDomainProperties()

Creates an instance of DeepCreatedCustomDomainProperties class.

Method Details

fromJson

public static DeepCreatedCustomDomainProperties fromJson(JsonReader jsonReader)

Reads an instance of DeepCreatedCustomDomainProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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.

withHostname

public DeepCreatedCustomDomainProperties withHostname(String hostname)

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

Parameters:

hostname - the hostname value to set.

Returns:

the DeepCreatedCustomDomainProperties object itself.

withValidationData

public DeepCreatedCustomDomainProperties withValidationData(String validationData)

Set 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.

Parameters:

validationData - the validationData value to set.

Returns:

the DeepCreatedCustomDomainProperties object itself.

Applies to