DeepCreatedCustomDomain Class

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

public final class DeepCreatedCustomDomain

Custom domains created on the CDN endpoint.

Constructor Summary

Constructor Description
DeepCreatedCustomDomain()

Creates an instance of DeepCreatedCustomDomain class.

Method Summary

Modifier and Type Method and Description
String hostname()

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

String name()

Get the name property: Custom domain name.

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.

DeepCreatedCustomDomain withHostname(String hostname)

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

DeepCreatedCustomDomain withName(String name)

Set the name property: Custom domain name.

DeepCreatedCustomDomain 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

DeepCreatedCustomDomain

public DeepCreatedCustomDomain()

Creates an instance of DeepCreatedCustomDomain class.

Method Details

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.

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 DeepCreatedCustomDomain 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 DeepCreatedCustomDomain object itself.

withName

public DeepCreatedCustomDomain withName(String name)

Set the name property: Custom domain name.

Parameters:

name - the name value to set.

Returns:

the DeepCreatedCustomDomain object itself.

withValidationData

public DeepCreatedCustomDomain 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 DeepCreatedCustomDomain object itself.

Applies to