CustomCertificateInner Class

public final class CustomCertificateInner
extends ProxyResource

A custom certificate.

Constructor Summary

Constructor Description
CustomCertificateInner()

Creates an instance of CustomCertificateInner class.

Method Summary

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

Reads an instance of CustomCertificateInner from the JsonReader.

String id()

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

String keyVaultBaseUri()

Get the keyVaultBaseUri property: Base uri of the KeyVault that stores certificate.

String keyVaultSecretName()

Get the keyVaultSecretName property: Certificate secret name.

String keyVaultSecretVersion()

Get the keyVaultSecretVersion property: Certificate secret version.

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.

CustomCertificateInner withKeyVaultBaseUri(String keyVaultBaseUri)

Set the keyVaultBaseUri property: Base uri of the KeyVault that stores certificate.

CustomCertificateInner withKeyVaultSecretName(String keyVaultSecretName)

Set the keyVaultSecretName property: Certificate secret name.

CustomCertificateInner withKeyVaultSecretVersion(String keyVaultSecretVersion)

Set the keyVaultSecretVersion property: Certificate secret version.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

CustomCertificateInner

public CustomCertificateInner()

Creates an instance of CustomCertificateInner class.

Method Details

fromJson

public static CustomCertificateInner fromJson(JsonReader jsonReader)

Reads an instance of CustomCertificateInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CustomCertificateInner 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:

CustomCertificateInner.id()

Returns:

the id value.

keyVaultBaseUri

public String keyVaultBaseUri()

Get the keyVaultBaseUri property: Base uri of the KeyVault that stores certificate.

Returns:

the keyVaultBaseUri value.

keyVaultSecretName

public String keyVaultSecretName()

Get the keyVaultSecretName property: Certificate secret name.

Returns:

the keyVaultSecretName value.

keyVaultSecretVersion

public String keyVaultSecretVersion()

Get the keyVaultSecretVersion property: Certificate secret version.

Returns:

the keyVaultSecretVersion value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

CustomCertificateInner.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:

CustomCertificateInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

CustomCertificateInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withKeyVaultBaseUri

public CustomCertificateInner withKeyVaultBaseUri(String keyVaultBaseUri)

Set the keyVaultBaseUri property: Base uri of the KeyVault that stores certificate.

Parameters:

keyVaultBaseUri - the keyVaultBaseUri value to set.

Returns:

the CustomCertificateInner object itself.

withKeyVaultSecretName

public CustomCertificateInner withKeyVaultSecretName(String keyVaultSecretName)

Set the keyVaultSecretName property: Certificate secret name.

Parameters:

keyVaultSecretName - the keyVaultSecretName value to set.

Returns:

the CustomCertificateInner object itself.

withKeyVaultSecretVersion

public CustomCertificateInner withKeyVaultSecretVersion(String keyVaultSecretVersion)

Set the keyVaultSecretVersion property: Certificate secret version.

Parameters:

keyVaultSecretVersion - the keyVaultSecretVersion value to set.

Returns:

the CustomCertificateInner object itself.

Applies to