Class EncryptionTransitionRequest

java.lang.Object
com.azure.resourcemanager.netapp.models.EncryptionTransitionRequest
All Implemented Interfaces:
com.azure.json.JsonSerializable<EncryptionTransitionRequest>

public final class EncryptionTransitionRequest extends Object implements com.azure.json.JsonSerializable<EncryptionTransitionRequest>
Encryption transition request.
  • Constructor Details

    • EncryptionTransitionRequest

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

    • virtualNetworkId

      public String virtualNetworkId()
      Get the virtualNetworkId property: Identifier for the virtual network.
      Returns:
      the virtualNetworkId value.
    • withVirtualNetworkId

      public EncryptionTransitionRequest withVirtualNetworkId(String virtualNetworkId)
      Set the virtualNetworkId property: Identifier for the virtual network.
      Parameters:
      virtualNetworkId - the virtualNetworkId value to set.
      Returns:
      the EncryptionTransitionRequest object itself.
    • privateEndpointId

      public String privateEndpointId()
      Get the privateEndpointId property: Identifier of the private endpoint to reach the Azure Key Vault.
      Returns:
      the privateEndpointId value.
    • withPrivateEndpointId

      public EncryptionTransitionRequest withPrivateEndpointId(String privateEndpointId)
      Set the privateEndpointId property: Identifier of the private endpoint to reach the Azure Key Vault.
      Parameters:
      privateEndpointId - the privateEndpointId value to set.
      Returns:
      the EncryptionTransitionRequest 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<EncryptionTransitionRequest>
      Throws:
      IOException
    • fromJson

      public static EncryptionTransitionRequest fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of EncryptionTransitionRequest from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of EncryptionTransitionRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the EncryptionTransitionRequest.