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.static CustomDomainInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CustomDomainInner from the JsonReader.hostname()Get the hostname property: The host name of the custom domain.id()Get the id property: Fully qualified resource Id for the resource.name()Get the name property: The name of the resource.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.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
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.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id 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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.ProxyResource- Throws:
IOException
-
fromJson
Reads an instance of CustomDomainInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of CustomDomainInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the CustomDomainInner.
-