Interface SpotDatafeedSubscription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SpotDatafeedSubscription.Builder,
,SpotDatafeedSubscription> SdkBuilder<SpotDatafeedSubscription.Builder,
,SpotDatafeedSubscription> SdkPojo
- Enclosing class:
SpotDatafeedSubscription
public static interface SpotDatafeedSubscription.Builder
extends SdkPojo, CopyableBuilder<SpotDatafeedSubscription.Builder,SpotDatafeedSubscription>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the Amazon S3 bucket where the Spot Instance data feed is located.default SpotDatafeedSubscription.Builder
The fault codes for the Spot Instance request, if any.fault
(SpotInstanceStateFault fault) The fault codes for the Spot Instance request, if any.The Amazon Web Services account ID of the account.The prefix for the data feed files.The state of the Spot Instance data feed subscription.state
(DatafeedSubscriptionState state) The state of the Spot Instance data feed subscription.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
bucket
The name of the Amazon S3 bucket where the Spot Instance data feed is located.
- Parameters:
bucket
- The name of the Amazon S3 bucket where the Spot Instance data feed is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fault
The fault codes for the Spot Instance request, if any.
- Parameters:
fault
- The fault codes for the Spot Instance request, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaSpotInstanceStateFault.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofault(SpotInstanceStateFault)
.- Parameters:
fault
- a consumer that will call methods onSpotInstanceStateFault.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerId
The Amazon Web Services account ID of the account.
- Parameters:
ownerId
- The Amazon Web Services account ID of the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefix
The prefix for the data feed files.
- Parameters:
prefix
- The prefix for the data feed files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the Spot Instance data feed subscription.
- Parameters:
state
- The state of the Spot Instance data feed subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the Spot Instance data feed subscription.
- Parameters:
state
- The state of the Spot Instance data feed subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-