io.github.cdklabs.cdkmonitoringconstructs.ApiGatewayV2HttpApiMonitoring Maven / Gradle / Ivy
package io.github.cdklabs.cdkmonitoringconstructs;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-24T17:32:51.790Z")
@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.ApiGatewayV2HttpApiMonitoring")
public class ApiGatewayV2HttpApiMonitoring extends io.github.cdklabs.cdkmonitoringconstructs.Monitoring {
protected ApiGatewayV2HttpApiMonitoring(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected ApiGatewayV2HttpApiMonitoring(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 ApiGatewayV2HttpApiMonitoring(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.MonitoringScope scope, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.ApiGatewayV2HttpApiMonitoringProps 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 createErrorCountWidget(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, "createErrorCountWidget", 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 createErrorRateWidget(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, "createErrorRateWidget", 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") });
}
/**
*/
@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 createTpsWidget(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, "createTpsWidget", 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") });
}
/**
* (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.lang.Object getError4xxCountMetric() {
return software.amazon.jsii.Kernel.get(this, "error4xxCountMetric", 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 getError4xxRateMetric() {
return software.amazon.jsii.Kernel.get(this, "error4xxRateMetric", 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 getError5xxCountMetric() {
return software.amazon.jsii.Kernel.get(this, "error5xxCountMetric", 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 getError5xxRateMetric() {
return software.amazon.jsii.Kernel.get(this, "error5xxRateMetric", 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.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 java.util.List getErrorRateAnnotations() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "errorRateAnnotations", 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.Map getIntegrationLatencyMetrics() {
return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.get(this, "integrationLatencyMetrics", 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 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 java.util.Map getLatencyMetrics() {
return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.get(this, "latencyMetrics", 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.util.List getLatencyTypesToRender() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "latencyTypesToRender", software.amazon.jsii.NativeType.listOf(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.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 io.github.cdklabs.cdkmonitoringconstructs.TpsAlarmFactory getTpsAlarmFactory() {
return software.amazon.jsii.Kernel.get(this, "tpsAlarmFactory", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.TpsAlarmFactory.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.util.List getTpsAnnotations() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "tpsAnnotations", 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.Object getTpsMetric() {
return software.amazon.jsii.Kernel.get(this, "tpsMetric", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
* (experimental) A fluent builder for {@link io.github.cdklabs.cdkmonitoringconstructs.ApiGatewayV2HttpApiMonitoring}.
*/
@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.ApiGatewayV2HttpApiMonitoringProps.Builder props;
private Builder(final io.github.cdklabs.cdkmonitoringconstructs.MonitoringScope scope) {
this.scope = scope;
this.props = new io.github.cdklabs.cdkmonitoringconstructs.ApiGatewayV2HttpApiMonitoringProps.Builder();
}
/**
* (experimental) Account where the metrics exist.
*
* Default: The account configured by the construct holding the Monitoring construct
*
* @return {@code this}
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html
* @param account Account where the metrics exist. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder account(final java.lang.String account) {
this.props.account(account);
return this;
}
/**
* (experimental) Region where the metrics exist.
*
* Default: The region configured by the construct holding the Monitoring construct
*
* @return {@code this}
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html
* @param region Region where the metrics exist. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder region(final java.lang.String region) {
this.props.region(region);
return this;
}
/**
* @return {@code this}
* @param api This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder api(final software.amazon.awscdk.services.apigatewayv2.IHttpApi api) {
this.props.api(api);
return this;
}
/**
* (experimental) On undefined value is not set in dimensions.
*
* @return {@code this}
* @param apiMethod On undefined value is not set in dimensions. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder apiMethod(final java.lang.String apiMethod) {
this.props.apiMethod(apiMethod);
return this;
}
/**
* (experimental) On undefined value is not set in dimensions.
*
* @return {@code this}
* @param apiResource On undefined value is not set in dimensions. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder apiResource(final java.lang.String apiResource) {
this.props.apiResource(apiResource);
return this;
}
/**
* Default: - $default
*
* @return {@code this}
* @param apiStage This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder apiStage(final java.lang.String apiStage) {
this.props.apiStage(apiStage);
return this;
}
/**
* Default: - true
*
* @return {@code this}
* @param fillTpsWithZeroes This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder fillTpsWithZeroes(final java.lang.Boolean fillTpsWithZeroes) {
this.props.fillTpsWithZeroes(fillTpsWithZeroes);
return this;
}
/**
* Default: - average
*
* @return {@code this}
* @param rateComputationMethod This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder rateComputationMethod(final io.github.cdklabs.cdkmonitoringconstructs.RateComputationMethod rateComputationMethod) {
this.props.rateComputationMethod(rateComputationMethod);
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 add4XxCountAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder add4XxCountAlarm(final java.util.Map add4XxCountAlarm) {
this.props.add4XxCountAlarm(add4XxCountAlarm);
return this;
}
/**
* @return {@code this}
* @param add4XxRateAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder add4XxRateAlarm(final java.util.Map add4XxRateAlarm) {
this.props.add4XxRateAlarm(add4XxRateAlarm);
return this;
}
/**
* @return {@code this}
* @param add5XxCountAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder add5XxCountAlarm(final java.util.Map add5XxCountAlarm) {
this.props.add5XxCountAlarm(add5XxCountAlarm);
return this;
}
/**
* @return {@code this}
* @param add5XxRateAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder add5XxRateAlarm(final java.util.Map add5XxRateAlarm) {
this.props.add5XxRateAlarm(add5XxRateAlarm);
return this;
}
/**
* @return {@code this}
* @param addHighTpsAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addHighTpsAlarm(final java.util.Map addHighTpsAlarm) {
this.props.addHighTpsAlarm(addHighTpsAlarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyAverageAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyAverageAlarm(final java.util.Map addIntegrationLatencyAverageAlarm) {
this.props.addIntegrationLatencyAverageAlarm(addIntegrationLatencyAverageAlarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyP100Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyP100Alarm(final java.util.Map addIntegrationLatencyP100Alarm) {
this.props.addIntegrationLatencyP100Alarm(addIntegrationLatencyP100Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyP50Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyP50Alarm(final java.util.Map addIntegrationLatencyP50Alarm) {
this.props.addIntegrationLatencyP50Alarm(addIntegrationLatencyP50Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyP70Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyP70Alarm(final java.util.Map addIntegrationLatencyP70Alarm) {
this.props.addIntegrationLatencyP70Alarm(addIntegrationLatencyP70Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyP90Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyP90Alarm(final java.util.Map addIntegrationLatencyP90Alarm) {
this.props.addIntegrationLatencyP90Alarm(addIntegrationLatencyP90Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyP95Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyP95Alarm(final java.util.Map addIntegrationLatencyP95Alarm) {
this.props.addIntegrationLatencyP95Alarm(addIntegrationLatencyP95Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyP9999Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyP9999Alarm(final java.util.Map addIntegrationLatencyP9999Alarm) {
this.props.addIntegrationLatencyP9999Alarm(addIntegrationLatencyP9999Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyP999Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyP999Alarm(final java.util.Map addIntegrationLatencyP999Alarm) {
this.props.addIntegrationLatencyP999Alarm(addIntegrationLatencyP999Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyP99Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyP99Alarm(final java.util.Map addIntegrationLatencyP99Alarm) {
this.props.addIntegrationLatencyP99Alarm(addIntegrationLatencyP99Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyTm50Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyTm50Alarm(final java.util.Map addIntegrationLatencyTm50Alarm) {
this.props.addIntegrationLatencyTm50Alarm(addIntegrationLatencyTm50Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyTm70Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyTm70Alarm(final java.util.Map addIntegrationLatencyTm70Alarm) {
this.props.addIntegrationLatencyTm70Alarm(addIntegrationLatencyTm70Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyTm90Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyTm90Alarm(final java.util.Map addIntegrationLatencyTm90Alarm) {
this.props.addIntegrationLatencyTm90Alarm(addIntegrationLatencyTm90Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyTm95Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyTm95Alarm(final java.util.Map addIntegrationLatencyTm95Alarm) {
this.props.addIntegrationLatencyTm95Alarm(addIntegrationLatencyTm95Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyTm95OutlierAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyTm95OutlierAlarm(final java.util.Map addIntegrationLatencyTm95OutlierAlarm) {
this.props.addIntegrationLatencyTm95OutlierAlarm(addIntegrationLatencyTm95OutlierAlarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyTm9999Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyTm9999Alarm(final java.util.Map addIntegrationLatencyTm9999Alarm) {
this.props.addIntegrationLatencyTm9999Alarm(addIntegrationLatencyTm9999Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyTm9999OutlierAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyTm9999OutlierAlarm(final java.util.Map addIntegrationLatencyTm9999OutlierAlarm) {
this.props.addIntegrationLatencyTm9999OutlierAlarm(addIntegrationLatencyTm9999OutlierAlarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyTm999Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyTm999Alarm(final java.util.Map addIntegrationLatencyTm999Alarm) {
this.props.addIntegrationLatencyTm999Alarm(addIntegrationLatencyTm999Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyTm999OutlierAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyTm999OutlierAlarm(final java.util.Map addIntegrationLatencyTm999OutlierAlarm) {
this.props.addIntegrationLatencyTm999OutlierAlarm(addIntegrationLatencyTm999OutlierAlarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyTm99Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyTm99Alarm(final java.util.Map addIntegrationLatencyTm99Alarm) {
this.props.addIntegrationLatencyTm99Alarm(addIntegrationLatencyTm99Alarm);
return this;
}
/**
* @return {@code this}
* @param addIntegrationLatencyTm99OutlierAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addIntegrationLatencyTm99OutlierAlarm(final java.util.Map addIntegrationLatencyTm99OutlierAlarm) {
this.props.addIntegrationLatencyTm99OutlierAlarm(addIntegrationLatencyTm99OutlierAlarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyAverageAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyAverageAlarm(final java.util.Map addLatencyAverageAlarm) {
this.props.addLatencyAverageAlarm(addLatencyAverageAlarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyP100Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyP100Alarm(final java.util.Map addLatencyP100Alarm) {
this.props.addLatencyP100Alarm(addLatencyP100Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyP50Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyP50Alarm(final java.util.Map addLatencyP50Alarm) {
this.props.addLatencyP50Alarm(addLatencyP50Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyP70Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyP70Alarm(final java.util.Map addLatencyP70Alarm) {
this.props.addLatencyP70Alarm(addLatencyP70Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyP90Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyP90Alarm(final java.util.Map addLatencyP90Alarm) {
this.props.addLatencyP90Alarm(addLatencyP90Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyP95Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyP95Alarm(final java.util.Map addLatencyP95Alarm) {
this.props.addLatencyP95Alarm(addLatencyP95Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyP9999Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyP9999Alarm(final java.util.Map addLatencyP9999Alarm) {
this.props.addLatencyP9999Alarm(addLatencyP9999Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyP999Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyP999Alarm(final java.util.Map addLatencyP999Alarm) {
this.props.addLatencyP999Alarm(addLatencyP999Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyP99Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyP99Alarm(final java.util.Map addLatencyP99Alarm) {
this.props.addLatencyP99Alarm(addLatencyP99Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyTm50Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyTm50Alarm(final java.util.Map addLatencyTm50Alarm) {
this.props.addLatencyTm50Alarm(addLatencyTm50Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyTm70Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyTm70Alarm(final java.util.Map addLatencyTm70Alarm) {
this.props.addLatencyTm70Alarm(addLatencyTm70Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyTm90Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyTm90Alarm(final java.util.Map addLatencyTm90Alarm) {
this.props.addLatencyTm90Alarm(addLatencyTm90Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyTm95Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyTm95Alarm(final java.util.Map addLatencyTm95Alarm) {
this.props.addLatencyTm95Alarm(addLatencyTm95Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyTm95OutlierAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyTm95OutlierAlarm(final java.util.Map addLatencyTm95OutlierAlarm) {
this.props.addLatencyTm95OutlierAlarm(addLatencyTm95OutlierAlarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyTm9999Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyTm9999Alarm(final java.util.Map addLatencyTm9999Alarm) {
this.props.addLatencyTm9999Alarm(addLatencyTm9999Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyTm9999OutlierAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyTm9999OutlierAlarm(final java.util.Map addLatencyTm9999OutlierAlarm) {
this.props.addLatencyTm9999OutlierAlarm(addLatencyTm9999OutlierAlarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyTm999Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyTm999Alarm(final java.util.Map addLatencyTm999Alarm) {
this.props.addLatencyTm999Alarm(addLatencyTm999Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyTm999OutlierAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyTm999OutlierAlarm(final java.util.Map addLatencyTm999OutlierAlarm) {
this.props.addLatencyTm999OutlierAlarm(addLatencyTm999OutlierAlarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyTm99Alarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyTm99Alarm(final java.util.Map addLatencyTm99Alarm) {
this.props.addLatencyTm99Alarm(addLatencyTm99Alarm);
return this;
}
/**
* @return {@code this}
* @param addLatencyTm99OutlierAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLatencyTm99OutlierAlarm(final java.util.Map addLatencyTm99OutlierAlarm) {
this.props.addLatencyTm99OutlierAlarm(addLatencyTm99OutlierAlarm);
return this;
}
/**
* @return {@code this}
* @param addLowTpsAlarm This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder addLowTpsAlarm(final java.util.Map addLowTpsAlarm) {
this.props.addLowTpsAlarm(addLowTpsAlarm);
return this;
}
/**
* (experimental) You can specify what latency types you want to be rendered in the dashboards.
*
* Note: any latency type with an alarm will be also added automatically.
* If the list is undefined, default values will be shown.
* If the list is empty, only the latency types with an alarm will be shown (if any).
*
* Default: - p50, p90, p99 (
*
* @return {@code this}
* @see DefaultLatencyTypesShown)
* @param latencyTypesToRender You can specify what latency types you want to be rendered in the dashboards. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder latencyTypesToRender(final java.util.List extends io.github.cdklabs.cdkmonitoringconstructs.LatencyType> latencyTypesToRender) {
this.props.latencyTypesToRender(latencyTypesToRender);
return this;
}
/**
* @return a newly built instance of {@link io.github.cdklabs.cdkmonitoringconstructs.ApiGatewayV2HttpApiMonitoring}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public io.github.cdklabs.cdkmonitoringconstructs.ApiGatewayV2HttpApiMonitoring build() {
return new io.github.cdklabs.cdkmonitoringconstructs.ApiGatewayV2HttpApiMonitoring(
this.scope,
this.props.build()
);
}
}
}