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