@Stability(value=Stable) public static final class EmrCreateCluster.InstanceFleetConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<EmrCreateCluster.InstanceFleetConfigProperty>
EmrCreateCluster.InstanceFleetConfigProperty
Constructor and Description |
---|
Builder() |
@Stability(value=Stable) public EmrCreateCluster.InstanceFleetConfigProperty.Builder instanceFleetType(EmrCreateCluster.InstanceRoleType instanceFleetType)
EmrCreateCluster.InstanceFleetConfigProperty.getInstanceFleetType()
instanceFleetType
- The node type that the instance fleet hosts. This parameter is required.
Valid values are MASTER,CORE,and TASK.this
@Stability(value=Stable) public EmrCreateCluster.InstanceFleetConfigProperty.Builder instanceTypeConfigs(List<? extends EmrCreateCluster.InstanceTypeConfigProperty> instanceTypeConfigs)
EmrCreateCluster.InstanceFleetConfigProperty.getInstanceTypeConfigs()
instanceTypeConfigs
- The instance type configurations that define the EC2 instances in the instance fleet.this
@Stability(value=Stable) public EmrCreateCluster.InstanceFleetConfigProperty.Builder launchSpecifications(EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty launchSpecifications)
EmrCreateCluster.InstanceFleetConfigProperty.getLaunchSpecifications()
launchSpecifications
- The launch specification for the instance fleet.this
@Stability(value=Stable) public EmrCreateCluster.InstanceFleetConfigProperty.Builder name(String name)
EmrCreateCluster.InstanceFleetConfigProperty.getName()
name
- The friendly name of the instance fleet.this
@Stability(value=Stable) public EmrCreateCluster.InstanceFleetConfigProperty.Builder targetOnDemandCapacity(Number targetOnDemandCapacity)
EmrCreateCluster.InstanceFleetConfigProperty.getTargetOnDemandCapacity()
targetOnDemandCapacity
- The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision.this
@Stability(value=Stable) public EmrCreateCluster.InstanceFleetConfigProperty.Builder targetSpotCapacity(Number targetSpotCapacity)
EmrCreateCluster.InstanceFleetConfigProperty.getTargetSpotCapacity()
targetSpotCapacity
- The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision.this
@Stability(value=Stable) public EmrCreateCluster.InstanceFleetConfigProperty build()
build
in interface software.amazon.jsii.Builder<EmrCreateCluster.InstanceFleetConfigProperty>
EmrCreateCluster.InstanceFleetConfigProperty
NullPointerException
- if any required attribute was not providedCopyright © 2022. All rights reserved.