Class CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dynamodb.CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty>
- Enclosing interface:
CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty
@Stability(Stable)
public static final class CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contributorInsightsSpecification(CfnGlobalTablePropsMixin.ContributorInsightsSpecificationProperty contributorInsightsSpecification) contributorInsightsSpecification(IResolvable contributorInsightsSpecification) readOnDemandThroughputSettings(CfnGlobalTablePropsMixin.ReadOnDemandThroughputSettingsProperty readOnDemandThroughputSettings) readOnDemandThroughputSettings(IResolvable readOnDemandThroughputSettings) readProvisionedThroughputSettings(CfnGlobalTablePropsMixin.ReadProvisionedThroughputSettingsProperty readProvisionedThroughputSettings) readProvisionedThroughputSettings(IResolvable readProvisionedThroughputSettings)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contributorInsightsSpecification
@Stability(Stable) public CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.Builder contributorInsightsSpecification(IResolvable contributorInsightsSpecification) Sets the value ofCfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.getContributorInsightsSpecification()- Parameters:
contributorInsightsSpecification- Updates the status for contributor insights for a specific table or index. CloudWatch Contributor Insights for DynamoDB graphs display the partition key and (if applicable) sort key of frequently accessed items and frequently throttled items in plaintext. If you require the use of AWS Key Management Service (KMS) to encrypt this table’s partition key and sort key data with an AWS managed key or customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB for this table.- Returns:
this
-
contributorInsightsSpecification
@Stability(Stable) public CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.Builder contributorInsightsSpecification(CfnGlobalTablePropsMixin.ContributorInsightsSpecificationProperty contributorInsightsSpecification) Sets the value ofCfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.getContributorInsightsSpecification()- Parameters:
contributorInsightsSpecification- Updates the status for contributor insights for a specific table or index. CloudWatch Contributor Insights for DynamoDB graphs display the partition key and (if applicable) sort key of frequently accessed items and frequently throttled items in plaintext. If you require the use of AWS Key Management Service (KMS) to encrypt this table’s partition key and sort key data with an AWS managed key or customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB for this table.- Returns:
this
-
indexName
@Stability(Stable) public CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.Builder indexName(String indexName) Sets the value ofCfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.getIndexName()- Parameters:
indexName- The name of the global secondary index. The name must be unique among all other indexes on this table.- Returns:
this
-
readOnDemandThroughputSettings
@Stability(Stable) public CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.Builder readOnDemandThroughputSettings(IResolvable readOnDemandThroughputSettings) Sets the value ofCfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.getReadOnDemandThroughputSettings()- Parameters:
readOnDemandThroughputSettings- Sets the read request settings for a replica global secondary index. You can only specify this setting if your resource uses thePAY_PER_REQUESTBillingMode.- Returns:
this
-
readOnDemandThroughputSettings
@Stability(Stable) public CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.Builder readOnDemandThroughputSettings(CfnGlobalTablePropsMixin.ReadOnDemandThroughputSettingsProperty readOnDemandThroughputSettings) Sets the value ofCfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.getReadOnDemandThroughputSettings()- Parameters:
readOnDemandThroughputSettings- Sets the read request settings for a replica global secondary index. You can only specify this setting if your resource uses thePAY_PER_REQUESTBillingMode.- Returns:
this
-
readProvisionedThroughputSettings
@Stability(Stable) public CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.Builder readProvisionedThroughputSettings(IResolvable readProvisionedThroughputSettings) Sets the value ofCfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.getReadProvisionedThroughputSettings()- Parameters:
readProvisionedThroughputSettings- Allows you to specify the read capacity settings for a replica global secondary index when theBillingModeis set toPROVISIONED.- Returns:
this
-
readProvisionedThroughputSettings
@Stability(Stable) public CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.Builder readProvisionedThroughputSettings(CfnGlobalTablePropsMixin.ReadProvisionedThroughputSettingsProperty readProvisionedThroughputSettings) Sets the value ofCfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty.getReadProvisionedThroughputSettings()- Parameters:
readProvisionedThroughputSettings- Allows you to specify the read capacity settings for a replica global secondary index when theBillingModeis set toPROVISIONED.- Returns:
this
-
build
@Stability(Stable) public CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty>- Returns:
- a new instance of
CfnGlobalTablePropsMixin.ReplicaGlobalSecondaryIndexSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-