ApplicationGatewayTrustedRootCertificatePropertiesFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.ApplicationGatewayTrustedRootCertificatePropertiesFormat

Implements

public final class ApplicationGatewayTrustedRootCertificatePropertiesFormat
implements JsonSerializable<ApplicationGatewayTrustedRootCertificatePropertiesFormat>

Trusted Root certificates properties of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayTrustedRootCertificatePropertiesFormat()

Creates an instance of ApplicationGatewayTrustedRootCertificatePropertiesFormat class.

Method Summary

Modifier and Type Method and Description
String data()

Get the data property: Certificate public data.

static ApplicationGatewayTrustedRootCertificatePropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayTrustedRootCertificatePropertiesFormat from the JsonReader.

String keyVaultSecretId()

Get the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the trusted root certificate resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayTrustedRootCertificatePropertiesFormat withData(String data)

Set the data property: Certificate public data.

ApplicationGatewayTrustedRootCertificatePropertiesFormat withKeyVaultSecretId(String keyVaultSecretId)

Set the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayTrustedRootCertificatePropertiesFormat

public ApplicationGatewayTrustedRootCertificatePropertiesFormat()

Creates an instance of ApplicationGatewayTrustedRootCertificatePropertiesFormat class.

Method Details

data

public String data()

Get the data property: Certificate public data.

Returns:

the data value.

fromJson

public static ApplicationGatewayTrustedRootCertificatePropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayTrustedRootCertificatePropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

keyVaultSecretId

public String keyVaultSecretId()

Get the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.

Returns:

the keyVaultSecretId value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the trusted root certificate resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withData

public ApplicationGatewayTrustedRootCertificatePropertiesFormat withData(String data)

Set the data property: Certificate public data.

Parameters:

data - the data value to set.

Returns:

the ApplicationGatewayTrustedRootCertificatePropertiesFormat object itself.

withKeyVaultSecretId

public ApplicationGatewayTrustedRootCertificatePropertiesFormat withKeyVaultSecretId(String keyVaultSecretId)

Set the keyVaultSecretId property: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.

Parameters:

keyVaultSecretId - the keyVaultSecretId value to set.

Returns:

the ApplicationGatewayTrustedRootCertificatePropertiesFormat object itself.

Applies to