ApplicationGatewayManagedHsm Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ApplicationGatewayManagedHsm

Implements

public final class ApplicationGatewayManagedHsm
implements JsonSerializable<ApplicationGatewayManagedHsm>

Managed HSM properties of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayManagedHsm()

Creates an instance of ApplicationGatewayManagedHsm class.

Method Summary

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

Reads an instance of ApplicationGatewayManagedHsm from the JsonReader.

String keyId()

Get the keyId property: Key identifier of a key stored in Managed HSM.

String publicCertData()

Get the publicCertData property: Base-64 encoded value of a base-64 public certificate.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayManagedHsm withKeyId(String keyId)

Set the keyId property: Key identifier of a key stored in Managed HSM.

ApplicationGatewayManagedHsm withPublicCertData(String publicCertData)

Set the publicCertData property: Base-64 encoded value of a base-64 public certificate.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayManagedHsm

public ApplicationGatewayManagedHsm()

Creates an instance of ApplicationGatewayManagedHsm class.

Method Details

fromJson

public static ApplicationGatewayManagedHsm fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayManagedHsm from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

keyId

public String keyId()

Get the keyId property: Key identifier of a key stored in Managed HSM.

Returns:

the keyId value.

publicCertData

public String publicCertData()

Get the publicCertData property: Base-64 encoded value of a base-64 public certificate.

Returns:

the publicCertData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withKeyId

public ApplicationGatewayManagedHsm withKeyId(String keyId)

Set the keyId property: Key identifier of a key stored in Managed HSM.

Parameters:

keyId - the keyId value to set.

Returns:

the ApplicationGatewayManagedHsm object itself.

withPublicCertData

public ApplicationGatewayManagedHsm withPublicCertData(String publicCertData)

Set the publicCertData property: Base-64 encoded value of a base-64 public certificate.

Parameters:

publicCertData - the publicCertData value to set.

Returns:

the ApplicationGatewayManagedHsm object itself.

Applies to