Class ContributorInsightsSpecification.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.ContributorInsightsSpecification.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContributorInsightsSpecification>
- Enclosing interface:
ContributorInsightsSpecification
@Stability(Stable)
public static final class ContributorInsightsSpecification.Builder
extends Object
implements software.amazon.jsii.Builder<ContributorInsightsSpecification>
A builder for
ContributorInsightsSpecification-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofContributorInsightsSpecification.getEnabled()mode(ContributorInsightsMode mode) Sets the value ofContributorInsightsSpecification.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofContributorInsightsSpecification.getEnabled()- Parameters:
enabled- Indicates whether contributor insights is enabled. This parameter is required.- Returns:
this
-
mode
@Stability(Stable) public ContributorInsightsSpecification.Builder mode(ContributorInsightsMode mode) Sets the value ofContributorInsightsSpecification.getMode()- Parameters:
mode- Indicates the type of metrics captured by contributor insights.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContributorInsightsSpecification>- Returns:
- a new instance of
ContributorInsightsSpecification - Throws:
NullPointerException- if any required attribute was not provided
-