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