public static interface CancelSpotInstanceRequestsResponse.Builder extends Ec2Response.Builder, CopyableBuilder<CancelSpotInstanceRequestsResponse.Builder,CancelSpotInstanceRequestsResponse>
Modifier and Type | Method and Description |
---|---|
CancelSpotInstanceRequestsResponse.Builder |
cancelledSpotInstanceRequests(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests)
One or more Spot instance requests.
|
CancelSpotInstanceRequestsResponse.Builder |
cancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
One or more Spot instance requests.
|
CancelSpotInstanceRequestsResponse.Builder |
cancelledSpotInstanceRequests(Consumer<CancelledSpotInstanceRequest.Builder>... cancelledSpotInstanceRequests)
One or more Spot instance requests.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CancelSpotInstanceRequestsResponse.Builder cancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
One or more Spot instance requests.
cancelledSpotInstanceRequests
- One or more Spot instance requests.CancelSpotInstanceRequestsResponse.Builder cancelledSpotInstanceRequests(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests)
One or more Spot instance requests.
cancelledSpotInstanceRequests
- One or more Spot instance requests.CancelSpotInstanceRequestsResponse.Builder cancelledSpotInstanceRequests(Consumer<CancelledSpotInstanceRequest.Builder>... cancelledSpotInstanceRequests)
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 #cancelledSpotInstanceRequests(List)
.cancelledSpotInstanceRequests
- a consumer that will call methods on List.Builder
#cancelledSpotInstanceRequests(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.