Class CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emr.CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty>
- Enclosing interface:
CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty
@Stability(Stable)
public static final class CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty>
A builder for
CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.volumeSpecification
(IResolvable volumeSpecification) volumeSpecification
(CfnInstanceFleetConfig.VolumeSpecificationProperty volumeSpecification) volumesPerInstance
(Number volumesPerInstance)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
volumeSpecification
@Stability(Stable) public CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty.Builder volumeSpecification(IResolvable volumeSpecification) - Parameters:
volumeSpecification
- EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance in the cluster. This parameter is required.- Returns:
this
-
volumeSpecification
@Stability(Stable) public CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty.Builder volumeSpecification(CfnInstanceFleetConfig.VolumeSpecificationProperty volumeSpecification) - Parameters:
volumeSpecification
- EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance in the cluster. This parameter is required.- Returns:
this
-
volumesPerInstance
@Stability(Stable) public CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty.Builder volumesPerInstance(Number volumesPerInstance) - Parameters:
volumesPerInstance
- Number of EBS volumes with a specific volume configuration that are associated with every instance in the instance group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty>
- Returns:
- a new instance of
CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-