@Generated(value="software.amazon.awssdk:codegen") public class CancelledSpotInstanceRequest extends Object implements 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String spotInstanceRequestId()
The ID of the Spot instance request.
public 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 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<CancelledSpotInstanceRequest.Builder,CancelledSpotInstanceRequest>public static CancelledSpotInstanceRequest.Builder builder()
public static Class<? extends CancelledSpotInstanceRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.