Interface LastUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LastUpdate.Builder,
,LastUpdate> SdkBuilder<LastUpdate.Builder,
,LastUpdate> SdkPojo
- Enclosing class:
LastUpdate
public static interface LastUpdate.Builder
extends SdkPojo, CopyableBuilder<LastUpdate.Builder,LastUpdate>
-
Method Summary
Modifier and TypeMethodDescriptionThe day and time of the last update on the environment.default LastUpdate.Builder
error
(Consumer<UpdateError.Builder> error) The error that was encountered during the last update of the environment.error
(UpdateError error) The error that was encountered during the last update of the environment.The source of the last update to the environment.The status of the last update on the environment.status
(UpdateStatus status) The status of the last update on the environment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
createdAt
The day and time of the last update on the environment.
- Parameters:
createdAt
- The day and time of the last update on the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
The error that was encountered during the last update of the environment.
- Parameters:
error
- The error that was encountered during the last update of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
The error that was encountered during the last update of the environment.
This is a convenience method that creates an instance of theUpdateError.Builder
avoiding the need to create one manually viaUpdateError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(UpdateError)
.- Parameters:
error
- a consumer that will call methods onUpdateError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.
- Parameters:
source
- The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the last update on the environment.
- Parameters:
status
- The status of the last update on the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the last update on the environment.
- Parameters:
status
- The status of the last update on the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-