Class GetKeyVaultStatusResponseInner
java.lang.Object
com.azure.resourcemanager.netapp.fluent.models.GetKeyVaultStatusResponseInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<GetKeyVaultStatusResponseInner>
public final class GetKeyVaultStatusResponseInner
extends Object
implements com.azure.json.JsonSerializable<GetKeyVaultStatusResponseInner>
Result of getKeyVaultStatus with information about how volumes under NetApp account are encrypted.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GetKeyVaultStatusResponseInner class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of GetKeyVaultStatusResponseInner 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
-
GetKeyVaultStatusResponseInner
public GetKeyVaultStatusResponseInner()Creates an instance of GetKeyVaultStatusResponseInner 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 GetKeyVaultStatusResponseInner 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 GetKeyVaultStatusResponseInner 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 GetKeyVaultStatusResponseInner 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 GetKeyVaultStatusResponseInner 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 GetKeyVaultStatusResponseInner 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<GetKeyVaultStatusResponseInner>
- Throws:
IOException
-
fromJson
public static GetKeyVaultStatusResponseInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of GetKeyVaultStatusResponseInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of GetKeyVaultStatusResponseInner 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 GetKeyVaultStatusResponseInner.
-