CustomDomainInner Class

public final class CustomDomainInner
extends ProxyResource

A custom domain.

Constructor Summary

Constructor Description
CustomDomainInner()

Creates an instance of CustomDomainInner class.

Method Summary

Modifier and Type Method and Description
ResourceReference customCertificate()

Get the customCertificate property: Reference to a resource.

String domainName()

Get the domainName property: The custom domain name.

static CustomDomainInner fromJson(JsonReader jsonReader)

Reads an instance of CustomDomainInner from the JsonReader.

String id()

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

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

CustomDomainInner withCustomCertificate(ResourceReference customCertificate)

Set the customCertificate property: Reference to a resource.

CustomDomainInner withDomainName(String domainName)

Set the domainName property: The custom domain name.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

CustomDomainInner

public CustomDomainInner()

Creates an instance of CustomDomainInner class.

Method Details

customCertificate

public ResourceReference customCertificate()

Get the customCertificate property: Reference to a resource.

Returns:

the customCertificate value.

domainName

public String domainName()

Get the domainName property: The custom domain name.

Returns:

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

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 ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

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.

withCustomCertificate

public CustomDomainInner withCustomCertificate(ResourceReference customCertificate)

Set the customCertificate property: Reference to a resource.

Parameters:

customCertificate - the customCertificate value to set.

Returns:

the CustomDomainInner object itself.

withDomainName

public CustomDomainInner withDomainName(String domainName)

Set the domainName property: The custom domain name.

Parameters:

domainName - the domainName value to set.

Returns:

the CustomDomainInner object itself.

Applies to