Interface Update.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Update.Builder,,Update> SdkBuilder<Update.Builder,,Update> SdkPojo
- Enclosing class:
Update
-
Method Summary
Modifier and TypeMethodDescriptiondefault Update.Buildercancellation(Consumer<Cancellation.Builder> cancellation) The latest cancellation information for the update.cancellation(Cancellation cancellation) The latest cancellation information for the update.The Unix epoch timestamp at object creation.errors(Collection<ErrorDetail> errors) Any errors associated with aFailedupdate.errors(Consumer<ErrorDetail.Builder>... errors) Any errors associated with aFailedupdate.errors(ErrorDetail... errors) Any errors associated with aFailedupdate.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaUpdateParam.builder().When the
Consumercompletes,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
Failedupdate.- Parameters:
errors- Any errors associated with aFailedupdate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Any errors associated with a
Failedupdate.- Parameters:
errors- Any errors associated with aFailedupdate.- 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 theFailedupdate.ErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,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:
-
cancellation
The latest cancellation information for the update. This field is present only if any cancellation is attempted for the update.
- Parameters:
cancellation- The latest cancellation information for the update. This field is present only if any cancellation is attempted for the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancellation
The latest cancellation information for the update. This field is present only if any cancellation is attempted for the update.
This is a convenience method that creates an instance of theCancellation.Builderavoiding the need to create one manually viaCancellation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocancellation(Cancellation).- Parameters:
cancellation- a consumer that will call methods onCancellation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-