@Generated(value="software.amazon.awssdk:codegen") public final class CancelledSpotInstanceRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CancelledSpotInstanceRequest.Builder,CancelledSpotInstanceRequest>
Describes a request to cancel a Spot Instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CancelledSpotInstanceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CancelledSpotInstanceRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CancelledSpotInstanceRequest.Builder> |
serializableBuilderClass() |
String |
spotInstanceRequestId()
The ID of the Spot Instance request.
|
CancelSpotInstanceRequestState |
state()
The state of the Spot Instance request.
|
String |
stateAsString()
The state of the Spot Instance request.
|
CancelledSpotInstanceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String spotInstanceRequestId()
The ID of the Spot Instance request.
public final CancelSpotInstanceRequestState state()
The state of the Spot Instance request.
If the service returns an enum value that is not available in the current SDK version, state will return
CancelSpotInstanceRequestState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from stateAsString().
CancelSpotInstanceRequestStatepublic final String stateAsString()
The state of the Spot Instance request.
If the service returns an enum value that is not available in the current SDK version, state will return
CancelSpotInstanceRequestState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from stateAsString().
CancelSpotInstanceRequestStatepublic CancelledSpotInstanceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CancelledSpotInstanceRequest.Builder,CancelledSpotInstanceRequest>public static CancelledSpotInstanceRequest.Builder builder()
public static Class<? extends CancelledSpotInstanceRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.