@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LastUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Describes the status of the last update on the environment, and any errors that were encountered.
Constructor and Description |
---|
LastUpdate() |
Modifier and Type | Method and Description |
---|---|
LastUpdate |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The day and time of the last update on the environment.
|
UpdateError |
getError()
The error that was encountered during the last update of the environment.
|
String |
getSource()
The source of the last update to the environment.
|
String |
getStatus()
The status of the last update on the environment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The day and time of the last update on the environment.
|
void |
setError(UpdateError error)
The error that was encountered during the last update of the environment.
|
void |
setSource(String source)
The source of the last update to the environment.
|
void |
setStatus(String status)
The status of the last update on the environment.
|
String |
toString()
Returns a string representation of this object.
|
LastUpdate |
withCreatedAt(Date createdAt)
The day and time of the last update on the environment.
|
LastUpdate |
withError(UpdateError error)
The error that was encountered during the last update of the environment.
|
LastUpdate |
withSource(String source)
The source of the last update to the environment.
|
LastUpdate |
withStatus(String status)
The status of the last update on the environment.
|
LastUpdate |
withStatus(UpdateStatus status)
The status of the last update on the environment.
|
public void setStatus(String status)
The status of the last update on the environment.
status
- The status of the last update on the environment.UpdateStatus
public String getStatus()
The status of the last update on the environment.
UpdateStatus
public LastUpdate withStatus(String status)
The status of the last update on the environment.
status
- The status of the last update on the environment.UpdateStatus
public LastUpdate withStatus(UpdateStatus status)
The status of the last update on the environment.
status
- The status of the last update on the environment.UpdateStatus
public void setCreatedAt(Date createdAt)
The day and time of the last update on the environment.
createdAt
- The day and time of the last update on the environment.public Date getCreatedAt()
The day and time of the last update on the environment.
public LastUpdate withCreatedAt(Date createdAt)
The day and time of the last update on the environment.
createdAt
- The day and time of the last update on the environment.public void setError(UpdateError error)
The error that was encountered during the last update of the environment.
error
- The error that was encountered during the last update of the environment.public UpdateError getError()
The error that was encountered during the last update of the environment.
public LastUpdate withError(UpdateError error)
The error that was encountered during the last update of the environment.
error
- The error that was encountered during the last update of the environment.public void setSource(String source)
The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.
source
- The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an
environment maintenance update.public String getSource()
The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.
public LastUpdate withSource(String source)
The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.
source
- The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an
environment maintenance update.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.