Class SubvolumePatchParams
- java.lang.Object
-
- com.azure.resourcemanager.netapp.fluent.models.SubvolumePatchParams
-
public final class SubvolumePatchParams extends Object
Parameters with which a subvolume can be updated.
-
-
Constructor Summary
Constructors Constructor Description SubvolumePatchParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
path()
Get the path property: path path to the subvolume.Long
size()
Get the size property: size Truncate subvolume to the provided size in bytes.void
validate()
Validates the instance.SubvolumePatchParams
withPath(String path)
Set the path property: path path to the subvolume.SubvolumePatchParams
withSize(Long size)
Set the size property: size Truncate subvolume to the provided size in bytes.
-
-
-
Method Detail
-
size
public Long size()
Get the size property: size Truncate subvolume to the provided size in bytes.- Returns:
- the size value.
-
withSize
public SubvolumePatchParams 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 SubvolumePatchParams object itself.
-
path
public String path()
Get the path property: path path to the subvolume.- Returns:
- the path value.
-
withPath
public SubvolumePatchParams withPath(String path)
Set the path property: path path to the subvolume.- Parameters:
path
- the path value to set.- Returns:
- the SubvolumePatchParams object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-