public static interface Update.Builder extends SdkPojo, CopyableBuilder<Update.Builder,Update>
| Modifier and Type | Method and Description |
|---|---|
Update.Builder |
createdAt(Instant createdAt)
The Unix epoch timestamp in seconds for when the update was created.
|
Update.Builder |
errors(Collection<ErrorDetail> errors)
Any errors associated with a
Failed update. |
Update.Builder |
errors(Consumer<ErrorDetail.Builder>... errors)
Any errors associated with a
Failed update. |
Update.Builder |
errors(ErrorDetail... errors)
Any errors associated with a
Failed update. |
Update.Builder |
id(String id)
A UUID that is used to track the update.
|
Update.Builder |
params(Collection<UpdateParam> params)
A key-value map that contains the parameters associated with the update.
|
Update.Builder |
params(Consumer<UpdateParam.Builder>... params)
A key-value map that contains the parameters associated with the update.
|
Update.Builder |
params(UpdateParam... params)
A key-value map that contains the parameters associated with the update.
|
Update.Builder |
status(String status)
The current status of the update.
|
Update.Builder |
status(UpdateStatus status)
The current status of the update.
|
Update.Builder |
type(String type)
The type of the update.
|
Update.Builder |
type(UpdateType type)
The type of the update.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdate.Builder id(String id)
A UUID that is used to track the update.
id - A UUID that is used to track the update.Update.Builder status(String status)
The current status of the update.
status - The current status of the update.UpdateStatus,
UpdateStatusUpdate.Builder status(UpdateStatus status)
The current status of the update.
status - The current status of the update.UpdateStatus,
UpdateStatusUpdate.Builder type(String type)
The type of the update.
type - The type of the update.UpdateType,
UpdateTypeUpdate.Builder type(UpdateType type)
The type of the update.
type - The type of the update.UpdateType,
UpdateTypeUpdate.Builder params(Collection<UpdateParam> params)
A key-value map that contains the parameters associated with the update.
params - A key-value map that contains the parameters associated with the update.Update.Builder params(UpdateParam... params)
A key-value map that contains the parameters associated with the update.
params - A key-value map that contains the parameters associated with the update.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.Builder avoiding the need to create one
manually via UpdateParam.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #params(List.
params - a consumer that will call methods on
UpdateParam.Builder#params(java.util.Collection) Update.Builder createdAt(Instant createdAt)
The Unix epoch timestamp in seconds for when the update was created.
createdAt - The Unix epoch timestamp in seconds for when the update was created.Update.Builder errors(Collection<ErrorDetail> errors)
Any errors associated with a Failed update.
errors - Any errors associated with a Failed update.Update.Builder errors(ErrorDetail... errors)
Any errors associated with a Failed update.
errors - Any errors associated with a Failed update.Update.Builder errors(Consumer<ErrorDetail.Builder>... errors)
Any errors associated with a Failed update.
ErrorDetail.Builder avoiding the need to create one
manually via ErrorDetail.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #errors(List.
errors - a consumer that will call methods on
ErrorDetail.Builder#errors(java.util.Collection) Copyright © 2022. All rights reserved.