Interface Update.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Update.Builder,Update>,SdkBuilder<Update.Builder,Update>,SdkPojo
- Enclosing class:
- Update
public static interface Update.Builder extends SdkPojo, CopyableBuilder<Update.Builder,Update>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Update.BuildercreatedAt(Instant createdAt)The Unix epoch timestamp in seconds for when the update was created.Update.Buildererrors(Collection<ErrorDetail> errors)Any errors associated with aFailedupdate.Update.Buildererrors(Consumer<ErrorDetail.Builder>... errors)Any errors associated with aFailedupdate.Update.Buildererrors(ErrorDetail... errors)Any errors associated with aFailedupdate.Update.Builderid(String id)A UUID that is used to track the update.Update.Builderparams(Collection<UpdateParam> params)A key-value map that contains the parameters associated with the update.Update.Builderparams(Consumer<UpdateParam.Builder>... params)A key-value map that contains the parameters associated with the update.Update.Builderparams(UpdateParam... params)A key-value map that contains the parameters associated with the update.Update.Builderstatus(String status)The current status of the update.Update.Builderstatus(UpdateStatus status)The current status of the update.Update.Buildertype(String type)The type of the update.Update.Buildertype(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 Detail
-
id
Update.Builder id(String 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
Update.Builder status(String 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:
UpdateStatus,UpdateStatus
-
status
Update.Builder status(UpdateStatus 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:
UpdateStatus,UpdateStatus
-
type
Update.Builder type(String 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:
UpdateType,UpdateType
-
type
Update.Builder type(UpdateType 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:
UpdateType,UpdateType
-
params
Update.Builder params(Collection<UpdateParam> 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
Update.Builder params(UpdateParam... 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
Update.Builder params(Consumer<UpdateParam.Builder>... 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 to#params(List.) - 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:
#params(java.util.Collection)
-
createdAt
Update.Builder createdAt(Instant createdAt)
The Unix epoch timestamp in seconds for when the update was created.
- Parameters:
createdAt- The Unix epoch timestamp in seconds for when the update was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Update.Builder errors(Collection<ErrorDetail> 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
Update.Builder errors(ErrorDetail... 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
Update.Builder errors(Consumer<ErrorDetail.Builder>... 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 to#errors(List.) - 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:
#errors(java.util.Collection)
-
-