public static interface CancelSpotInstanceRequestsResponse.Builder extends Ec2Response.Builder, SdkPojo, 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, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
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 © 2020. All rights reserved.