Interface DescribeAlarmsForMetricResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchResponse.Builder,CopyableBuilder<DescribeAlarmsForMetricResponse.Builder,DescribeAlarmsForMetricResponse>,SdkBuilder<DescribeAlarmsForMetricResponse.Builder,DescribeAlarmsForMetricResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeAlarmsForMetricResponse
@Mutable @NotThreadSafe public static interface DescribeAlarmsForMetricResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<DescribeAlarmsForMetricResponse.Builder,DescribeAlarmsForMetricResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAlarmsForMetricResponse.BuildermetricAlarms(Collection<MetricAlarm> metricAlarms)The information for each alarm with the specified metric.DescribeAlarmsForMetricResponse.BuildermetricAlarms(Consumer<MetricAlarm.Builder>... metricAlarms)The information for each alarm with the specified metric.DescribeAlarmsForMetricResponse.BuildermetricAlarms(MetricAlarm... metricAlarms)The information for each alarm with the specified metric.-
Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
metricAlarms
DescribeAlarmsForMetricResponse.Builder metricAlarms(Collection<MetricAlarm> metricAlarms)
The information for each alarm with the specified metric.
- Parameters:
metricAlarms- The information for each alarm with the specified metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricAlarms
DescribeAlarmsForMetricResponse.Builder metricAlarms(MetricAlarm... metricAlarms)
The information for each alarm with the specified metric.
- Parameters:
metricAlarms- The information for each alarm with the specified metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricAlarms
DescribeAlarmsForMetricResponse.Builder metricAlarms(Consumer<MetricAlarm.Builder>... metricAlarms)
The information for each alarm with the specified metric.
This is a convenience method that creates an instance of theMetricAlarm.Builderavoiding the need to create one manually viaMetricAlarm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metricAlarms(List.) - Parameters:
metricAlarms- a consumer that will call methods onMetricAlarm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metricAlarms(java.util.Collection)
-
-