Class SubvolumeProperties
- java.lang.Object
-
- com.azure.resourcemanager.netapp.fluent.models.SubvolumeProperties
-
public final class SubvolumeProperties extends Object
This represents path associated with the subvolume.
-
-
Constructor Summary
Constructors Constructor Description SubvolumeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
parentPath()
Get the parentPath property: name parent path to the subvolume.String
path()
Get the path property: path Path to the subvolume.String
provisioningState()
Get the provisioningState property: Azure lifecycle management.Long
size()
Get the size property: size Truncate subvolume to the provided size in bytes.void
validate()
Validates the instance.SubvolumeProperties
withParentPath(String parentPath)
Set the parentPath property: name parent path to the subvolume.SubvolumeProperties
withPath(String path)
Set the path property: path Path to the subvolume.SubvolumeProperties
withSize(Long size)
Set the size property: size Truncate subvolume to the provided size in bytes.
-
-
-
Method Detail
-
path
public String path()
Get the path property: path Path to the subvolume.- Returns:
- the path value.
-
withPath
public SubvolumeProperties withPath(String path)
Set the path property: path Path to the subvolume.- Parameters:
path
- the path value to set.- Returns:
- the SubvolumeProperties object itself.
-
size
public Long size()
Get the size property: size Truncate subvolume to the provided size in bytes.- Returns:
- the size value.
-
withSize
public SubvolumeProperties withSize(Long size)
Set the size property: size Truncate subvolume to the provided size in bytes.- Parameters:
size
- the size value to set.- Returns:
- the SubvolumeProperties object itself.
-
parentPath
public String parentPath()
Get the parentPath property: name parent path to the subvolume.- Returns:
- the parentPath value.
-
withParentPath
public SubvolumeProperties withParentPath(String parentPath)
Set the parentPath property: name parent path to the subvolume.- Parameters:
parentPath
- the parentPath value to set.- Returns:
- the SubvolumeProperties object itself.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Azure lifecycle management.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-