Class VolumeGroupInner

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

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

    • VolumeGroupInner

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

    • location

      public String location()
      Get the location property: Resource location.
      Returns:
      the location value.
    • withLocation

      public VolumeGroupInner withLocation(String location)
      Set the location property: Resource location.
      Parameters:
      location - the location value to set.
      Returns:
      the VolumeGroupInner object itself.
    • id

      public String id()
      Get the id property: Resource Id.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: Resource name.
      Returns:
      the name value.
    • type

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

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