Class GetKeyVaultStatusResponseProperties
java.lang.Object
com.azure.resourcemanager.netapp.fluent.models.GetKeyVaultStatusResponseProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<GetKeyVaultStatusResponseProperties>
public final class GetKeyVaultStatusResponseProperties
extends Object
implements com.azure.json.JsonSerializable<GetKeyVaultStatusResponseProperties>
Properties which represents Change key vault status.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GetKeyVaultStatusResponseProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of GetKeyVaultStatusResponseProperties from the JsonReader.keyName()
Get the keyName property: The name of the key that should be used for encryption.Get the keyVaultPrivateEndpoints property: Pairs of virtual network ID and private endpoint ID.Get the keyVaultResourceId property: Azure resource ID of the key vault/managed HSM that should be used for encryption.Get the keyVaultUri property: The URI of the key vault/managed HSM that should be used for encryption.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withKeyName
(String keyName) Set the keyName property: The name of the key that should be used for encryption.withKeyVaultPrivateEndpoints
(List<KeyVaultPrivateEndpoint> keyVaultPrivateEndpoints) Set the keyVaultPrivateEndpoints property: Pairs of virtual network ID and private endpoint ID.withKeyVaultResourceId
(String keyVaultResourceId) Set the keyVaultResourceId property: Azure resource ID of the key vault/managed HSM that should be used for encryption.withKeyVaultUri
(String keyVaultUri) Set the keyVaultUri property: The URI of the key vault/managed HSM that should be used for encryption.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
GetKeyVaultStatusResponseProperties
public GetKeyVaultStatusResponseProperties()Creates an instance of GetKeyVaultStatusResponseProperties class.
-
-
Method Details
-
keyVaultUri
Get the keyVaultUri property: The URI of the key vault/managed HSM that should be used for encryption.- Returns:
- the keyVaultUri value.
-
withKeyVaultUri
Set the keyVaultUri property: The URI of the key vault/managed HSM that should be used for encryption.- Parameters:
keyVaultUri
- the keyVaultUri value to set.- Returns:
- the GetKeyVaultStatusResponseProperties object itself.
-
keyName
Get the keyName property: The name of the key that should be used for encryption.- Returns:
- the keyName value.
-
withKeyName
Set the keyName property: The name of the key that should be used for encryption.- Parameters:
keyName
- the keyName value to set.- Returns:
- the GetKeyVaultStatusResponseProperties object itself.
-
keyVaultResourceId
Get the keyVaultResourceId property: Azure resource ID of the key vault/managed HSM that should be used for encryption.- Returns:
- the keyVaultResourceId value.
-
withKeyVaultResourceId
Set the keyVaultResourceId property: Azure resource ID of the key vault/managed HSM that should be used for encryption.- Parameters:
keyVaultResourceId
- the keyVaultResourceId value to set.- Returns:
- the GetKeyVaultStatusResponseProperties object itself.
-
keyVaultPrivateEndpoints
Get the keyVaultPrivateEndpoints property: Pairs of virtual network ID and private endpoint ID. Every virtual network that has volumes encrypted with customer-managed keys needs its own key vault private endpoint.- Returns:
- the keyVaultPrivateEndpoints value.
-
withKeyVaultPrivateEndpoints
public GetKeyVaultStatusResponseProperties withKeyVaultPrivateEndpoints(List<KeyVaultPrivateEndpoint> keyVaultPrivateEndpoints) Set the keyVaultPrivateEndpoints property: Pairs of virtual network ID and private endpoint ID. Every virtual network that has volumes encrypted with customer-managed keys needs its own key vault private endpoint.- Parameters:
keyVaultPrivateEndpoints
- the keyVaultPrivateEndpoints value to set.- Returns:
- the GetKeyVaultStatusResponseProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<GetKeyVaultStatusResponseProperties>
- Throws:
IOException
-
fromJson
public static GetKeyVaultStatusResponseProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of GetKeyVaultStatusResponseProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of GetKeyVaultStatusResponseProperties 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 GetKeyVaultStatusResponseProperties.
-