Class VolumeGroupDetailsInner
- java.lang.Object
-
- com.azure.resourcemanager.netapp.fluent.models.VolumeGroupDetailsInner
-
public final class VolumeGroupDetailsInner extends Object
Volume group resource for create.
-
-
Constructor Summary
Constructors Constructor Description VolumeGroupDetailsInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeGroupMetadata
groupMetadata()
Get the groupMetadata property: Volume group details.String
id()
Get the id property: Resource Id.String
location()
Get the location property: Resource location.String
name()
Get the name property: Resource name.String
provisioningState()
Get the provisioningState property: Azure lifecycle management.Map<String,String>
tags()
Get the tags property: Resource tags.String
type()
Get the type property: Resource type.void
validate()
Validates the instance.List<VolumeGroupVolumeProperties>
volumes()
Get the volumes property: List of volumes from group.VolumeGroupDetailsInner
withGroupMetadata(VolumeGroupMetadata groupMetadata)
Set the groupMetadata property: Volume group details.VolumeGroupDetailsInner
withLocation(String location)
Set the location property: Resource location.VolumeGroupDetailsInner
withTags(Map<String,String> tags)
Set the tags property: Resource tags.VolumeGroupDetailsInner
withVolumes(List<VolumeGroupVolumeProperties> volumes)
Set the volumes property: List of volumes from group.
-
-
-
Method Detail
-
location
public String location()
Get the location property: Resource location.- Returns:
- the location value.
-
withLocation
public VolumeGroupDetailsInner withLocation(String location)
Set the location property: Resource location.- Parameters:
location
- the location value to set.- Returns:
- the VolumeGroupDetailsInner 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.
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
public VolumeGroupDetailsInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the VolumeGroupDetailsInner object itself.
-
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 VolumeGroupDetailsInner withGroupMetadata(VolumeGroupMetadata groupMetadata)
Set the groupMetadata property: Volume group details.- Parameters:
groupMetadata
- the groupMetadata value to set.- Returns:
- the VolumeGroupDetailsInner object itself.
-
volumes
public List<VolumeGroupVolumeProperties> volumes()
Get the volumes property: List of volumes from group.- Returns:
- the volumes value.
-
withVolumes
public VolumeGroupDetailsInner withVolumes(List<VolumeGroupVolumeProperties> volumes)
Set the volumes property: List of volumes from group.- Parameters:
volumes
- the volumes value to set.- Returns:
- the VolumeGroupDetailsInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-