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