@Stability(value=Stable) public static final class CfnTopicRule.CloudwatchMetricActionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTopicRule.CloudwatchMetricActionProperty>
CfnTopicRule.CloudwatchMetricActionProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnTopicRule.CloudwatchMetricActionProperty.Builder metricName(String metricName)
CfnTopicRule.CloudwatchMetricActionProperty.getMetricName()metricName - The CloudWatch metric name. This parameter is required.this@Stability(value=Stable) public CfnTopicRule.CloudwatchMetricActionProperty.Builder metricNamespace(String metricNamespace)
CfnTopicRule.CloudwatchMetricActionProperty.getMetricNamespace()metricNamespace - The CloudWatch metric namespace name. This parameter is required.this@Stability(value=Stable) public CfnTopicRule.CloudwatchMetricActionProperty.Builder metricUnit(String metricUnit)
CfnTopicRule.CloudwatchMetricActionProperty.getMetricUnit()metricUnit - The [metric unit](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit) supported by CloudWatch. This parameter is required.this@Stability(value=Stable) public CfnTopicRule.CloudwatchMetricActionProperty.Builder metricValue(String metricValue)
CfnTopicRule.CloudwatchMetricActionProperty.getMetricValue()metricValue - The CloudWatch metric value. This parameter is required.this@Stability(value=Stable) public CfnTopicRule.CloudwatchMetricActionProperty.Builder roleArn(String roleArn)
CfnTopicRule.CloudwatchMetricActionProperty.getRoleArn()roleArn - The IAM role that allows access to the CloudWatch metric. This parameter is required.this@Stability(value=Stable) public CfnTopicRule.CloudwatchMetricActionProperty.Builder metricTimestamp(String metricTimestamp)
CfnTopicRule.CloudwatchMetricActionProperty.getMetricTimestamp()metricTimestamp - An optional [Unix timestamp](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp) .this@Stability(value=Stable) public CfnTopicRule.CloudwatchMetricActionProperty build()
build in interface software.amazon.jsii.Builder<CfnTopicRule.CloudwatchMetricActionProperty>CfnTopicRule.CloudwatchMetricActionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.