Dela via


CustomDomainInner Class

public final class CustomDomainInner
extends ProxyResource

Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com.

Constructor Summary

Constructor Description
CustomDomainInner()

Creates an instance of CustomDomainInner class.

Method Summary

Modifier and Type Method and Description
CustomDomainHttpsParameters customHttpsParameters()

Get the customHttpsParameters property: Certificate parameters for securing custom HTTPS.

CustomHttpsProvisioningState customHttpsProvisioningState()

Get the customHttpsProvisioningState property: Provisioning status of the custom domain.

CustomHttpsProvisioningSubstate customHttpsProvisioningSubstate()

Get the customHttpsProvisioningSubstate property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.

static CustomDomainInner fromJson(JsonReader jsonReader)

Reads an instance of CustomDomainInner from the JsonReader.

String hostname()

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

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

CustomHttpsProvisioningState provisioningState()

Get the provisioningState property: Provisioning status of Custom Https of the custom domain.

CustomDomainResourceState resourceState()

Get the resourceState property: Resource status of the custom domain.

SystemData systemData()

Get the systemData property: Read only system data.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

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.

CustomDomainInner withCustomHttpsParameters(CustomDomainHttpsParameters customHttpsParameters)

Set the customHttpsParameters property: Certificate parameters for securing custom HTTPS.

CustomDomainInner withHostname(String hostname)

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

CustomDomainInner 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 ProxyResource

Methods inherited from java.lang.Object

Constructor Details

CustomDomainInner

public CustomDomainInner()

Creates an instance of CustomDomainInner class.

Method Details

customHttpsParameters

public CustomDomainHttpsParameters customHttpsParameters()

Get the customHttpsParameters property: Certificate parameters for securing custom HTTPS.

Returns:

the customHttpsParameters value.

customHttpsProvisioningState

public CustomHttpsProvisioningState customHttpsProvisioningState()

Get the customHttpsProvisioningState property: Provisioning status of the custom domain.

Returns:

the customHttpsProvisioningState value.

customHttpsProvisioningSubstate

public CustomHttpsProvisioningSubstate customHttpsProvisioningSubstate()

Get the customHttpsProvisioningSubstate property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.

Returns:

the customHttpsProvisioningSubstate value.

fromJson

public static CustomDomainInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

hostname

public String hostname()

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

Returns:

the hostname value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

CustomDomainInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

CustomDomainInner.name()

Returns:

the name value.

provisioningState

public CustomHttpsProvisioningState provisioningState()

Get the provisioningState property: Provisioning status of Custom Https of the custom domain.

Returns:

the provisioningState value.

resourceState

public CustomDomainResourceState resourceState()

Get the resourceState property: Resource status of the custom domain.

Returns:

the resourceState value.

systemData

public SystemData systemData()

Get the systemData property: Read only system data.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CustomDomainInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

CustomDomainInner.type()

Returns:

the type 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.

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.

withHostname

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

withValidationData

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

Applies to