AppServiceCertificateInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.AppServiceCertificateInner

Implements

public final class AppServiceCertificateInner
implements JsonSerializable<AppServiceCertificateInner>

Key Vault container for a certificate that is purchased through Azure.

Constructor Summary

Constructor Description
AppServiceCertificateInner()

Creates an instance of AppServiceCertificateInner class.

Method Summary

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

Reads an instance of AppServiceCertificateInner from the JsonReader.

String keyVaultId()

Get the keyVaultId property: Key Vault resource Id.

String keyVaultSecretName()

Get the keyVaultSecretName property: Key Vault secret name.

KeyVaultSecretStatus provisioningState()

Get the provisioningState property: Status of the Key Vault secret.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AppServiceCertificateInner withKeyVaultId(String keyVaultId)

Set the keyVaultId property: Key Vault resource Id.

AppServiceCertificateInner withKeyVaultSecretName(String keyVaultSecretName)

Set the keyVaultSecretName property: Key Vault secret name.

Methods inherited from java.lang.Object

Constructor Details

AppServiceCertificateInner

public AppServiceCertificateInner()

Creates an instance of AppServiceCertificateInner class.

Method Details

fromJson

public static AppServiceCertificateInner fromJson(JsonReader jsonReader)

Reads an instance of AppServiceCertificateInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

keyVaultId

public String keyVaultId()

Get the keyVaultId property: Key Vault resource Id.

Returns:

the keyVaultId value.

keyVaultSecretName

public String keyVaultSecretName()

Get the keyVaultSecretName property: Key Vault secret name.

Returns:

the keyVaultSecretName value.

provisioningState

public KeyVaultSecretStatus provisioningState()

Get the provisioningState property: Status of the Key Vault secret.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withKeyVaultId

public AppServiceCertificateInner withKeyVaultId(String keyVaultId)

Set the keyVaultId property: Key Vault resource Id.

Parameters:

keyVaultId - the keyVaultId value to set.

Returns:

the AppServiceCertificateInner object itself.

withKeyVaultSecretName

public AppServiceCertificateInner withKeyVaultSecretName(String keyVaultSecretName)

Set the keyVaultSecretName property: Key Vault secret name.

Parameters:

keyVaultSecretName - the keyVaultSecretName value to set.

Returns:

the AppServiceCertificateInner object itself.

Applies to