@Stability(value=Experimental) public static final class CloudWatchPutMetricActionProps.Builder extends Object implements software.amazon.jsii.Builder<CloudWatchPutMetricActionProps>
CloudWatchPutMetricActionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CloudWatchPutMetricActionProps |
build()
Builds the configured instance.
|
CloudWatchPutMetricActionProps.Builder |
metricName(String metricName)
Sets the value of
CloudWatchPutMetricActionProps.getMetricName() |
CloudWatchPutMetricActionProps.Builder |
metricNamespace(String metricNamespace)
Sets the value of
CloudWatchPutMetricActionProps.getMetricNamespace() |
CloudWatchPutMetricActionProps.Builder |
metricTimestamp(String metricTimestamp)
Sets the value of
CloudWatchPutMetricActionProps.getMetricTimestamp() |
CloudWatchPutMetricActionProps.Builder |
metricUnit(String metricUnit)
Sets the value of
CloudWatchPutMetricActionProps.getMetricUnit() |
CloudWatchPutMetricActionProps.Builder |
metricValue(String metricValue)
Sets the value of
CloudWatchPutMetricActionProps.getMetricValue() |
CloudWatchPutMetricActionProps.Builder |
role(IRole role)
Sets the value of
CommonActionProps.getRole() |
@Stability(value=Experimental) public CloudWatchPutMetricActionProps.Builder metricName(String metricName)
CloudWatchPutMetricActionProps.getMetricName()metricName - The CloudWatch metric name. This parameter is required.
Supports substitution templates.this@Stability(value=Experimental) public CloudWatchPutMetricActionProps.Builder metricNamespace(String metricNamespace)
CloudWatchPutMetricActionProps.getMetricNamespace()metricNamespace - The CloudWatch metric namespace name. This parameter is required.
Supports substitution templates.this@Stability(value=Experimental) public CloudWatchPutMetricActionProps.Builder metricUnit(String metricUnit)
CloudWatchPutMetricActionProps.getMetricUnit()metricUnit - The metric unit supported by CloudWatch. This parameter is required.
Supports substitution templates.this@Stability(value=Experimental) public CloudWatchPutMetricActionProps.Builder metricValue(String metricValue)
CloudWatchPutMetricActionProps.getMetricValue()metricValue - A string that contains the CloudWatch metric value. This parameter is required.
Supports substitution templates.this@Stability(value=Experimental) public CloudWatchPutMetricActionProps.Builder metricTimestamp(String metricTimestamp)
CloudWatchPutMetricActionProps.getMetricTimestamp()metricTimestamp - A string that contains the timestamp, expressed in seconds in Unix epoch time.
Supports substitution templates.this@Stability(value=Experimental) public CloudWatchPutMetricActionProps.Builder role(IRole role)
CommonActionProps.getRole()role - The IAM role that allows access to AWS service.this@Stability(value=Experimental) public CloudWatchPutMetricActionProps build()
build in interface software.amazon.jsii.Builder<CloudWatchPutMetricActionProps>CloudWatchPutMetricActionPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.