Interface DescribeAlarmsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchResponse.Builder
,CopyableBuilder<DescribeAlarmsResponse.Builder,
,DescribeAlarmsResponse> SdkBuilder<DescribeAlarmsResponse.Builder,
,DescribeAlarmsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAlarmsResponse
-
Method Summary
Modifier and TypeMethodDescriptioncompositeAlarms
(Collection<CompositeAlarm> compositeAlarms) The information about any composite alarms returned by the operation.compositeAlarms
(Consumer<CompositeAlarm.Builder>... compositeAlarms) The information about any composite alarms returned by the operation.compositeAlarms
(CompositeAlarm... compositeAlarms) The information about any composite alarms returned by the operation.metricAlarms
(Collection<MetricAlarm> metricAlarms) The information about any metric alarms returned by the operation.metricAlarms
(Consumer<MetricAlarm.Builder>... metricAlarms) The information about any metric alarms returned by the operation.metricAlarms
(MetricAlarm... metricAlarms) The information about any metric alarms returned by the operation.The token that marks the start of the next batch of returned results.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
compositeAlarms
The information about any composite alarms returned by the operation.
- Parameters:
compositeAlarms
- The information about any composite alarms returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compositeAlarms
The information about any composite alarms returned by the operation.
- Parameters:
compositeAlarms
- The information about any composite alarms returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compositeAlarms
The information about any composite alarms returned by the operation.
This is a convenience method that creates an instance of theCompositeAlarm.Builder
avoiding the need to create one manually viaCompositeAlarm.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompositeAlarms(List<CompositeAlarm>)
.- Parameters:
compositeAlarms
- a consumer that will call methods onCompositeAlarm.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricAlarms
The information about any metric alarms returned by the operation.
- Parameters:
metricAlarms
- The information about any metric alarms returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricAlarms
The information about any metric alarms returned by the operation.
- Parameters:
metricAlarms
- The information about any metric alarms returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricAlarms
The information about any metric alarms returned by the operation.
This is a convenience method that creates an instance of theMetricAlarm.Builder
avoiding the need to create one manually viaMetricAlarm.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricAlarms(List<MetricAlarm>)
.- 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:
-
nextToken
The token that marks the start of the next batch of returned results.
- Parameters:
nextToken
- The token that marks the start of the next batch of returned results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-