Class VolumeGroupUpdate

java.lang.Object
com.azure.resourcemanager.elasticsan.models.VolumeGroupUpdate

public final class VolumeGroupUpdate extends Object
Volume Group request.
  • Constructor Details

    • VolumeGroupUpdate

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

    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public VolumeGroupUpdate withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the VolumeGroupUpdate object itself.
    • protocolType

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

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

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

      public VolumeGroupUpdate withEncryption(EncryptionType encryption)
      Set the encryption property: Type of encryption.
      Parameters:
      encryption - the encryption value to set.
      Returns:
      the VolumeGroupUpdate 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 VolumeGroupUpdate 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 VolumeGroupUpdate object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.