CustomDomainProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.CustomDomainProperties

Implements

public final class CustomDomainProperties
implements JsonSerializable<CustomDomainProperties>

Custom domain of app resource payload.

Constructor Summary

Constructor Description
CustomDomainProperties()

Creates an instance of CustomDomainProperties class.

Method Summary

Modifier and Type Method and Description
String appName()

Get the appName property: The app name of domain.

String certName()

Get the certName property: The bound certificate name of domain.

static CustomDomainProperties fromJson(JsonReader jsonReader)

Reads an instance of CustomDomainProperties from the JsonReader.

CustomDomainResourceProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Domain.

String thumbprint()

Get the thumbprint property: The thumbprint of bound certificate.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CustomDomainProperties withCertName(String certName)

Set the certName property: The bound certificate name of domain.

CustomDomainProperties withThumbprint(String thumbprint)

Set the thumbprint property: The thumbprint of bound certificate.

Methods inherited from java.lang.Object

Constructor Details

CustomDomainProperties

public CustomDomainProperties()

Creates an instance of CustomDomainProperties class.

Method Details

appName

public String appName()

Get the appName property: The app name of domain.

Returns:

the appName value.

certName

public String certName()

Get the certName property: The bound certificate name of domain.

Returns:

the certName value.

fromJson

public static CustomDomainProperties fromJson(JsonReader jsonReader)

Reads an instance of CustomDomainProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CustomDomainProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the CustomDomainProperties.

provisioningState

public CustomDomainResourceProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Domain.

Returns:

the provisioningState value.

thumbprint

public String thumbprint()

Get the thumbprint property: The thumbprint of bound certificate.

Returns:

the thumbprint value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCertName

public CustomDomainProperties withCertName(String certName)

Set the certName property: The bound certificate name of domain.

Parameters:

certName - the certName value to set.

Returns:

the CustomDomainProperties object itself.

withThumbprint

public CustomDomainProperties withThumbprint(String thumbprint)

Set the thumbprint property: The thumbprint of bound certificate.

Parameters:

thumbprint - the thumbprint value to set.

Returns:

the CustomDomainProperties object itself.

Applies to