Interface Update.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Update.Builder,
,Update> SdkBuilder<Update.Builder,
,Update> SdkPojo
- Enclosing class:
Update
-
Method Summary
Modifier and TypeMethodDescriptionThe Unix epoch timestamp at object creation.errors
(Collection<ErrorDetail> errors) Any errors associated with aFailed
update.errors
(Consumer<ErrorDetail.Builder>... errors) Any errors associated with aFailed
update.errors
(ErrorDetail... errors) Any errors associated with aFailed
update.A UUID that is used to track the update.params
(Collection<UpdateParam> params) A key-value map that contains the parameters associated with the update.params
(Consumer<UpdateParam.Builder>... params) A key-value map that contains the parameters associated with the update.params
(UpdateParam... params) A key-value map that contains the parameters associated with the update.The current status of the update.status
(UpdateStatus status) The current status of the update.The type of the update.type
(UpdateType type) The type of the update.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
-
id
A UUID that is used to track the update.
- Parameters:
id
- A UUID that is used to track the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the update.
- Parameters:
status
- The current status of the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the update.
- Parameters:
status
- The current status of the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the update.
- Parameters:
type
- The type of the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the update.
- Parameters:
type
- The type of the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
params
A key-value map that contains the parameters associated with the update.
- Parameters:
params
- A key-value map that contains the parameters associated with the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
params
A key-value map that contains the parameters associated with the update.
- Parameters:
params
- A key-value map that contains the parameters associated with the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
params
A key-value map that contains the parameters associated with the update.
This is a convenience method that creates an instance of theUpdateParam.Builder
avoiding the need to create one manually viaUpdateParam.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparams(List<UpdateParam>)
.- Parameters:
params
- a consumer that will call methods onUpdateParam.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The Unix epoch timestamp at object creation.
- Parameters:
createdAt
- The Unix epoch timestamp at object creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Any errors associated with a
Failed
update.- Parameters:
errors
- Any errors associated with aFailed
update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Any errors associated with a
Failed
update.- Parameters:
errors
- Any errors associated with aFailed
update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Any errors associated with a
This is a convenience method that creates an instance of theFailed
update.ErrorDetail.Builder
avoiding the need to create one manually viaErrorDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<ErrorDetail>)
.- Parameters:
errors
- a consumer that will call methods onErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-