public static interface RequestSpotInstancesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<RequestSpotInstancesResponse.Builder,RequestSpotInstancesResponse>
Modifier and Type | Method and Description |
---|---|
RequestSpotInstancesResponse.Builder |
spotInstanceRequests(Collection<SpotInstanceRequest> spotInstanceRequests)
One or more Spot Instance requests.
|
RequestSpotInstancesResponse.Builder |
spotInstanceRequests(Consumer<SpotInstanceRequest.Builder>... spotInstanceRequests)
One or more Spot Instance requests.
|
RequestSpotInstancesResponse.Builder |
spotInstanceRequests(SpotInstanceRequest... spotInstanceRequests)
One or more Spot Instance requests.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
RequestSpotInstancesResponse.Builder spotInstanceRequests(Collection<SpotInstanceRequest> spotInstanceRequests)
One or more Spot Instance requests.
spotInstanceRequests
- One or more Spot Instance requests.RequestSpotInstancesResponse.Builder spotInstanceRequests(SpotInstanceRequest... spotInstanceRequests)
One or more Spot Instance requests.
spotInstanceRequests
- One or more Spot Instance requests.RequestSpotInstancesResponse.Builder spotInstanceRequests(Consumer<SpotInstanceRequest.Builder>... spotInstanceRequests)
One or more Spot Instance requests.
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 #spotInstanceRequests(List)
.spotInstanceRequests
- a consumer that will call methods on List.Builder
#spotInstanceRequests(List)
Copyright © 2022. All rights reserved.