ApiPortalCustomDomainProperties Class

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

Implements

public final class ApiPortalCustomDomainProperties
implements JsonSerializable<ApiPortalCustomDomainProperties>

The properties of custom domain for API portal.

Constructor Summary

Constructor Description
ApiPortalCustomDomainProperties()

Creates an instance of ApiPortalCustomDomainProperties class.

Method Summary

Modifier and Type Method and Description
static ApiPortalCustomDomainProperties fromJson(JsonReader jsonReader)

Reads an instance of ApiPortalCustomDomainProperties from the JsonReader.

String thumbprint()

Get the thumbprint property: The thumbprint of bound certificate.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApiPortalCustomDomainProperties withThumbprint(String thumbprint)

Set the thumbprint property: The thumbprint of bound certificate.

Methods inherited from java.lang.Object

Constructor Details

ApiPortalCustomDomainProperties

public ApiPortalCustomDomainProperties()

Creates an instance of ApiPortalCustomDomainProperties class.

Method Details

fromJson

public static ApiPortalCustomDomainProperties fromJson(JsonReader jsonReader)

Reads an instance of ApiPortalCustomDomainProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApiPortalCustomDomainProperties 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 ApiPortalCustomDomainProperties.

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.

withThumbprint

public ApiPortalCustomDomainProperties withThumbprint(String thumbprint)

Set the thumbprint property: The thumbprint of bound certificate.

Parameters:

thumbprint - the thumbprint value to set.

Returns:

the ApiPortalCustomDomainProperties object itself.

Applies to