@Generated(value="software.amazon.awssdk:codegen") public final class LaunchTemplateInstanceMarketOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateInstanceMarketOptions.Builder,LaunchTemplateInstanceMarketOptions>
The market (purchasing) option for the instances.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LaunchTemplateInstanceMarketOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LaunchTemplateInstanceMarketOptions.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 LaunchTemplateInstanceMarketOptions.Builder> |
serializableBuilderClass() |
LaunchTemplateSpotMarketOptions |
spotOptions()
The options for Spot Instances.
|
LaunchTemplateInstanceMarketOptions.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 LaunchTemplateSpotMarketOptions spotOptions()
The options for Spot Instances.
public LaunchTemplateInstanceMarketOptions.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<LaunchTemplateInstanceMarketOptions.Builder,LaunchTemplateInstanceMarketOptions>public static LaunchTemplateInstanceMarketOptions.Builder builder()
public static Class<? extends LaunchTemplateInstanceMarketOptions.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.