Interface CloudwatchMetricAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CloudwatchMetricAction.Builder,
,CloudwatchMetricAction> SdkBuilder<CloudwatchMetricAction.Builder,
,CloudwatchMetricAction> SdkPojo
- Enclosing class:
CloudwatchMetricAction
@Mutable
@NotThreadSafe
public static interface CloudwatchMetricAction.Builder
extends SdkPojo, CopyableBuilder<CloudwatchMetricAction.Builder,CloudwatchMetricAction>
-
Method Summary
Modifier and TypeMethodDescriptionmetricName
(String metricName) The CloudWatch metric name.metricNamespace
(String metricNamespace) The CloudWatch metric namespace name.metricTimestamp
(String metricTimestamp) An optional Unix timestamp.metricUnit
(String metricUnit) The metric unit supported by CloudWatch.metricValue
(String metricValue) The CloudWatch metric value.The IAM role that allows access to the CloudWatch metric.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
roleArn
The IAM role that allows access to the CloudWatch metric.
- Parameters:
roleArn
- The IAM role that allows access to the CloudWatch metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricNamespace
The CloudWatch metric namespace name.
- Parameters:
metricNamespace
- The CloudWatch metric namespace name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricName
The CloudWatch metric name.
- Parameters:
metricName
- The CloudWatch metric name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricValue
The CloudWatch metric value.
- Parameters:
metricValue
- The CloudWatch metric value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricUnit
The metric unit supported by CloudWatch.
- Parameters:
metricUnit
- The metric unit supported by CloudWatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricTimestamp
An optional Unix timestamp.
- Parameters:
metricTimestamp
- An optional Unix timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-