CustomDomainProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. fluent. models. CustomDomainProperties
- com.
Implements
public final class CustomDomainProperties
implements JsonSerializable<CustomDomainProperties>
The JSON object that contains the properties of the custom domain to create.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomDomainProperties() |
Creates an instance of Custom |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Custom |
customHttpsParameters()
Get the custom |
|
Custom |
customHttpsProvisioningState()
Get the custom |
|
Custom |
customHttpsProvisioningSubstate()
Get the custom |
|
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
| String |
hostname()
Get the hostname property: The host name of the custom domain. |
|
Custom |
provisioningState()
Get the provisioning |
|
Custom |
resourceState()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
validationData()
Get the validation |
|
Custom |
withCustomHttpsParameters(CustomDomainHttpsParameters customHttpsParameters)
Set the custom |
|
Custom |
withHostname(String hostname)
Set the hostname property: The host name of the custom domain. |
|
Custom |
withValidationData(String validationData)
Set the validation |
Methods inherited from java.lang.Object
Constructor Details
CustomDomainProperties
public CustomDomainProperties()
Creates an instance of CustomDomainProperties class.
Method Details
customHttpsParameters
public CustomDomainHttpsParameters customHttpsParameters()
Get the customHttpsParameters property: Certificate parameters for securing custom HTTPS.
Returns:
customHttpsProvisioningState
public CustomHttpsProvisioningState customHttpsProvisioningState()
Get the customHttpsProvisioningState property: Provisioning status of the custom domain.
Returns:
customHttpsProvisioningSubstate
public CustomHttpsProvisioningSubstate customHttpsProvisioningSubstate()
Get the customHttpsProvisioningSubstate property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
Returns:
fromJson
public static CustomDomainProperties fromJson(JsonReader jsonReader)
Reads an instance of CustomDomainProperties from the JsonReader.
Parameters:
Returns:
Throws:
hostname
public String hostname()
Get the hostname property: The host name of the custom domain. Must be a domain name.
Returns:
provisioningState
public CustomHttpsProvisioningState provisioningState()
Get the provisioningState property: Provisioning status of Custom Https of the custom domain.
Returns:
resourceState
public CustomDomainResourceState resourceState()
Get the resourceState property: Resource status of the custom domain.
Returns:
toJson
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:
withCustomHttpsParameters
public CustomDomainProperties withCustomHttpsParameters(CustomDomainHttpsParameters customHttpsParameters)
Set the customHttpsParameters property: Certificate parameters for securing custom HTTPS.
Parameters:
Returns:
withHostname
public CustomDomainProperties withHostname(String hostname)
Set the hostname property: The host name of the custom domain. Must be a domain name.
Parameters:
Returns:
withValidationData
public CustomDomainProperties 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:
Returns: