Class SubvolumeModelInner
java.lang.Object
com.azure.resourcemanager.netapp.fluent.models.SubvolumeModelInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SubvolumeModelInner>
public final class SubvolumeModelInner
extends Object
implements com.azure.json.JsonSerializable<SubvolumeModelInner>
Result of the post subvolume and action is to get metadata of the subvolume.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the accessedTimestamp property: Most recent access time and date.Get the bytesUsed property: Bytes used.Get the changedTimestamp property: Most recent change time and date.Get the creationTimestamp property: Creation time and date.static SubvolumeModelInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SubvolumeModelInner from the JsonReader.id()Get the id property: Resource Id.Get the modifiedTimestamp property: Most recent modification time and date.name()Get the name property: Resource name.Get the parentPath property: Path to the parent subvolume.path()Get the path property: Path to the subvolume.Get the permissions property: Permissions of the subvolume.Get the provisioningState property: Azure lifecycle management.size()Get the size property: Size of subvolume.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Resource type.voidvalidate()Validates the instance.withAccessedTimestamp(OffsetDateTime accessedTimestamp) Set the accessedTimestamp property: Most recent access time and date.withBytesUsed(Long bytesUsed) Set the bytesUsed property: Bytes used.withChangedTimestamp(OffsetDateTime changedTimestamp) Set the changedTimestamp property: Most recent change time and date.withCreationTimestamp(OffsetDateTime creationTimestamp) Set the creationTimestamp property: Creation time and date.withModifiedTimestamp(OffsetDateTime modifiedTimestamp) Set the modifiedTimestamp property: Most recent modification time and date.withParentPath(String parentPath) Set the parentPath property: Path to the parent subvolume.Set the path property: Path to the subvolume.withPermissions(String permissions) Set the permissions property: Permissions of the subvolume.withProvisioningState(String provisioningState) Set the provisioningState property: Azure lifecycle management.Set the size property: Size of subvolume.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SubvolumeModelInner
public SubvolumeModelInner()Creates an instance of SubvolumeModelInner class.
-
-
Method Details
-
id
Get the id property: Resource Id.- Returns:
- the id value.
-
name
Get the name property: Resource name.- Returns:
- the name value.
-
type
Get the type property: Resource type.- Returns:
- the type value.
-
path
Get the path property: Path to the subvolume.- Returns:
- the path value.
-
withPath
Set the path property: Path to the subvolume.- Parameters:
path- the path value to set.- Returns:
- the SubvolumeModelInner object itself.
-
parentPath
Get the parentPath property: Path to the parent subvolume.- Returns:
- the parentPath value.
-
withParentPath
Set the parentPath property: Path to the parent subvolume.- Parameters:
parentPath- the parentPath value to set.- Returns:
- the SubvolumeModelInner object itself.
-
size
Get the size property: Size of subvolume.- Returns:
- the size value.
-
withSize
Set the size property: Size of subvolume.- Parameters:
size- the size value to set.- Returns:
- the SubvolumeModelInner object itself.
-
bytesUsed
Get the bytesUsed property: Bytes used.- Returns:
- the bytesUsed value.
-
withBytesUsed
Set the bytesUsed property: Bytes used.- Parameters:
bytesUsed- the bytesUsed value to set.- Returns:
- the SubvolumeModelInner object itself.
-
permissions
Get the permissions property: Permissions of the subvolume.- Returns:
- the permissions value.
-
withPermissions
Set the permissions property: Permissions of the subvolume.- Parameters:
permissions- the permissions value to set.- Returns:
- the SubvolumeModelInner object itself.
-
creationTimestamp
Get the creationTimestamp property: Creation time and date.- Returns:
- the creationTimestamp value.
-
withCreationTimestamp
Set the creationTimestamp property: Creation time and date.- Parameters:
creationTimestamp- the creationTimestamp value to set.- Returns:
- the SubvolumeModelInner object itself.
-
accessedTimestamp
Get the accessedTimestamp property: Most recent access time and date.- Returns:
- the accessedTimestamp value.
-
withAccessedTimestamp
Set the accessedTimestamp property: Most recent access time and date.- Parameters:
accessedTimestamp- the accessedTimestamp value to set.- Returns:
- the SubvolumeModelInner object itself.
-
modifiedTimestamp
Get the modifiedTimestamp property: Most recent modification time and date.- Returns:
- the modifiedTimestamp value.
-
withModifiedTimestamp
Set the modifiedTimestamp property: Most recent modification time and date.- Parameters:
modifiedTimestamp- the modifiedTimestamp value to set.- Returns:
- the SubvolumeModelInner object itself.
-
changedTimestamp
Get the changedTimestamp property: Most recent change time and date.- Returns:
- the changedTimestamp value.
-
withChangedTimestamp
Set the changedTimestamp property: Most recent change time and date.- Parameters:
changedTimestamp- the changedTimestamp value to set.- Returns:
- the SubvolumeModelInner object itself.
-
provisioningState
Get the provisioningState property: Azure lifecycle management.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: Azure lifecycle management.- Parameters:
provisioningState- the provisioningState value to set.- Returns:
- the SubvolumeModelInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SubvolumeModelInner>- Throws:
IOException
-
fromJson
Reads an instance of SubvolumeModelInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SubvolumeModelInner 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 SubvolumeModelInner.
-