io.github.cdklabs.cdkmonitoringconstructs.DynamoTableMonitoring Maven / Gradle / Ivy
package io.github.cdklabs.cdkmonitoringconstructs;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.93.0 (build 1706ca5)", date = "2024-01-08T00:34:46.604Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdkmonitoringconstructs.$Module.class, fqn = "cdk-monitoring-constructs.DynamoTableMonitoring")
public class DynamoTableMonitoring extends io.github.cdklabs.cdkmonitoringconstructs.Monitoring {
protected DynamoTableMonitoring(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected DynamoTableMonitoring(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param scope This parameter is required.
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public DynamoTableMonitoring(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.MonitoringScope scope, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.DynamoTableMonitoringProps props) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* @param width This parameter is required.
* @param height This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.GraphWidget createErrorsWidget(final @org.jetbrains.annotations.NotNull java.lang.Number width, final @org.jetbrains.annotations.NotNull java.lang.Number height) {
return software.amazon.jsii.Kernel.call(this, "createErrorsWidget", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.GraphWidget.class), new Object[] { java.util.Objects.requireNonNull(width, "width is required"), java.util.Objects.requireNonNull(height, "height is required") });
}
/**
* @param width This parameter is required.
* @param height This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.GraphWidget createLatencyWidget(final @org.jetbrains.annotations.NotNull java.lang.Number width, final @org.jetbrains.annotations.NotNull java.lang.Number height) {
return software.amazon.jsii.Kernel.call(this, "createLatencyWidget", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.GraphWidget.class), new Object[] { java.util.Objects.requireNonNull(width, "width is required"), java.util.Objects.requireNonNull(height, "height is required") });
}
/**
* @param width This parameter is required.
* @param height This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.GraphWidget createReadCapacityWidget(final @org.jetbrains.annotations.NotNull java.lang.Number width, final @org.jetbrains.annotations.NotNull java.lang.Number height) {
return software.amazon.jsii.Kernel.call(this, "createReadCapacityWidget", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.GraphWidget.class), new Object[] { java.util.Objects.requireNonNull(width, "width is required"), java.util.Objects.requireNonNull(height, "height is required") });
}
/**
* @param width This parameter is required.
* @param height This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.GraphWidget createThrottlesWidget(final @org.jetbrains.annotations.NotNull java.lang.Number width, final @org.jetbrains.annotations.NotNull java.lang.Number height) {
return software.amazon.jsii.Kernel.call(this, "createThrottlesWidget", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.GraphWidget.class), new Object[] { java.util.Objects.requireNonNull(width, "width is required"), java.util.Objects.requireNonNull(height, "height is required") });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.MonitoringHeaderWidget createTitleWidget() {
return software.amazon.jsii.Kernel.call(this, "createTitleWidget", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.MonitoringHeaderWidget.class));
}
/**
* @param width This parameter is required.
* @param height This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.GraphWidget createWriteCapacityWidget(final @org.jetbrains.annotations.NotNull java.lang.Number width, final @org.jetbrains.annotations.NotNull java.lang.Number height) {
return software.amazon.jsii.Kernel.call(this, "createWriteCapacityWidget", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.GraphWidget.class), new Object[] { java.util.Objects.requireNonNull(width, "width is required"), java.util.Objects.requireNonNull(height, "height is required") });
}
/**
* @param operation This parameter is required.
* @param alarm
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
protected void forEachOperationLatencyAlarmDefinition(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.dynamodb.Operation operation, final @org.jetbrains.annotations.Nullable java.util.Map alarm) {
software.amazon.jsii.Kernel.call(this, "forEachOperationLatencyAlarmDefinition", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(operation, "operation is required"), alarm });
}
/**
* @param operation This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
protected void forEachOperationLatencyAlarmDefinition(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.dynamodb.Operation operation) {
software.amazon.jsii.Kernel.call(this, "forEachOperationLatencyAlarmDefinition", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(operation, "operation is required") });
}
/**
* (experimental) Returns widgets to be placed on the summary dashboard.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public @org.jetbrains.annotations.NotNull java.util.List summaryWidgets() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.call(this, "summaryWidgets", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.IWidget.class))));
}
/**
* (experimental) Returns widgets to be placed on the main dashboard.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public @org.jetbrains.annotations.NotNull java.util.List widgets() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.call(this, "widgets", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.IWidget.class))));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmFactory getAlarmFactory() {
return software.amazon.jsii.Kernel.get(this, "alarmFactory", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.AlarmFactory.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.util.Map getAveragePerOperationLatencyMetrics() {
return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.get(this, "averagePerOperationLatencyMetrics", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.Object getConsumedReadUnitsMetric() {
return software.amazon.jsii.Kernel.get(this, "consumedReadUnitsMetric", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.Object getConsumedWriteUnitsMetric() {
return software.amazon.jsii.Kernel.get(this, "consumedWriteUnitsMetric", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.DynamoAlarmFactory getDynamoCapacityAlarmFactory() {
return software.amazon.jsii.Kernel.get(this, "dynamoCapacityAlarmFactory", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.DynamoAlarmFactory.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.util.List getDynamoReadCapacityAnnotations() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "dynamoReadCapacityAnnotations", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.HorizontalAnnotation.class))));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.util.List getDynamoWriteCapacityAnnotations() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "dynamoWriteCapacityAnnotations", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.HorizontalAnnotation.class))));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.ErrorAlarmFactory getErrorAlarmFactory() {
return software.amazon.jsii.Kernel.get(this, "errorAlarmFactory", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.ErrorAlarmFactory.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.util.List getErrorCountAnnotations() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "errorCountAnnotations", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.HorizontalAnnotation.class))));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.LatencyAlarmFactory getLatencyAlarmFactory() {
return software.amazon.jsii.Kernel.get(this, "latencyAlarmFactory", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.LatencyAlarmFactory.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.util.List getLatencyAnnotations() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "latencyAnnotations", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.HorizontalAnnotation.class))));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.IMetric getLatencyAverageSearchMetrics() {
return software.amazon.jsii.Kernel.get(this, "latencyAverageSearchMetrics", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.IMetric.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.Object getProvisionedReadUnitsMetric() {
return software.amazon.jsii.Kernel.get(this, "provisionedReadUnitsMetric", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.Object getProvisionedWriteUnitsMetric() {
return software.amazon.jsii.Kernel.get(this, "provisionedWriteUnitsMetric", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.Object getReadCapacityUsageMetric() {
return software.amazon.jsii.Kernel.get(this, "readCapacityUsageMetric", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.Object getReadThrottleCountMetric() {
return software.amazon.jsii.Kernel.get(this, "readThrottleCountMetric", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.Object getSystemErrorMetric() {
return software.amazon.jsii.Kernel.get(this, "systemErrorMetric", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.dynamodb.BillingMode getTableBillingMode() {
return software.amazon.jsii.Kernel.get(this, "tableBillingMode", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.dynamodb.BillingMode.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.util.List getThrottledEventsAnnotations() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "throttledEventsAnnotations", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.HorizontalAnnotation.class))));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.String getTitle() {
return software.amazon.jsii.Kernel.get(this, "title", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.Object getWriteCapacityUsageMetric() {
return software.amazon.jsii.Kernel.get(this, "writeCapacityUsageMetric", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.Object getWriteThrottleCountMetric() {
return software.amazon.jsii.Kernel.get(this, "writeThrottleCountMetric", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.Nullable java.lang.String getTableUrl() {
return software.amazon.jsii.Kernel.get(this, "tableUrl", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) A fluent builder for {@link io.github.cdklabs.cdkmonitoringconstructs.DynamoTableMonitoring}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static final class Builder implements software.amazon.jsii.Builder {
/**
* @return a new instance of {@link Builder}.
* @param scope This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static Builder create(final io.github.cdklabs.cdkmonitoringconstructs.MonitoringScope scope) {
return new Builder(scope);
}
private final io.github.cdklabs.cdkmonitoringconstructs.MonitoringScope scope;
private final io.github.cdklabs.cdkmonitoringconstructs.DynamoTableMonitoringProps.Builder props;
private Builder(final io.github.cdklabs.cdkmonitoringconstructs.MonitoringScope scope) {
this.scope = scope;
this.props = new io.github.cdklabs.cdkmonitoringconstructs.DynamoTableMonitoringProps.Builder();
}
/**
* (experimental) table to monitor.
*
* @return {@code this}
* @param table table to monitor. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder table(final software.amazon.awscdk.services.dynamodb.ITable table) {
this.props.table(table);
return this;
}
/**
* (experimental) table billing mode.
*
* Default: - best effort auto-detection or PROVISIONED as a fallback
*
* @return {@code this}
* @param billingMode table billing mode. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder billingMode(final software.amazon.awscdk.services.dynamodb.BillingMode billingMode) {
this.props.billingMode(billingMode);
return this;
}
/**
* (experimental) Plain name, used in naming alarms.
*
* This unique among other resources, and respect the AWS CDK restriction posed on alarm names.
* The length must be 1 - 255 characters and although the validation rules are undocumented, we recommend using ASCII and hyphens.
*
* Default: - derives name from the construct itself
*
* @return {@code this}
* @param alarmFriendlyName Plain name, used in naming alarms. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder alarmFriendlyName(final java.lang.String alarmFriendlyName) {
this.props.alarmFriendlyName(alarmFriendlyName);
return this;
}
/**
* (experimental) Human-readable name is a freeform string, used as a caption or description.
*
* There are no limitations on what it can be.
*
* Default: - use alarmFriendlyName
*
* @return {@code this}
* @param humanReadableName Human-readable name is a freeform string, used as a caption or description. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder humanReadableName(final java.lang.String humanReadableName) {
this.props.humanReadableName(humanReadableName);
return this;
}
/**
* (experimental) If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value.
*
* The length must be 1 - 255 characters and although the validation rules are undocumented, we recommend using ASCII and hyphens.
*
* @return {@code this}
* @see AlarmNamingStrategy for more details on alarm name prefixes
* @param localAlarmNamePrefixOverride If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder localAlarmNamePrefixOverride(final java.lang.String localAlarmNamePrefixOverride) {
this.props.localAlarmNamePrefixOverride(localAlarmNamePrefixOverride);
return this;
}
/**
* (experimental) Flag indicating if the widgets should be added to alarm dashboard.
*
* Default: - true
*
* @return {@code this}
* @param addToAlarmDashboard Flag indicating if the widgets should be added to alarm dashboard. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addToAlarmDashboard(final java.lang.Boolean addToAlarmDashboard) {
this.props.addToAlarmDashboard(addToAlarmDashboard);
return this;
}
/**
* (experimental) Flag indicating if the widgets should be added to detailed dashboard.
*
* Default: - true
*
* @return {@code this}
* @param addToDetailDashboard Flag indicating if the widgets should be added to detailed dashboard. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addToDetailDashboard(final java.lang.Boolean addToDetailDashboard) {
this.props.addToDetailDashboard(addToDetailDashboard);
return this;
}
/**
* (experimental) Flag indicating if the widgets should be added to summary dashboard.
*
* Default: - true
*
* @return {@code this}
* @param addToSummaryDashboard Flag indicating if the widgets should be added to summary dashboard. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addToSummaryDashboard(final java.lang.Boolean addToSummaryDashboard) {
this.props.addToSummaryDashboard(addToSummaryDashboard);
return this;
}
/**
* (experimental) Calls provided function to process all alarms created.
*
* @return {@code this}
* @param useCreatedAlarms Calls provided function to process all alarms created. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder useCreatedAlarms(final io.github.cdklabs.cdkmonitoringconstructs.IAlarmConsumer useCreatedAlarms) {
this.props.useCreatedAlarms(useCreatedAlarms);
return this;
}
/**
* @return {@code this}
* @param addAverageSuccessfulBatchGetItemLatencyAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addAverageSuccessfulBatchGetItemLatencyAlarm(final java.util.Map addAverageSuccessfulBatchGetItemLatencyAlarm) {
this.props.addAverageSuccessfulBatchGetItemLatencyAlarm(addAverageSuccessfulBatchGetItemLatencyAlarm);
return this;
}
/**
* @return {@code this}
* @param addAverageSuccessfulBatchWriteItemLatencyAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addAverageSuccessfulBatchWriteItemLatencyAlarm(final java.util.Map addAverageSuccessfulBatchWriteItemLatencyAlarm) {
this.props.addAverageSuccessfulBatchWriteItemLatencyAlarm(addAverageSuccessfulBatchWriteItemLatencyAlarm);
return this;
}
/**
* @return {@code this}
* @param addAverageSuccessfulDeleteItemLatencyAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addAverageSuccessfulDeleteItemLatencyAlarm(final java.util.Map addAverageSuccessfulDeleteItemLatencyAlarm) {
this.props.addAverageSuccessfulDeleteItemLatencyAlarm(addAverageSuccessfulDeleteItemLatencyAlarm);
return this;
}
/**
* @return {@code this}
* @param addAverageSuccessfulGetItemLatencyAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addAverageSuccessfulGetItemLatencyAlarm(final java.util.Map addAverageSuccessfulGetItemLatencyAlarm) {
this.props.addAverageSuccessfulGetItemLatencyAlarm(addAverageSuccessfulGetItemLatencyAlarm);
return this;
}
/**
* @return {@code this}
* @param addAverageSuccessfulGetRecordsLatencyAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addAverageSuccessfulGetRecordsLatencyAlarm(final java.util.Map addAverageSuccessfulGetRecordsLatencyAlarm) {
this.props.addAverageSuccessfulGetRecordsLatencyAlarm(addAverageSuccessfulGetRecordsLatencyAlarm);
return this;
}
/**
* @return {@code this}
* @param addAverageSuccessfulPutItemLatencyAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addAverageSuccessfulPutItemLatencyAlarm(final java.util.Map addAverageSuccessfulPutItemLatencyAlarm) {
this.props.addAverageSuccessfulPutItemLatencyAlarm(addAverageSuccessfulPutItemLatencyAlarm);
return this;
}
/**
* @return {@code this}
* @param addAverageSuccessfulQueryLatencyAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addAverageSuccessfulQueryLatencyAlarm(final java.util.Map addAverageSuccessfulQueryLatencyAlarm) {
this.props.addAverageSuccessfulQueryLatencyAlarm(addAverageSuccessfulQueryLatencyAlarm);
return this;
}
/**
* @return {@code this}
* @param addAverageSuccessfulScanLatencyAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addAverageSuccessfulScanLatencyAlarm(final java.util.Map addAverageSuccessfulScanLatencyAlarm) {
this.props.addAverageSuccessfulScanLatencyAlarm(addAverageSuccessfulScanLatencyAlarm);
return this;
}
/**
* @return {@code this}
* @param addAverageSuccessfulUpdateItemLatencyAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addAverageSuccessfulUpdateItemLatencyAlarm(final java.util.Map addAverageSuccessfulUpdateItemLatencyAlarm) {
this.props.addAverageSuccessfulUpdateItemLatencyAlarm(addAverageSuccessfulUpdateItemLatencyAlarm);
return this;
}
/**
* @return {@code this}
* @param addConsumedReadCapacityAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addConsumedReadCapacityAlarm(final java.util.Map addConsumedReadCapacityAlarm) {
this.props.addConsumedReadCapacityAlarm(addConsumedReadCapacityAlarm);
return this;
}
/**
* @return {@code this}
* @param addConsumedWriteCapacityAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addConsumedWriteCapacityAlarm(final java.util.Map addConsumedWriteCapacityAlarm) {
this.props.addConsumedWriteCapacityAlarm(addConsumedWriteCapacityAlarm);
return this;
}
/**
* @return {@code this}
* @param addReadThrottledEventsCountAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addReadThrottledEventsCountAlarm(final java.util.Map addReadThrottledEventsCountAlarm) {
this.props.addReadThrottledEventsCountAlarm(addReadThrottledEventsCountAlarm);
return this;
}
/**
* @return {@code this}
* @param addSystemErrorCountAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addSystemErrorCountAlarm(final java.util.Map addSystemErrorCountAlarm) {
this.props.addSystemErrorCountAlarm(addSystemErrorCountAlarm);
return this;
}
/**
* @return {@code this}
* @param addWriteThrottledEventsCountAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addWriteThrottledEventsCountAlarm(final java.util.Map addWriteThrottledEventsCountAlarm) {
this.props.addWriteThrottledEventsCountAlarm(addWriteThrottledEventsCountAlarm);
return this;
}
/**
* @return a newly built instance of {@link io.github.cdklabs.cdkmonitoringconstructs.DynamoTableMonitoring}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public io.github.cdklabs.cdkmonitoringconstructs.DynamoTableMonitoring build() {
return new io.github.cdklabs.cdkmonitoringconstructs.DynamoTableMonitoring(
this.scope,
this.props.build()
);
}
}
}