Class CustomDomainProperties
java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.CustomDomainProperties
The JSON object that contains the properties of the custom domain to create.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the customHttpsParameters property: Certificate parameters for securing custom HTTPS.Get the customHttpsProvisioningState property: Provisioning status of the custom domain.Get the customHttpsProvisioningSubstate property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.hostname()Get the hostname property: The host name of the custom domain.Get the provisioningState property: Provisioning status of Custom Https of the custom domain.Get the resourceState property: Resource status of the custom domain.voidvalidate()Validates the instance.Get the validationData property: Special validation or data may be required when delivering CDN to some regions due to local compliance reasons.withCustomHttpsParameters(CustomDomainHttpsParameters customHttpsParameters) Set the customHttpsParameters property: Certificate parameters for securing custom HTTPS.withHostname(String hostname) Set the hostname property: The host name of the custom domain.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.
-
Constructor Details
-
CustomDomainProperties
public CustomDomainProperties()
-
-
Method Details
-
hostname
Get the hostname property: The host name of the custom domain. Must be a domain name.- Returns:
- the hostname value.
-
withHostname
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 CustomDomainProperties object itself.
-
resourceState
Get the resourceState property: Resource status of the custom domain.- Returns:
- the resourceState value.
-
customHttpsProvisioningState
Get the customHttpsProvisioningState property: Provisioning status of the custom domain.- Returns:
- the customHttpsProvisioningState value.
-
customHttpsProvisioningSubstate
Get the customHttpsProvisioningSubstate property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.- Returns:
- the customHttpsProvisioningSubstate value.
-
customHttpsParameters
Get the customHttpsParameters property: Certificate parameters for securing custom HTTPS.- Returns:
- the customHttpsParameters value.
-
withCustomHttpsParameters
public CustomDomainProperties withCustomHttpsParameters(CustomDomainHttpsParameters customHttpsParameters) Set the customHttpsParameters property: Certificate parameters for securing custom HTTPS.- Parameters:
customHttpsParameters- the customHttpsParameters value to set.- Returns:
- the CustomDomainProperties object itself.
-
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.
-
withValidationData
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 CustomDomainProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning status of Custom Https of the custom domain.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-