public static interface DescribeSpotInstanceRequestsResponse.Builder extends EC2Response.Builder, CopyableBuilder<DescribeSpotInstanceRequestsResponse.Builder,DescribeSpotInstanceRequestsResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeSpotInstanceRequestsResponse.Builder |
spotInstanceRequests(Collection<SpotInstanceRequest> spotInstanceRequests)
One or more Spot instance requests.
|
DescribeSpotInstanceRequestsResponse.Builder |
spotInstanceRequests(Consumer<SpotInstanceRequest.Builder>... spotInstanceRequests)
One or more Spot instance requests.
|
DescribeSpotInstanceRequestsResponse.Builder |
spotInstanceRequests(SpotInstanceRequest... spotInstanceRequests)
One or more Spot instance requests.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildDescribeSpotInstanceRequestsResponse.Builder spotInstanceRequests(Collection<SpotInstanceRequest> spotInstanceRequests)
One or more Spot instance requests.
spotInstanceRequests - One or more Spot instance requests.DescribeSpotInstanceRequestsResponse.Builder spotInstanceRequests(SpotInstanceRequest... spotInstanceRequests)
One or more Spot instance requests.
spotInstanceRequests - One or more Spot instance requests.DescribeSpotInstanceRequestsResponse.Builder spotInstanceRequests(Consumer<SpotInstanceRequest.Builder>... spotInstanceRequests)
One or more Spot instance requests.
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 #spotInstanceRequests(List) .spotInstanceRequests - a consumer that will call methods on List.Builder #spotInstanceRequests(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.