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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LastUpdate.BuildercreatedAt(Instant createdAt)The day and time of the last update on the environment.default LastUpdate.Buildererror(Consumer<UpdateError.Builder> error)The error that was encountered during the last update of the environment.LastUpdate.Buildererror(UpdateError error)The error that was encountered during the last update of the environment.LastUpdate.Buildersource(String source)The source of the last update to the environment.LastUpdate.Builderstatus(String status)The status of the last update on the environment.LastUpdate.Builderstatus(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 Detail
-
createdAt
LastUpdate.Builder createdAt(Instant 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
LastUpdate.Builder error(UpdateError 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
default LastUpdate.Builder error(Consumer<UpdateError.Builder> error)
The error that was encountered during the last update of the environment.
This is a convenience method that creates an instance of theUpdateError.Builderavoiding the need to create one manually viaUpdateError.builder().When the
Consumercompletes,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:
error(UpdateError)
-
source
LastUpdate.Builder source(String 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
LastUpdate.Builder status(String 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:
UpdateStatus,UpdateStatus
-
status
LastUpdate.Builder status(UpdateStatus 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:
UpdateStatus,UpdateStatus
-
-