Class VolumeGroupListProperties

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

public final class VolumeGroupListProperties extends Object implements com.azure.json.JsonSerializable<VolumeGroupListProperties>
Volume group properties.
  • Constructor Details

    • VolumeGroupListProperties

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

    • provisioningState

      public String provisioningState()
      Get the provisioningState property: Azure lifecycle management.
      Returns:
      the provisioningState value.
    • groupMetadata

      public VolumeGroupMetadata groupMetadata()
      Get the groupMetadata property: Volume group details.
      Returns:
      the groupMetadata value.
    • withGroupMetadata

      public VolumeGroupListProperties withGroupMetadata(VolumeGroupMetadata groupMetadata)
      Set the groupMetadata property: Volume group details.
      Parameters:
      groupMetadata - the groupMetadata value to set.
      Returns:
      the VolumeGroupListProperties 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<VolumeGroupListProperties>
      Throws:
      IOException
    • fromJson

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