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 theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #params(List) .params - a consumer that will call methods on List.Builder #params(List) 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.
List.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #errors(List) .errors - a consumer that will call methods on List.Builder #errors(List) Copyright © 2022. All rights reserved.