@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemediationExecutionStatus extends Object implements Serializable, Cloneable, StructuredPojo
Provides details of the current status of the invoked remediation action for that resource.
Constructor and Description |
---|
RemediationExecutionStatus() |
Modifier and Type | Method and Description |
---|---|
RemediationExecutionStatus |
clone() |
boolean |
equals(Object obj) |
Date |
getInvocationTime()
Start time when the remediation was executed.
|
Date |
getLastUpdatedTime()
The time when the remediation execution was last updated.
|
ResourceKey |
getResourceKey() |
String |
getState()
ENUM of the values.
|
List<RemediationExecutionStep> |
getStepDetails()
Details of every step.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInvocationTime(Date invocationTime)
Start time when the remediation was executed.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The time when the remediation execution was last updated.
|
void |
setResourceKey(ResourceKey resourceKey) |
void |
setState(String state)
ENUM of the values.
|
void |
setStepDetails(Collection<RemediationExecutionStep> stepDetails)
Details of every step.
|
String |
toString()
Returns a string representation of this object.
|
RemediationExecutionStatus |
withInvocationTime(Date invocationTime)
Start time when the remediation was executed.
|
RemediationExecutionStatus |
withLastUpdatedTime(Date lastUpdatedTime)
The time when the remediation execution was last updated.
|
RemediationExecutionStatus |
withResourceKey(ResourceKey resourceKey) |
RemediationExecutionStatus |
withState(RemediationExecutionState state)
ENUM of the values.
|
RemediationExecutionStatus |
withState(String state)
ENUM of the values.
|
RemediationExecutionStatus |
withStepDetails(Collection<RemediationExecutionStep> stepDetails)
Details of every step.
|
RemediationExecutionStatus |
withStepDetails(RemediationExecutionStep... stepDetails)
Details of every step.
|
public void setResourceKey(ResourceKey resourceKey)
resourceKey
- public ResourceKey getResourceKey()
public RemediationExecutionStatus withResourceKey(ResourceKey resourceKey)
resourceKey
- public void setState(String state)
ENUM of the values.
state
- ENUM of the values.RemediationExecutionState
public String getState()
ENUM of the values.
RemediationExecutionState
public RemediationExecutionStatus withState(String state)
ENUM of the values.
state
- ENUM of the values.RemediationExecutionState
public RemediationExecutionStatus withState(RemediationExecutionState state)
ENUM of the values.
state
- ENUM of the values.RemediationExecutionState
public List<RemediationExecutionStep> getStepDetails()
Details of every step.
public void setStepDetails(Collection<RemediationExecutionStep> stepDetails)
Details of every step.
stepDetails
- Details of every step.public RemediationExecutionStatus withStepDetails(RemediationExecutionStep... stepDetails)
Details of every step.
NOTE: This method appends the values to the existing list (if any). Use
setStepDetails(java.util.Collection)
or withStepDetails(java.util.Collection)
if you want to
override the existing values.
stepDetails
- Details of every step.public RemediationExecutionStatus withStepDetails(Collection<RemediationExecutionStep> stepDetails)
Details of every step.
stepDetails
- Details of every step.public void setInvocationTime(Date invocationTime)
Start time when the remediation was executed.
invocationTime
- Start time when the remediation was executed.public Date getInvocationTime()
Start time when the remediation was executed.
public RemediationExecutionStatus withInvocationTime(Date invocationTime)
Start time when the remediation was executed.
invocationTime
- Start time when the remediation was executed.public void setLastUpdatedTime(Date lastUpdatedTime)
The time when the remediation execution was last updated.
lastUpdatedTime
- The time when the remediation execution was last updated.public Date getLastUpdatedTime()
The time when the remediation execution was last updated.
public RemediationExecutionStatus withLastUpdatedTime(Date lastUpdatedTime)
The time when the remediation execution was last updated.
lastUpdatedTime
- The time when the remediation execution was last updated.public String toString()
toString
in class Object
Object.toString()
public RemediationExecutionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.