@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemediationExecutionStep extends Object implements Serializable, Cloneable, StructuredPojo
Name of the step from the SSM document.
Constructor and Description |
---|
RemediationExecutionStep() |
Modifier and Type | Method and Description |
---|---|
RemediationExecutionStep |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
An error message if the step was interrupted during execution.
|
String |
getName()
The details of the step.
|
Date |
getStartTime()
The time when the step started.
|
String |
getState()
The valid status of the step.
|
Date |
getStopTime()
The time when the step stopped.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorMessage(String errorMessage)
An error message if the step was interrupted during execution.
|
void |
setName(String name)
The details of the step.
|
void |
setStartTime(Date startTime)
The time when the step started.
|
void |
setState(String state)
The valid status of the step.
|
void |
setStopTime(Date stopTime)
The time when the step stopped.
|
String |
toString()
Returns a string representation of this object.
|
RemediationExecutionStep |
withErrorMessage(String errorMessage)
An error message if the step was interrupted during execution.
|
RemediationExecutionStep |
withName(String name)
The details of the step.
|
RemediationExecutionStep |
withStartTime(Date startTime)
The time when the step started.
|
RemediationExecutionStep |
withState(RemediationExecutionStepState state)
The valid status of the step.
|
RemediationExecutionStep |
withState(String state)
The valid status of the step.
|
RemediationExecutionStep |
withStopTime(Date stopTime)
The time when the step stopped.
|
public void setName(String name)
The details of the step.
name
- The details of the step.public String getName()
The details of the step.
public RemediationExecutionStep withName(String name)
The details of the step.
name
- The details of the step.public void setState(String state)
The valid status of the step.
state
- The valid status of the step.RemediationExecutionStepState
public String getState()
The valid status of the step.
RemediationExecutionStepState
public RemediationExecutionStep withState(String state)
The valid status of the step.
state
- The valid status of the step.RemediationExecutionStepState
public RemediationExecutionStep withState(RemediationExecutionStepState state)
The valid status of the step.
state
- The valid status of the step.RemediationExecutionStepState
public void setErrorMessage(String errorMessage)
An error message if the step was interrupted during execution.
errorMessage
- An error message if the step was interrupted during execution.public String getErrorMessage()
An error message if the step was interrupted during execution.
public RemediationExecutionStep withErrorMessage(String errorMessage)
An error message if the step was interrupted during execution.
errorMessage
- An error message if the step was interrupted during execution.public void setStartTime(Date startTime)
The time when the step started.
startTime
- The time when the step started.public Date getStartTime()
The time when the step started.
public RemediationExecutionStep withStartTime(Date startTime)
The time when the step started.
startTime
- The time when the step started.public void setStopTime(Date stopTime)
The time when the step stopped.
stopTime
- The time when the step stopped.public Date getStopTime()
The time when the step stopped.
public RemediationExecutionStep withStopTime(Date stopTime)
The time when the step stopped.
stopTime
- The time when the step stopped.public String toString()
toString
in class Object
Object.toString()
public RemediationExecutionStep clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.