@Generated(value="software.amazon.awssdk:codegen") public final class LastUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LastUpdate.Builder,LastUpdate>
Describes the status of the last update on the environment, and any errors that were encountered.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LastUpdate.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LastUpdate.Builder |
builder() |
Instant |
createdAt()
The day and time of the last update on the environment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
UpdateError |
error()
The error that was encountered during the last update of the environment.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LastUpdate.Builder> |
serializableBuilderClass() |
String |
source()
The source of the last update to the environment.
|
UpdateStatus |
status()
The status of the last update on the environment.
|
String |
statusAsString()
The status of the last update on the environment.
|
LastUpdate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createdAt()
The day and time of the last update on the environment.
public final UpdateError error()
The error that was encountered during the last update of the environment.
public final String source()
The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.
public final UpdateStatus status()
The status of the last update on the environment.
If the service returns an enum value that is not available in the current SDK version, status will
return UpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
UpdateStatuspublic final String statusAsString()
The status of the last update on the environment.
If the service returns an enum value that is not available in the current SDK version, status will
return UpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
UpdateStatuspublic LastUpdate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LastUpdate.Builder,LastUpdate>public static LastUpdate.Builder builder()
public static Class<? extends LastUpdate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.