public static interface SpotDatafeedSubscription.Builder extends SdkPojo, CopyableBuilder<SpotDatafeedSubscription.Builder,SpotDatafeedSubscription>
Modifier and Type | Method and Description |
---|---|
SpotDatafeedSubscription.Builder |
bucket(String bucket)
The name of 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 Amazon Web Services account ID of the account.
|
SpotDatafeedSubscription.Builder |
prefix(String prefix)
The prefix for the 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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
SpotDatafeedSubscription.Builder bucket(String bucket)
The name of the Amazon S3 bucket where the Spot Instance data feed is located.
bucket
- The name of 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 method 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 Amazon Web Services account ID of the account.
ownerId
- The Amazon Web Services account ID of the account.SpotDatafeedSubscription.Builder prefix(String prefix)
The prefix for the data feed files.
prefix
- The prefix for the 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 © 2023. All rights reserved.