@Generated(value="software.amazon.awssdk:codegen") public final class SpotDatafeedSubscription extends Object implements SdkPojo, Serializable, 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 name of the Amazon S3 bucket where the Spot Instance data feed is located.
|
static SpotDatafeedSubscription.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(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 Amazon Web Services account ID of the account.
|
String |
prefix()
The prefix for the data feed files.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SpotDatafeedSubscription.Builder> |
serializableBuilderClass() |
DatafeedSubscriptionState |
state()
The state of the Spot Instance data feed subscription.
|
String |
stateAsString()
The state of the Spot Instance data feed subscription.
|
SpotDatafeedSubscription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String bucket()
The name of the Amazon S3 bucket where the Spot Instance data feed is located.
public final SpotInstanceStateFault fault()
The fault codes for the Spot Instance request, if any.
public final String ownerId()
The Amazon Web Services account ID of the account.
public final String prefix()
The prefix for the data feed files.
public final 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
stateAsString()
.
DatafeedSubscriptionState
public final String stateAsString()
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
stateAsString()
.
DatafeedSubscriptionState
public SpotDatafeedSubscription.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SpotDatafeedSubscription.Builder,SpotDatafeedSubscription>
public static SpotDatafeedSubscription.Builder builder()
public static Class<? extends SpotDatafeedSubscription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.