Class CfnCluster.EbsBlockDeviceConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emr.CfnCluster.EbsBlockDeviceConfigProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnCluster.EbsBlockDeviceConfigProperty>
- Enclosing interface:
 - CfnCluster.EbsBlockDeviceConfigProperty
 
@Stability(Stable)
public static final class CfnCluster.EbsBlockDeviceConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.EbsBlockDeviceConfigProperty>
A builder for 
CfnCluster.EbsBlockDeviceConfigProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.volumeSpecification(IResolvable volumeSpecification) Sets the value ofCfnCluster.EbsBlockDeviceConfigProperty.getVolumeSpecification()volumeSpecification(CfnCluster.VolumeSpecificationProperty volumeSpecification) Sets the value ofCfnCluster.EbsBlockDeviceConfigProperty.getVolumeSpecification()volumesPerInstance(Number volumesPerInstance) Sets the value ofCfnCluster.EbsBlockDeviceConfigProperty.getVolumesPerInstance() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
volumeSpecification
@Stability(Stable) public CfnCluster.EbsBlockDeviceConfigProperty.Builder volumeSpecification(IResolvable volumeSpecification) Sets the value ofCfnCluster.EbsBlockDeviceConfigProperty.getVolumeSpecification()- 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 CfnCluster.EbsBlockDeviceConfigProperty.Builder volumeSpecification(CfnCluster.VolumeSpecificationProperty volumeSpecification) Sets the value ofCfnCluster.EbsBlockDeviceConfigProperty.getVolumeSpecification()- 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 CfnCluster.EbsBlockDeviceConfigProperty.Builder volumesPerInstance(Number volumesPerInstance) Sets the value ofCfnCluster.EbsBlockDeviceConfigProperty.getVolumesPerInstance()- 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:
 buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.EbsBlockDeviceConfigProperty>- Returns:
 - a new instance of 
CfnCluster.EbsBlockDeviceConfigProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -