@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecycleExecutionSnapshotResource extends Object implements Serializable, Cloneable, StructuredPojo
Contains the state of an impacted snapshot resource that the runtime instance of the lifecycle policy identified for action.
Constructor and Description |
---|
LifecycleExecutionSnapshotResource() |
Modifier and Type | Method and Description |
---|---|
LifecycleExecutionSnapshotResource |
clone() |
boolean |
equals(Object obj) |
String |
getSnapshotId()
Identifies the impacted snapshot resource.
|
LifecycleExecutionResourceState |
getState()
The runtime status of the lifecycle action taken for the snapshot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSnapshotId(String snapshotId)
Identifies the impacted snapshot resource.
|
void |
setState(LifecycleExecutionResourceState state)
The runtime status of the lifecycle action taken for the snapshot.
|
String |
toString()
Returns a string representation of this object.
|
LifecycleExecutionSnapshotResource |
withSnapshotId(String snapshotId)
Identifies the impacted snapshot resource.
|
LifecycleExecutionSnapshotResource |
withState(LifecycleExecutionResourceState state)
The runtime status of the lifecycle action taken for the snapshot.
|
public void setSnapshotId(String snapshotId)
Identifies the impacted snapshot resource.
snapshotId
- Identifies the impacted snapshot resource.public String getSnapshotId()
Identifies the impacted snapshot resource.
public LifecycleExecutionSnapshotResource withSnapshotId(String snapshotId)
Identifies the impacted snapshot resource.
snapshotId
- Identifies the impacted snapshot resource.public void setState(LifecycleExecutionResourceState state)
The runtime status of the lifecycle action taken for the snapshot.
state
- The runtime status of the lifecycle action taken for the snapshot.public LifecycleExecutionResourceState getState()
The runtime status of the lifecycle action taken for the snapshot.
public LifecycleExecutionSnapshotResource withState(LifecycleExecutionResourceState state)
The runtime status of the lifecycle action taken for the snapshot.
state
- The runtime status of the lifecycle action taken for the snapshot.public String toString()
toString
in class Object
Object.toString()
public LifecycleExecutionSnapshotResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.