Class CfnDatasetPropsMixin.ResourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotanalytics.CfnDatasetPropsMixin.ResourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetPropsMixin.ResourceConfigurationProperty>
- Enclosing interface:
CfnDatasetPropsMixin.ResourceConfigurationProperty
@Stability(Stable)
public static final class CfnDatasetPropsMixin.ResourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetPropsMixin.ResourceConfigurationProperty>
A builder for
CfnDatasetPropsMixin.ResourceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.computeType(String computeType) Sets the value ofCfnDatasetPropsMixin.ResourceConfigurationProperty.getComputeType()volumeSizeInGb(Number volumeSizeInGb) Sets the value ofCfnDatasetPropsMixin.ResourceConfigurationProperty.getVolumeSizeInGb()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computeType
@Stability(Stable) public CfnDatasetPropsMixin.ResourceConfigurationProperty.Builder computeType(String computeType) Sets the value ofCfnDatasetPropsMixin.ResourceConfigurationProperty.getComputeType()- Parameters:
computeType- The type of the compute resource used to execute thecontainerAction. Possible values are:ACU_1(vCPU=4, memory=16 GiB) orACU_2(vCPU=8, memory=32 GiB).- Returns:
this
-
volumeSizeInGb
@Stability(Stable) public CfnDatasetPropsMixin.ResourceConfigurationProperty.Builder volumeSizeInGb(Number volumeSizeInGb) Sets the value ofCfnDatasetPropsMixin.ResourceConfigurationProperty.getVolumeSizeInGb()- Parameters:
volumeSizeInGb- The size, in GB, of the persistent storage available to the resource instance used to execute thecontainerAction(min: 1, max: 50).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetPropsMixin.ResourceConfigurationProperty>- Returns:
- a new instance of
CfnDatasetPropsMixin.ResourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-