Class VolumeGroupUpdate
java.lang.Object
com.azure.resourcemanager.elasticsan.models.VolumeGroupUpdate
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VolumeGroupUpdate>
public final class VolumeGroupUpdate
extends Object
implements com.azure.json.JsonSerializable<VolumeGroupUpdate>
Volume Group request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the deleteRetentionPolicy property: The retention policy for the soft deleted volume group and its associated resources.Get the encryption property: Type of encryption.Get the encryptionProperties property: Encryption Properties describing Key Vault and Identity information.Get the enforceDataIntegrityCheckForIscsi property: A boolean indicating whether or not Data Integrity Check is enabled.static VolumeGroupUpdate
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of VolumeGroupUpdate from the JsonReader.identity()
Get the identity property: The identity of the resource.Get the networkAcls property: A collection of rules governing the accessibility from specific network locations.Get the protocolType property: Type of storage target.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withDeleteRetentionPolicy
(DeleteRetentionPolicy deleteRetentionPolicy) Set the deleteRetentionPolicy property: The retention policy for the soft deleted volume group and its associated resources.withEncryption
(EncryptionType encryption) Set the encryption property: Type of encryption.withEncryptionProperties
(EncryptionProperties encryptionProperties) Set the encryptionProperties property: Encryption Properties describing Key Vault and Identity information.withEnforceDataIntegrityCheckForIscsi
(Boolean enforceDataIntegrityCheckForIscsi) Set the enforceDataIntegrityCheckForIscsi property: A boolean indicating whether or not Data Integrity Check is enabled.withIdentity
(Identity identity) Set the identity property: The identity of the resource.withNetworkAcls
(NetworkRuleSet networkAcls) Set the networkAcls property: A collection of rules governing the accessibility from specific network locations.withProtocolType
(StorageTargetType protocolType) Set the protocolType property: Type of storage target.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
-
VolumeGroupUpdate
public VolumeGroupUpdate()Creates an instance of VolumeGroupUpdate class.
-
-
Method Details
-
identity
Get the identity property: The identity of the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The identity of the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the VolumeGroupUpdate object itself.
-
protocolType
Get the protocolType property: Type of storage target.- Returns:
- the protocolType value.
-
withProtocolType
Set the protocolType property: Type of storage target.- Parameters:
protocolType
- the protocolType value to set.- Returns:
- the VolumeGroupUpdate object itself.
-
encryption
Get the encryption property: Type of encryption.- Returns:
- the encryption value.
-
withEncryption
Set the encryption property: Type of encryption.- Parameters:
encryption
- the encryption value to set.- Returns:
- the VolumeGroupUpdate object itself.
-
encryptionProperties
Get the encryptionProperties property: Encryption Properties describing Key Vault and Identity information.- Returns:
- the encryptionProperties value.
-
withEncryptionProperties
Set the encryptionProperties property: Encryption Properties describing Key Vault and Identity information.- Parameters:
encryptionProperties
- the encryptionProperties value to set.- Returns:
- the VolumeGroupUpdate object itself.
-
networkAcls
Get the networkAcls property: A collection of rules governing the accessibility from specific network locations.- Returns:
- the networkAcls value.
-
withNetworkAcls
Set the networkAcls property: A collection of rules governing the accessibility from specific network locations.- Parameters:
networkAcls
- the networkAcls value to set.- Returns:
- the VolumeGroupUpdate object itself.
-
enforceDataIntegrityCheckForIscsi
Get the enforceDataIntegrityCheckForIscsi property: A boolean indicating whether or not Data Integrity Check is enabled.- Returns:
- the enforceDataIntegrityCheckForIscsi value.
-
withEnforceDataIntegrityCheckForIscsi
public VolumeGroupUpdate 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 VolumeGroupUpdate object itself.
-
deleteRetentionPolicy
Get the deleteRetentionPolicy property: The retention policy for the soft deleted volume group and its associated resources.- Returns:
- the deleteRetentionPolicy value.
-
withDeleteRetentionPolicy
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 VolumeGroupUpdate 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<VolumeGroupUpdate>
- Throws:
IOException
-
fromJson
Reads an instance of VolumeGroupUpdate from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of VolumeGroupUpdate 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 VolumeGroupUpdate.
-