Interface DescribeAlarmsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchResponse.Builder
,CopyableBuilder<DescribeAlarmsResponse.Builder,DescribeAlarmsResponse>
,SdkBuilder<DescribeAlarmsResponse.Builder,DescribeAlarmsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeAlarmsResponse
public static interface DescribeAlarmsResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<DescribeAlarmsResponse.Builder,DescribeAlarmsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAlarmsResponse.Builder
compositeAlarms(Collection<CompositeAlarm> compositeAlarms)
The information about any composite alarms returned by the operation.DescribeAlarmsResponse.Builder
compositeAlarms(Consumer<CompositeAlarm.Builder>... compositeAlarms)
The information about any composite alarms returned by the operation.DescribeAlarmsResponse.Builder
compositeAlarms(CompositeAlarm... compositeAlarms)
The information about any composite alarms returned by the operation.DescribeAlarmsResponse.Builder
metricAlarms(Collection<MetricAlarm> metricAlarms)
The information about any metric alarms returned by the operation.DescribeAlarmsResponse.Builder
metricAlarms(Consumer<MetricAlarm.Builder>... metricAlarms)
The information about any metric alarms returned by the operation.DescribeAlarmsResponse.Builder
metricAlarms(MetricAlarm... metricAlarms)
The information about any metric alarms returned by the operation.DescribeAlarmsResponse.Builder
nextToken(String nextToken)
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 Detail
-
compositeAlarms
DescribeAlarmsResponse.Builder compositeAlarms(Collection<CompositeAlarm> 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
DescribeAlarmsResponse.Builder compositeAlarms(CompositeAlarm... 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
DescribeAlarmsResponse.Builder compositeAlarms(Consumer<CompositeAlarm.Builder>... 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 to#compositeAlarms(List
.) - 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:
#compositeAlarms(java.util.Collection
)
-
metricAlarms
DescribeAlarmsResponse.Builder metricAlarms(Collection<MetricAlarm> 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
DescribeAlarmsResponse.Builder metricAlarms(MetricAlarm... 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
DescribeAlarmsResponse.Builder metricAlarms(Consumer<MetricAlarm.Builder>... 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 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
)
-
nextToken
DescribeAlarmsResponse.Builder nextToken(String 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.
-
-