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, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildRequestSpotInstancesResponse.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 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.