Class VolumeGroupProperties

java.lang.Object
com.azure.resourcemanager.elasticsan.fluent.models.VolumeGroupProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<VolumeGroupProperties>

public final class VolumeGroupProperties extends Object implements com.azure.json.JsonSerializable<VolumeGroupProperties>
VolumeGroup response properties.
  • Constructor Details

    • VolumeGroupProperties

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

    • provisioningState

      public ProvisioningStates provisioningState()
      Get the provisioningState property: State of the operation on the resource.
      Returns:
      the provisioningState value.
    • protocolType

      public StorageTargetType protocolType()
      Get the protocolType property: Type of storage target.
      Returns:
      the protocolType value.
    • withProtocolType

      public VolumeGroupProperties withProtocolType(StorageTargetType protocolType)
      Set the protocolType property: Type of storage target.
      Parameters:
      protocolType - the protocolType value to set.
      Returns:
      the VolumeGroupProperties object itself.
    • encryption

      public EncryptionType encryption()
      Get the encryption property: Type of encryption.
      Returns:
      the encryption value.
    • withEncryption

      public VolumeGroupProperties withEncryption(EncryptionType encryption)
      Set the encryption property: Type of encryption.
      Parameters:
      encryption - the encryption value to set.
      Returns:
      the VolumeGroupProperties object itself.
    • encryptionProperties

      public EncryptionProperties encryptionProperties()
      Get the encryptionProperties property: Encryption Properties describing Key Vault and Identity information.
      Returns:
      the encryptionProperties value.
    • withEncryptionProperties

      public VolumeGroupProperties withEncryptionProperties(EncryptionProperties encryptionProperties)
      Set the encryptionProperties property: Encryption Properties describing Key Vault and Identity information.
      Parameters:
      encryptionProperties - the encryptionProperties value to set.
      Returns:
      the VolumeGroupProperties object itself.
    • networkAcls

      public NetworkRuleSet networkAcls()
      Get the networkAcls property: A collection of rules governing the accessibility from specific network locations.
      Returns:
      the networkAcls value.
    • withNetworkAcls

      public VolumeGroupProperties withNetworkAcls(NetworkRuleSet networkAcls)
      Set the networkAcls property: A collection of rules governing the accessibility from specific network locations.
      Parameters:
      networkAcls - the networkAcls value to set.
      Returns:
      the VolumeGroupProperties object itself.
    • privateEndpointConnections

      public List<PrivateEndpointConnectionInner> privateEndpointConnections()
      Get the privateEndpointConnections property: The list of Private Endpoint Connections.
      Returns:
      the privateEndpointConnections value.
    • enforceDataIntegrityCheckForIscsi

      public Boolean enforceDataIntegrityCheckForIscsi()
      Get the enforceDataIntegrityCheckForIscsi property: A boolean indicating whether or not Data Integrity Check is enabled.
      Returns:
      the enforceDataIntegrityCheckForIscsi value.
    • withEnforceDataIntegrityCheckForIscsi

      public VolumeGroupProperties withEnforceDataIntegrityCheckForIscsi(Boolean enforceDataIntegrityCheckForIscsi)
      Set the enforceDataIntegrityCheckForIscsi property: A boolean indicating whether or not Data Integrity Check is enabled.
      Parameters:
      enforceDataIntegrityCheckForIscsi - the enforceDataIntegrityCheckForIscsi value to set.
      Returns:
      the VolumeGroupProperties object itself.
    • deleteRetentionPolicy

      public DeleteRetentionPolicy deleteRetentionPolicy()
      Get the deleteRetentionPolicy property: The retention policy for the soft deleted volume group and its associated resources.
      Returns:
      the deleteRetentionPolicy value.
    • withDeleteRetentionPolicy

      public VolumeGroupProperties withDeleteRetentionPolicy(DeleteRetentionPolicy deleteRetentionPolicy)
      Set the deleteRetentionPolicy property: The retention policy for the soft deleted volume group and its associated resources.
      Parameters:
      deleteRetentionPolicy - the deleteRetentionPolicy value to set.
      Returns:
      the VolumeGroupProperties 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<VolumeGroupProperties>
      Throws:
      IOException
    • fromJson

      public static VolumeGroupProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of VolumeGroupProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of VolumeGroupProperties 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 VolumeGroupProperties.