@Generated(value="software.amazon.awssdk:codegen") public class CancelledSpotInstanceRequest extends Object implements software.amazon.awssdk.utils.builder.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 |
stateString()
The state of the Spot instance request.
|
CancelledSpotInstanceRequest.Builder |
toBuilder() |
String |
toString() |
public 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 stateString().
CancelSpotInstanceRequestStatepublic String stateString()
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 stateString().
CancelSpotInstanceRequestStatepublic CancelledSpotInstanceRequest.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<CancelledSpotInstanceRequest.Builder,CancelledSpotInstanceRequest>public static CancelledSpotInstanceRequest.Builder builder()
public static Class<? extends CancelledSpotInstanceRequest.Builder> serializableBuilderClass()
Copyright © 2018. All rights reserved.