@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssessmentRunStateChange extends Object implements Serializable, Cloneable, StructuredPojo
Used as one of the elements of the AssessmentRun data type.
Constructor and Description |
---|
AssessmentRunStateChange() |
Modifier and Type | Method and Description |
---|---|
AssessmentRunStateChange |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The assessment run state.
|
Date |
getStateChangedAt()
The last time the assessment run state changed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setState(AssessmentRunState state)
The assessment run state.
|
void |
setState(String state)
The assessment run state.
|
void |
setStateChangedAt(Date stateChangedAt)
The last time the assessment run state changed.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AssessmentRunStateChange |
withState(AssessmentRunState state)
The assessment run state.
|
AssessmentRunStateChange |
withState(String state)
The assessment run state.
|
AssessmentRunStateChange |
withStateChangedAt(Date stateChangedAt)
The last time the assessment run state changed.
|
public void setStateChangedAt(Date stateChangedAt)
The last time the assessment run state changed.
stateChangedAt
- The last time the assessment run state changed.public Date getStateChangedAt()
The last time the assessment run state changed.
public AssessmentRunStateChange withStateChangedAt(Date stateChangedAt)
The last time the assessment run state changed.
stateChangedAt
- The last time the assessment run state changed.public void setState(String state)
The assessment run state.
state
- The assessment run state.AssessmentRunState
public String getState()
The assessment run state.
AssessmentRunState
public AssessmentRunStateChange withState(String state)
The assessment run state.
state
- The assessment run state.AssessmentRunState
public void setState(AssessmentRunState state)
The assessment run state.
state
- The assessment run state.AssessmentRunState
public AssessmentRunStateChange withState(AssessmentRunState state)
The assessment run state.
state
- The assessment run state.AssessmentRunState
public String toString()
toString
in class Object
Object.toString()
public AssessmentRunStateChange 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.