Interface DescribeAlarmContributorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchResponse.Builder
,CopyableBuilder<DescribeAlarmContributorsResponse.Builder,
,DescribeAlarmContributorsResponse> SdkBuilder<DescribeAlarmContributorsResponse.Builder,
,DescribeAlarmContributorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAlarmContributorsResponse
@Mutable
@NotThreadSafe
public static interface DescribeAlarmContributorsResponse.Builder
extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<DescribeAlarmContributorsResponse.Builder,DescribeAlarmContributorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionalarmContributors
(Collection<AlarmContributor> alarmContributors) A list of alarm contributors that provide details about the individual time series contributing to the alarm's state.alarmContributors
(Consumer<AlarmContributor.Builder>... alarmContributors) A list of alarm contributors that provide details about the individual time series contributing to the alarm's state.alarmContributors
(AlarmContributor... alarmContributors) A list of alarm contributors that provide details about the individual time series contributing to the alarm's state.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
alarmContributors
DescribeAlarmContributorsResponse.Builder alarmContributors(Collection<AlarmContributor> alarmContributors) A list of alarm contributors that provide details about the individual time series contributing to the alarm's state.
- Parameters:
alarmContributors
- A list of alarm contributors that provide details about the individual time series contributing to the alarm's state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmContributors
A list of alarm contributors that provide details about the individual time series contributing to the alarm's state.
- Parameters:
alarmContributors
- A list of alarm contributors that provide details about the individual time series contributing to the alarm's state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmContributors
DescribeAlarmContributorsResponse.Builder alarmContributors(Consumer<AlarmContributor.Builder>... alarmContributors) A list of alarm contributors that provide details about the individual time series contributing to the alarm's state.
This is a convenience method that creates an instance of theAlarmContributor.Builder
avoiding the need to create one manually viaAlarmContributor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalarmContributors(List<AlarmContributor>)
.- Parameters:
alarmContributors
- a consumer that will call methods onAlarmContributor.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.
-