public static interface CreateInstancesResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<CreateInstancesResponse.Builder,CreateInstancesResponse>
Modifier and Type | Method and Description |
---|---|
CreateInstancesResponse.Builder |
operations(Collection<Operation> operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp
of the request, and the resources affected by the request.
|
CreateInstancesResponse.Builder |
operations(Consumer<Operation.Builder>... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp
of the request, and the resources affected by the request.
|
CreateInstancesResponse.Builder |
operations(Operation... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp
of the request, and the resources affected by the request.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateInstancesResponse.Builder operations(Collection<Operation> operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operations
- An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.CreateInstancesResponse.Builder operations(Operation... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operations
- An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.CreateInstancesResponse.Builder operations(Consumer<Operation.Builder>... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
This is a convenience 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 #operations(List)
.operations
- a consumer that will call methods on List.Builder
#operations(List)