Interface InstanceMarketOptionsRequest.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<InstanceMarketOptionsRequest.Builder,,- InstanceMarketOptionsRequest> - SdkBuilder<InstanceMarketOptionsRequest.Builder,,- InstanceMarketOptionsRequest> - SdkPojo
- Enclosing class:
- InstanceMarketOptionsRequest
@Mutable
@NotThreadSafe
public static interface InstanceMarketOptionsRequest.Builder
extends SdkPojo, CopyableBuilder<InstanceMarketOptionsRequest.Builder,InstanceMarketOptionsRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionmarketType(String marketType) Specifies the type of marketplace for instance deployment.marketType(MarketTypeEnum marketType) Specifies the type of marketplace for instance deployment.spotOptions(Consumer<SpotMarketOptions.Builder> spotOptions) Configuration options for spot instance deployment.spotOptions(SpotMarketOptions spotOptions) Configuration options for spot instance deployment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
marketTypeSpecifies the type of marketplace for instance deployment. - Parameters:
- marketType- Specifies the type of marketplace for instance deployment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
marketTypeSpecifies the type of marketplace for instance deployment. - Parameters:
- marketType- Specifies the type of marketplace for instance deployment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
spotOptionsConfiguration options for spot instance deployment. - Parameters:
- spotOptions- Configuration options for spot instance deployment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
spotOptionsdefault InstanceMarketOptionsRequest.Builder spotOptions(Consumer<SpotMarketOptions.Builder> spotOptions) Configuration options for spot instance deployment. This is a convenience method that creates an instance of theSpotMarketOptions.Builderavoiding the need to create one manually viaSpotMarketOptions.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospotOptions(SpotMarketOptions).- Parameters:
- spotOptions- a consumer that will call methods on- SpotMarketOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-