Interface ListAlarmsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAlarmsResponse.Builder,
,ListAlarmsResponse> IotEventsDataResponse.Builder
,SdkBuilder<ListAlarmsResponse.Builder,
,ListAlarmsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAlarmsResponse
public static interface ListAlarmsResponse.Builder
extends IotEventsDataResponse.Builder, SdkPojo, CopyableBuilder<ListAlarmsResponse.Builder,ListAlarmsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionalarmSummaries
(Collection<AlarmSummary> alarmSummaries) A list that summarizes each alarm.alarmSummaries
(Consumer<AlarmSummary.Builder>... alarmSummaries) A list that summarizes each alarm.alarmSummaries
(AlarmSummary... alarmSummaries) A list that summarizes each alarm.The token that you can use to return the next set of results, ornull
if there are no more results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ioteventsdata.model.IotEventsDataResponse.Builder
build, responseMetadata, responseMetadata
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
-
alarmSummaries
A list that summarizes each alarm.
- Parameters:
alarmSummaries
- A list that summarizes each alarm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmSummaries
A list that summarizes each alarm.
- Parameters:
alarmSummaries
- A list that summarizes each alarm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmSummaries
A list that summarizes each alarm.
This is a convenience method that creates an instance of theAlarmSummary.Builder
avoiding the need to create one manually viaAlarmSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalarmSummaries(List<AlarmSummary>)
.- Parameters:
alarmSummaries
- a consumer that will call methods onAlarmSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token that you can use to return the next set of results, or
null
if there are no more results.- Parameters:
nextToken
- The token that you can use to return the next set of results, ornull
if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-