Class CustomDomainInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.cdn.fluent.models.CustomDomainInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class CustomDomainInner
extends com.azure.core.management.ProxyResource
Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g.
www.contoso.com.
-
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.com.azure.core.management.SystemDataGet the systemData property: Read only system data.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.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
CustomDomainInner
public CustomDomainInner()Creates an instance of CustomDomainInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Read only system data.- Returns:
- the systemData value.
-
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 CustomDomainInner 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 CustomDomainInner withCustomHttpsParameters(CustomDomainHttpsParameters customHttpsParameters) Set the customHttpsParameters property: Certificate parameters for securing custom HTTPS.- Parameters:
customHttpsParameters- the customHttpsParameters value to set.- Returns:
- the CustomDomainInner 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 CustomDomainInner 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.
-