Class CfnFeatureGroupPropsMixin.ThroughputConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnFeatureGroupPropsMixin.ThroughputConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeatureGroupPropsMixin.ThroughputConfigProperty>
- Enclosing interface:
CfnFeatureGroupPropsMixin.ThroughputConfigProperty
@Stability(Stable)
public static final class CfnFeatureGroupPropsMixin.ThroughputConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFeatureGroupPropsMixin.ThroughputConfigProperty>
A builder for
CfnFeatureGroupPropsMixin.ThroughputConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.provisionedReadCapacityUnits(Number provisionedReadCapacityUnits) provisionedWriteCapacityUnits(Number provisionedWriteCapacityUnits) throughputMode(String throughputMode) Sets the value ofCfnFeatureGroupPropsMixin.ThroughputConfigProperty.getThroughputMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
provisionedReadCapacityUnits
@Stability(Stable) public CfnFeatureGroupPropsMixin.ThroughputConfigProperty.Builder provisionedReadCapacityUnits(Number provisionedReadCapacityUnits) Sets the value ofCfnFeatureGroupPropsMixin.ThroughputConfigProperty.getProvisionedReadCapacityUnits()- Parameters:
provisionedReadCapacityUnits- For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling. This field is not applicable for on-demand feature groups.- Returns:
this
-
provisionedWriteCapacityUnits
@Stability(Stable) public CfnFeatureGroupPropsMixin.ThroughputConfigProperty.Builder provisionedWriteCapacityUnits(Number provisionedWriteCapacityUnits) Sets the value ofCfnFeatureGroupPropsMixin.ThroughputConfigProperty.getProvisionedWriteCapacityUnits()- Parameters:
provisionedWriteCapacityUnits- For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling. This field is not applicable for on-demand feature groups.- Returns:
this
-
throughputMode
@Stability(Stable) public CfnFeatureGroupPropsMixin.ThroughputConfigProperty.Builder throughputMode(String throughputMode) Sets the value ofCfnFeatureGroupPropsMixin.ThroughputConfigProperty.getThroughputMode()- Parameters:
throughputMode- The mode used for your feature group throughput:ON_DEMANDorPROVISIONED.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFeatureGroupPropsMixin.ThroughputConfigProperty>- Returns:
- a new instance of
CfnFeatureGroupPropsMixin.ThroughputConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-