public static interface SpotDatafeedSubscription.Builder extends CopyableBuilder<SpotDatafeedSubscription.Builder,SpotDatafeedSubscription>
Modifier and Type | Method and Description |
---|---|
SpotDatafeedSubscription.Builder |
bucket(String bucket)
The Amazon S3 bucket where the Spot instance data feed is located.
|
default SpotDatafeedSubscription.Builder |
fault(Consumer<SpotInstanceStateFault.Builder> fault)
The fault codes for the Spot instance request, if any.
|
SpotDatafeedSubscription.Builder |
fault(SpotInstanceStateFault fault)
The fault codes for the Spot instance request, if any.
|
SpotDatafeedSubscription.Builder |
ownerId(String ownerId)
The AWS account ID of the account.
|
SpotDatafeedSubscription.Builder |
prefix(String prefix)
The prefix that is prepended to data feed files.
|
SpotDatafeedSubscription.Builder |
state(DatafeedSubscriptionState state)
The state of the Spot instance data feed subscription.
|
SpotDatafeedSubscription.Builder |
state(String state)
The state of the Spot instance data feed subscription.
|
copy
applyMutation, build
SpotDatafeedSubscription.Builder bucket(String bucket)
The Amazon S3 bucket where the Spot instance data feed is located.
bucket
- The Amazon S3 bucket where the Spot instance data feed is located.SpotDatafeedSubscription.Builder fault(SpotInstanceStateFault fault)
The fault codes for the Spot instance request, if any.
fault
- The fault codes for the Spot instance request, if any.default SpotDatafeedSubscription.Builder fault(Consumer<SpotInstanceStateFault.Builder> fault)
The fault codes for the Spot instance request, if any.
This is a convenience that creates an instance of theSpotInstanceStateFault.Builder
avoiding the
need to create one manually via SpotInstanceStateFault.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to fault(SpotInstanceStateFault)
.fault
- a consumer that will call methods on SpotInstanceStateFault.Builder
fault(SpotInstanceStateFault)
SpotDatafeedSubscription.Builder ownerId(String ownerId)
The AWS account ID of the account.
ownerId
- The AWS account ID of the account.SpotDatafeedSubscription.Builder prefix(String prefix)
The prefix that is prepended to data feed files.
prefix
- The prefix that is prepended to data feed files.SpotDatafeedSubscription.Builder state(String state)
The state of the Spot instance data feed subscription.
state
- The state of the Spot instance data feed subscription.DatafeedSubscriptionState
,
DatafeedSubscriptionState
SpotDatafeedSubscription.Builder state(DatafeedSubscriptionState state)
The state of the Spot instance data feed subscription.
state
- The state of the Spot instance data feed subscription.DatafeedSubscriptionState
,
DatafeedSubscriptionState
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.