@Generated(value="software.amazon.awssdk:codegen") public class SpotDatafeedSubscription extends Object implements ToCopyableBuilder<SpotDatafeedSubscription.Builder,SpotDatafeedSubscription>
Describes the data feed for a Spot instance.
Modifier and Type | Class and Description |
---|---|
static interface |
SpotDatafeedSubscription.Builder |
Modifier and Type | Method and Description |
---|---|
String |
bucket()
The Amazon S3 bucket where the Spot instance data feed is located.
|
static SpotDatafeedSubscription.Builder |
builder() |
boolean |
equals(Object obj) |
SpotInstanceStateFault |
fault()
The fault codes for the Spot instance request, if any.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ownerId()
The AWS account ID of the account.
|
String |
prefix()
The prefix that is prepended to data feed files.
|
static Class<? extends SpotDatafeedSubscription.Builder> |
serializableBuilderClass() |
DatafeedSubscriptionState |
state()
The state of the Spot instance data feed subscription.
|
String |
stateString()
The state of the Spot instance data feed subscription.
|
SpotDatafeedSubscription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String bucket()
The Amazon S3 bucket where the Spot instance data feed is located.
public SpotInstanceStateFault fault()
The fault codes for the Spot instance request, if any.
public String ownerId()
The AWS account ID of the account.
public String prefix()
The prefix that is prepended to data feed files.
public DatafeedSubscriptionState state()
The state of the Spot instance data feed subscription.
If the service returns an enum value that is not available in the current SDK version, state
will return
DatafeedSubscriptionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateString()
.
DatafeedSubscriptionState
public String stateString()
The state of the Spot instance data feed subscription.
If the service returns an enum value that is not available in the current SDK version, state
will return
DatafeedSubscriptionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateString()
.
DatafeedSubscriptionState
public SpotDatafeedSubscription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SpotDatafeedSubscription.Builder,SpotDatafeedSubscription>
public static SpotDatafeedSubscription.Builder builder()
public static Class<? extends SpotDatafeedSubscription.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.