Interface CloudwatchMetricAction.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CloudwatchMetricAction.Builder,CloudwatchMetricAction>
,SdkBuilder<CloudwatchMetricAction.Builder,CloudwatchMetricAction>
,SdkPojo
- Enclosing class:
- CloudwatchMetricAction
public static interface CloudwatchMetricAction.Builder extends SdkPojo, CopyableBuilder<CloudwatchMetricAction.Builder,CloudwatchMetricAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloudwatchMetricAction.Builder
metricName(String metricName)
The CloudWatch metric name.CloudwatchMetricAction.Builder
metricNamespace(String metricNamespace)
The CloudWatch metric namespace name.CloudwatchMetricAction.Builder
metricTimestamp(String metricTimestamp)
An optional Unix timestamp.CloudwatchMetricAction.Builder
metricUnit(String metricUnit)
The metric unit supported by CloudWatch.CloudwatchMetricAction.Builder
metricValue(String metricValue)
The CloudWatch metric value.CloudwatchMetricAction.Builder
roleArn(String roleArn)
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, sdkFields
-
-
-
-
Method Detail
-
roleArn
CloudwatchMetricAction.Builder roleArn(String 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
CloudwatchMetricAction.Builder metricNamespace(String 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
CloudwatchMetricAction.Builder metricName(String 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
CloudwatchMetricAction.Builder metricValue(String 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
CloudwatchMetricAction.Builder metricUnit(String 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
CloudwatchMetricAction.Builder metricTimestamp(String 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.
-
-