@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Snapshot extends Object implements Serializable, Cloneable, StructuredPojo
A snapshot of an Amazon FSx for OpenZFS volume.
Constructor and Description |
---|
Snapshot() |
Modifier and Type | Method and Description |
---|---|
Snapshot |
clone() |
boolean |
equals(Object obj) |
List<AdministrativeAction> |
getAdministrativeActions()
A list of administrative actions for the file system that are in process or waiting to be processed.
|
Date |
getCreationTime() |
String |
getLifecycle()
The lifecycle status of the snapshot.
|
LifecycleTransitionReason |
getLifecycleTransitionReason() |
String |
getName()
The name of the snapshot.
|
String |
getResourceARN() |
String |
getSnapshotId()
The ID of the snapshot.
|
List<Tag> |
getTags() |
String |
getVolumeId()
The ID of the volume that the snapshot is of.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdministrativeActions(Collection<AdministrativeAction> administrativeActions)
A list of administrative actions for the file system that are in process or waiting to be processed.
|
void |
setCreationTime(Date creationTime) |
void |
setLifecycle(String lifecycle)
The lifecycle status of the snapshot.
|
void |
setLifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason) |
void |
setName(String name)
The name of the snapshot.
|
void |
setResourceARN(String resourceARN) |
void |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
void |
setTags(Collection<Tag> tags) |
void |
setVolumeId(String volumeId)
The ID of the volume that the snapshot is of.
|
String |
toString()
Returns a string representation of this object.
|
Snapshot |
withAdministrativeActions(AdministrativeAction... administrativeActions)
A list of administrative actions for the file system that are in process or waiting to be processed.
|
Snapshot |
withAdministrativeActions(Collection<AdministrativeAction> administrativeActions)
A list of administrative actions for the file system that are in process or waiting to be processed.
|
Snapshot |
withCreationTime(Date creationTime) |
Snapshot |
withLifecycle(SnapshotLifecycle lifecycle)
The lifecycle status of the snapshot.
|
Snapshot |
withLifecycle(String lifecycle)
The lifecycle status of the snapshot.
|
Snapshot |
withLifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason) |
Snapshot |
withName(String name)
The name of the snapshot.
|
Snapshot |
withResourceARN(String resourceARN) |
Snapshot |
withSnapshotId(String snapshotId)
The ID of the snapshot.
|
Snapshot |
withTags(Collection<Tag> tags) |
Snapshot |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
Snapshot |
withVolumeId(String volumeId)
The ID of the volume that the snapshot is of.
|
public void setResourceARN(String resourceARN)
resourceARN
- public String getResourceARN()
public Snapshot withResourceARN(String resourceARN)
resourceARN
- public void setSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public String getSnapshotId()
The ID of the snapshot.
public Snapshot withSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public void setName(String name)
The name of the snapshot.
name
- The name of the snapshot.public String getName()
The name of the snapshot.
public Snapshot withName(String name)
The name of the snapshot.
name
- The name of the snapshot.public void setVolumeId(String volumeId)
The ID of the volume that the snapshot is of.
volumeId
- The ID of the volume that the snapshot is of.public String getVolumeId()
The ID of the volume that the snapshot is of.
public Snapshot withVolumeId(String volumeId)
The ID of the volume that the snapshot is of.
volumeId
- The ID of the volume that the snapshot is of.public void setCreationTime(Date creationTime)
creationTime
- public Date getCreationTime()
public Snapshot withCreationTime(Date creationTime)
creationTime
- public void setLifecycle(String lifecycle)
The lifecycle status of the snapshot.
PENDING
- Amazon FSx hasn't started creating the snapshot.
CREATING
- Amazon FSx is creating the snapshot.
DELETING
- Amazon FSx is deleting the snapshot.
AVAILABLE
- The snapshot is fully available.
lifecycle
- The lifecycle status of the snapshot.
PENDING
- Amazon FSx hasn't started creating the snapshot.
CREATING
- Amazon FSx is creating the snapshot.
DELETING
- Amazon FSx is deleting the snapshot.
AVAILABLE
- The snapshot is fully available.
SnapshotLifecycle
public String getLifecycle()
The lifecycle status of the snapshot.
PENDING
- Amazon FSx hasn't started creating the snapshot.
CREATING
- Amazon FSx is creating the snapshot.
DELETING
- Amazon FSx is deleting the snapshot.
AVAILABLE
- The snapshot is fully available.
PENDING
- Amazon FSx hasn't started creating the snapshot.
CREATING
- Amazon FSx is creating the snapshot.
DELETING
- Amazon FSx is deleting the snapshot.
AVAILABLE
- The snapshot is fully available.
SnapshotLifecycle
public Snapshot withLifecycle(String lifecycle)
The lifecycle status of the snapshot.
PENDING
- Amazon FSx hasn't started creating the snapshot.
CREATING
- Amazon FSx is creating the snapshot.
DELETING
- Amazon FSx is deleting the snapshot.
AVAILABLE
- The snapshot is fully available.
lifecycle
- The lifecycle status of the snapshot.
PENDING
- Amazon FSx hasn't started creating the snapshot.
CREATING
- Amazon FSx is creating the snapshot.
DELETING
- Amazon FSx is deleting the snapshot.
AVAILABLE
- The snapshot is fully available.
SnapshotLifecycle
public Snapshot withLifecycle(SnapshotLifecycle lifecycle)
The lifecycle status of the snapshot.
PENDING
- Amazon FSx hasn't started creating the snapshot.
CREATING
- Amazon FSx is creating the snapshot.
DELETING
- Amazon FSx is deleting the snapshot.
AVAILABLE
- The snapshot is fully available.
lifecycle
- The lifecycle status of the snapshot.
PENDING
- Amazon FSx hasn't started creating the snapshot.
CREATING
- Amazon FSx is creating the snapshot.
DELETING
- Amazon FSx is deleting the snapshot.
AVAILABLE
- The snapshot is fully available.
SnapshotLifecycle
public void setLifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)
lifecycleTransitionReason
- public LifecycleTransitionReason getLifecycleTransitionReason()
public Snapshot withLifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)
lifecycleTransitionReason
- public void setTags(Collection<Tag> tags)
tags
- public Snapshot withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- public Snapshot withTags(Collection<Tag> tags)
tags
- public List<AdministrativeAction> getAdministrativeActions()
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
public void setAdministrativeActions(Collection<AdministrativeAction> administrativeActions)
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
administrativeActions
- A list of administrative actions for the file system that are in process or waiting to be processed.
Administrative actions describe changes to the Amazon FSx system.public Snapshot withAdministrativeActions(AdministrativeAction... administrativeActions)
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
NOTE: This method appends the values to the existing list (if any). Use
setAdministrativeActions(java.util.Collection)
or
withAdministrativeActions(java.util.Collection)
if you want to override the existing values.
administrativeActions
- A list of administrative actions for the file system that are in process or waiting to be processed.
Administrative actions describe changes to the Amazon FSx system.public Snapshot withAdministrativeActions(Collection<AdministrativeAction> administrativeActions)
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system.
administrativeActions
- A list of administrative actions for the file system that are in process or waiting to be processed.
Administrative actions describe changes to the Amazon FSx system.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.