@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final 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 final SpotMarketOptions spotOptions()
The options for Spot Instances.
public InstanceMarketOptionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstanceMarketOptionsRequest.Builder,InstanceMarketOptionsRequest>public static InstanceMarketOptionsRequest.Builder builder()
public static Class<? extends InstanceMarketOptionsRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.