Class CfnGlobalTable.ContributorInsightsSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalTable.ContributorInsightsSpecificationProperty>
- Enclosing interface:
CfnGlobalTable.ContributorInsightsSpecificationProperty
@Stability(Stable)
public static final class CfnGlobalTable.ContributorInsightsSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGlobalTable.ContributorInsightsSpecificationProperty>
A builder for
CfnGlobalTable.ContributorInsightsSpecificationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnGlobalTable.ContributorInsightsSpecificationProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnGlobalTable.ContributorInsightsSpecificationProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnGlobalTable.ContributorInsightsSpecificationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnGlobalTable.ContributorInsightsSpecificationProperty.getEnabled()
- Parameters:
enabled
- Indicates whether CloudWatch Contributor Insights are to be enabled (true) or disabled (false). This parameter is required.- Returns:
this
-
enabled
@Stability(Stable) public CfnGlobalTable.ContributorInsightsSpecificationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnGlobalTable.ContributorInsightsSpecificationProperty.getEnabled()
- Parameters:
enabled
- Indicates whether CloudWatch Contributor Insights are to be enabled (true) or disabled (false). This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGlobalTable.ContributorInsightsSpecificationProperty>
- Returns:
- a new instance of
CfnGlobalTable.ContributorInsightsSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-