Interface DescribeAlarmHistoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchResponse.Builder
,CopyableBuilder<DescribeAlarmHistoryResponse.Builder,DescribeAlarmHistoryResponse>
,SdkBuilder<DescribeAlarmHistoryResponse.Builder,DescribeAlarmHistoryResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeAlarmHistoryResponse
public static interface DescribeAlarmHistoryResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<DescribeAlarmHistoryResponse.Builder,DescribeAlarmHistoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAlarmHistoryResponse.Builder
alarmHistoryItems(Collection<AlarmHistoryItem> alarmHistoryItems)
The alarm histories, in JSON format.DescribeAlarmHistoryResponse.Builder
alarmHistoryItems(Consumer<AlarmHistoryItem.Builder>... alarmHistoryItems)
The alarm histories, in JSON format.DescribeAlarmHistoryResponse.Builder
alarmHistoryItems(AlarmHistoryItem... alarmHistoryItems)
The alarm histories, in JSON format.DescribeAlarmHistoryResponse.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
-
alarmHistoryItems
DescribeAlarmHistoryResponse.Builder alarmHistoryItems(Collection<AlarmHistoryItem> alarmHistoryItems)
The alarm histories, in JSON format.
- Parameters:
alarmHistoryItems
- The alarm histories, in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmHistoryItems
DescribeAlarmHistoryResponse.Builder alarmHistoryItems(AlarmHistoryItem... alarmHistoryItems)
The alarm histories, in JSON format.
- Parameters:
alarmHistoryItems
- The alarm histories, in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmHistoryItems
DescribeAlarmHistoryResponse.Builder alarmHistoryItems(Consumer<AlarmHistoryItem.Builder>... alarmHistoryItems)
The alarm histories, in JSON format.
This is a convenience method that creates an instance of theAlarmHistoryItem.Builder
avoiding the need to create one manually viaAlarmHistoryItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#alarmHistoryItems(List
.) - Parameters:
alarmHistoryItems
- a consumer that will call methods onAlarmHistoryItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#alarmHistoryItems(java.util.Collection
)
-
nextToken
DescribeAlarmHistoryResponse.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.
-
-