Class LaunchTemplateInstanceMarketOptions
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.LaunchTemplateInstanceMarketOptions
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<LaunchTemplateInstanceMarketOptions.Builder,LaunchTemplateInstanceMarketOptions>
@Generated("software.amazon.awssdk:codegen") public final class LaunchTemplateInstanceMarketOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateInstanceMarketOptions.Builder,LaunchTemplateInstanceMarketOptions>
The market (purchasing) option for the instances.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LaunchTemplateInstanceMarketOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LaunchTemplateInstanceMarketOptions.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.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends LaunchTemplateInstanceMarketOptions.Builder>
serializableBuilderClass()
LaunchTemplateSpotMarketOptions
spotOptions()
The options for Spot Instances.LaunchTemplateInstanceMarketOptions.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
marketType
public final MarketType marketType()
The market type.
If the service returns an enum value that is not available in the current SDK version,
marketType
will returnMarketType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommarketTypeAsString()
.- Returns:
- The market type.
- See Also:
MarketType
-
marketTypeAsString
public final String marketTypeAsString()
The market type.
If the service returns an enum value that is not available in the current SDK version,
marketType
will returnMarketType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommarketTypeAsString()
.- Returns:
- The market type.
- See Also:
MarketType
-
spotOptions
public final LaunchTemplateSpotMarketOptions spotOptions()
The options for Spot Instances.
- Returns:
- The options for Spot Instances.
-
toBuilder
public LaunchTemplateInstanceMarketOptions.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<LaunchTemplateInstanceMarketOptions.Builder,LaunchTemplateInstanceMarketOptions>
-
builder
public static LaunchTemplateInstanceMarketOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends LaunchTemplateInstanceMarketOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-