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 Details

    • GetKeyVaultStatusResponseInner

      public GetKeyVaultStatusResponseInner()
      Creates an instance of GetKeyVaultStatusResponseInner class.
  • Method Details

    • keyVaultUri

      public String keyVaultUri()
      Get the keyVaultUri property: The URI of the key vault/managed HSM that should be used for encryption.
      Returns:
      the keyVaultUri value.
    • withKeyVaultUri

      public GetKeyVaultStatusResponseInner withKeyVaultUri(String keyVaultUri)
      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

      public String keyName()
      Get the keyName property: The name of the key that should be used for encryption.
      Returns:
      the keyName value.
    • withKeyName

      public GetKeyVaultStatusResponseInner withKeyName(String keyName)
      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

      public String 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

      public GetKeyVaultStatusResponseInner withKeyVaultResourceId(String keyVaultResourceId)
      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

      public List<KeyVaultPrivateEndpoint> 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.