@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LastUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Last update information for the environment.
Constructor and Description |
---|
LastUpdate() |
Modifier and Type | Method and Description |
---|---|
LastUpdate |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
Time that last update occurred.
|
UpdateError |
getError()
Error string of last update, if applicable.
|
String |
getStatus()
Status of last update of SUCCESS, FAILED, CREATING, DELETING.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
Time that last update occurred.
|
void |
setError(UpdateError error)
Error string of last update, if applicable.
|
void |
setStatus(String status)
Status of last update of SUCCESS, FAILED, CREATING, DELETING.
|
String |
toString()
Returns a string representation of this object.
|
LastUpdate |
withCreatedAt(Date createdAt)
Time that last update occurred.
|
LastUpdate |
withError(UpdateError error)
Error string of last update, if applicable.
|
LastUpdate |
withStatus(String status)
Status of last update of SUCCESS, FAILED, CREATING, DELETING.
|
LastUpdate |
withStatus(UpdateStatus status)
Status of last update of SUCCESS, FAILED, CREATING, DELETING.
|
public void setCreatedAt(Date createdAt)
Time that last update occurred.
createdAt
- Time that last update occurred.public Date getCreatedAt()
Time that last update occurred.
public LastUpdate withCreatedAt(Date createdAt)
Time that last update occurred.
createdAt
- Time that last update occurred.public void setError(UpdateError error)
Error string of last update, if applicable.
error
- Error string of last update, if applicable.public UpdateError getError()
Error string of last update, if applicable.
public LastUpdate withError(UpdateError error)
Error string of last update, if applicable.
error
- Error string of last update, if applicable.public void setStatus(String status)
Status of last update of SUCCESS, FAILED, CREATING, DELETING.
status
- Status of last update of SUCCESS, FAILED, CREATING, DELETING.UpdateStatus
public String getStatus()
Status of last update of SUCCESS, FAILED, CREATING, DELETING.
UpdateStatus
public LastUpdate withStatus(String status)
Status of last update of SUCCESS, FAILED, CREATING, DELETING.
status
- Status of last update of SUCCESS, FAILED, CREATING, DELETING.UpdateStatus
public LastUpdate withStatus(UpdateStatus status)
Status of last update of SUCCESS, FAILED, CREATING, DELETING.
status
- Status of last update of SUCCESS, FAILED, CREATING, DELETING.UpdateStatus
public String toString()
toString
in class Object
Object.toString()
public LastUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.