public static interface DescribeSpotDatafeedSubscriptionResponse.Builder extends EC2Response.Builder, CopyableBuilder<DescribeSpotDatafeedSubscriptionResponse.Builder,DescribeSpotDatafeedSubscriptionResponse>
Modifier and Type | Method and Description |
---|---|
default DescribeSpotDatafeedSubscriptionResponse.Builder |
spotDatafeedSubscription(Consumer<SpotDatafeedSubscription.Builder> spotDatafeedSubscription)
The Spot instance data feed subscription.
|
DescribeSpotDatafeedSubscriptionResponse.Builder |
spotDatafeedSubscription(SpotDatafeedSubscription spotDatafeedSubscription)
The Spot instance data feed subscription.
|
build
copy
apply, build
DescribeSpotDatafeedSubscriptionResponse.Builder spotDatafeedSubscription(SpotDatafeedSubscription spotDatafeedSubscription)
The Spot instance data feed subscription.
spotDatafeedSubscription
- The Spot instance data feed subscription.default DescribeSpotDatafeedSubscriptionResponse.Builder spotDatafeedSubscription(Consumer<SpotDatafeedSubscription.Builder> spotDatafeedSubscription)
The Spot instance data feed subscription.
This is a convenience that creates an instance of theSpotDatafeedSubscription.Builder
avoiding the
need to create one manually via SpotDatafeedSubscription.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to spotDatafeedSubscription(SpotDatafeedSubscription)
.spotDatafeedSubscription
- a consumer that will call methods on SpotDatafeedSubscription.Builder
spotDatafeedSubscription(SpotDatafeedSubscription)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.