Class CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.deadline.CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty>
- Enclosing interface:
CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty
@Stability(Stable)
public static final class CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty.Builder type(String type) - Parameters:
type- The Amazon EC2 instance type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty>- Returns:
- a new instance of
CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-