Class SnapshotInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.netapp.fluent.models.SnapshotInner
-
public final class SnapshotInner extends com.azure.core.management.ProxyResource
Snapshot of a Volume.
-
-
Constructor Summary
Constructors Constructor Description SnapshotInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
created()
Get the created property: name The creation date of the snapshot.String
location()
Get the location property: Resource location.String
provisioningState()
Get the provisioningState property: Azure lifecycle management.String
snapshotId()
Get the snapshotId property: snapshotId UUID v4 used to identify the Snapshot.void
validate()
Validates the instance.SnapshotInner
withLocation(String location)
Set the location property: Resource location.
-
-
-
Method Detail
-
location
public String location()
Get the location property: Resource location.- Returns:
- the location value.
-
withLocation
public SnapshotInner withLocation(String location)
Set the location property: Resource location.- Parameters:
location
- the location value to set.- Returns:
- the SnapshotInner object itself.
-
snapshotId
public String snapshotId()
Get the snapshotId property: snapshotId UUID v4 used to identify the Snapshot.- Returns:
- the snapshotId value.
-
created
public OffsetDateTime created()
Get the created property: name The creation date of the snapshot.- Returns:
- the created value.
-
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.
-
-