Class LastUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.mwaa.model.LastUpdate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LastUpdate.Builder,LastUpdate>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLastUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LastUpdate.Builderbuilder()InstantcreatedAt()The day and time of the last update on the environment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)UpdateErrorerror()The error that was encountered during the last update of the environment.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends LastUpdate.Builder>serializableBuilderClass()Stringsource()The source of the last update to the environment.UpdateStatusstatus()The status of the last update on the environment.StringstatusAsString()The status of the last update on the environment.LastUpdate.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
status
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,
statuswill returnUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the last update on the environment.
- See Also:
UpdateStatus
-
statusAsString
public 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,
statuswill returnUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the last update on the environment.
- See Also:
UpdateStatus
-
createdAt
public final Instant createdAt()
The day and time of the last update on the environment.
- Returns:
- The day and time of the last update on the environment.
-
error
public final UpdateError error()
The error that was encountered during the last update of the environment.
- Returns:
- The error that was encountered during the last update of the environment.
-
source
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.
- Returns:
- The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.
-
toBuilder
public LastUpdate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LastUpdate.Builder,LastUpdate>
-
builder
public static LastUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends LastUpdate.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-