Interface DescribeAlarmsForMetricRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CloudWatchRequest.Builder,- CopyableBuilder<DescribeAlarmsForMetricRequest.Builder,,- DescribeAlarmsForMetricRequest> - SdkBuilder<DescribeAlarmsForMetricRequest.Builder,,- DescribeAlarmsForMetricRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- DescribeAlarmsForMetricRequest
- 
Method SummaryModifier and TypeMethodDescriptiondimensions(Collection<Dimension> dimensions) The dimensions associated with the metric.dimensions(Consumer<Dimension.Builder>... dimensions) The dimensions associated with the metric.dimensions(Dimension... dimensions) The dimensions associated with the metric.extendedStatistic(String extendedStatistic) The percentile statistic for the metric.metricName(String metricName) The name of the metric.The namespace of the metric.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The period, in seconds, over which the statistic is applied.The statistic for the metric, other than percentiles.The statistic for the metric, other than percentiles.The unit for the metric.unit(StandardUnit unit) The unit for the metric.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
metricNameThe name of the metric. - Parameters:
- metricName- The name of the metric.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
namespaceThe namespace of the metric. - Parameters:
- namespace- The namespace of the metric.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statisticThe statistic for the metric, other than percentiles. For percentile statistics, use ExtendedStatistics.- Parameters:
- statistic- The statistic for the metric, other than percentiles. For percentile statistics, use- ExtendedStatistics.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statisticThe statistic for the metric, other than percentiles. For percentile statistics, use ExtendedStatistics.- Parameters:
- statistic- The statistic for the metric, other than percentiles. For percentile statistics, use- ExtendedStatistics.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
extendedStatisticThe percentile statistic for the metric. Specify a value between p0.0 and p100. - Parameters:
- extendedStatistic- The percentile statistic for the metric. Specify a value between p0.0 and p100.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dimensionsThe dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed. - Parameters:
- dimensions- The dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dimensionsThe dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed. - Parameters:
- dimensions- The dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dimensionsThe dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed. This is a convenience method that creates an instance of theDimension.Builderavoiding the need to create one manually viaDimension.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todimensions(List<Dimension>).- Parameters:
- dimensions- a consumer that will call methods on- Dimension.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
periodThe period, in seconds, over which the statistic is applied. - Parameters:
- period- The period, in seconds, over which the statistic is applied.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
unitThe unit for the metric. - Parameters:
- unit- The unit for the metric.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
unitThe unit for the metric. - Parameters:
- unit- The unit for the metric.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationDescribeAlarmsForMetricRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationDescribeAlarmsForMetricRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-