@Generated(value="software.amazon.awssdk:codegen") public final class InstanceMarketOptionsRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceMarketOptionsRequest.Builder,InstanceMarketOptionsRequest>
Describes the market (purchasing) option for the instances.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceMarketOptionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstanceMarketOptionsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
MarketType |
marketType()
The market type.
|
String |
marketTypeAsString()
The market type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceMarketOptionsRequest.Builder> |
serializableBuilderClass() |
SpotMarketOptions |
spotOptions()
The options for Spot Instances.
|
InstanceMarketOptionsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic MarketType marketType()
The market type.
If the service returns an enum value that is not available in the current SDK version, marketType will
return MarketType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
marketTypeAsString().
MarketTypepublic String marketTypeAsString()
The market type.
If the service returns an enum value that is not available in the current SDK version, marketType will
return MarketType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
marketTypeAsString().
MarketTypepublic SpotMarketOptions spotOptions()
The options for Spot Instances.
public InstanceMarketOptionsRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<InstanceMarketOptionsRequest.Builder,InstanceMarketOptionsRequest>public static InstanceMarketOptionsRequest.Builder builder()
public static Class<? extends InstanceMarketOptionsRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.