public static interface CancelSpotInstanceRequestsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CancelSpotInstanceRequestsResponse.Builder,CancelSpotInstanceRequestsResponse>
| Modifier and Type | Method and Description |
|---|---|
CancelSpotInstanceRequestsResponse.Builder |
cancelledSpotInstanceRequests(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests)
The Spot Instance requests.
|
CancelSpotInstanceRequestsResponse.Builder |
cancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
The Spot Instance requests.
|
CancelSpotInstanceRequestsResponse.Builder |
cancelledSpotInstanceRequests(Consumer<CancelledSpotInstanceRequest.Builder>... cancelledSpotInstanceRequests)
The Spot Instance requests.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCancelSpotInstanceRequestsResponse.Builder cancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
The Spot Instance requests.
cancelledSpotInstanceRequests - The Spot Instance requests.CancelSpotInstanceRequestsResponse.Builder cancelledSpotInstanceRequests(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests)
The Spot Instance requests.
cancelledSpotInstanceRequests - The Spot Instance requests.CancelSpotInstanceRequestsResponse.Builder cancelledSpotInstanceRequests(Consumer<CancelledSpotInstanceRequest.Builder>... cancelledSpotInstanceRequests)
The Spot Instance requests.
This is a convenience method that creates an instance of theCancelledSpotInstanceRequest.Builder avoiding the need to
create one manually via
CancelledSpotInstanceRequest.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #cancelledSpotInstanceRequests(List.
cancelledSpotInstanceRequests - a consumer that will call methods on
CancelledSpotInstanceRequest.Builder#cancelledSpotInstanceRequests(java.util.Collection) Copyright © 2023. All rights reserved.