Interface ListAlarmModelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAlarmModelsResponse.Builder,
,ListAlarmModelsResponse> IotEventsResponse.Builder
,SdkBuilder<ListAlarmModelsResponse.Builder,
,ListAlarmModelsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAlarmModelsResponse
public static interface ListAlarmModelsResponse.Builder
extends IotEventsResponse.Builder, SdkPojo, CopyableBuilder<ListAlarmModelsResponse.Builder,ListAlarmModelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionalarmModelSummaries
(Collection<AlarmModelSummary> alarmModelSummaries) A list that summarizes each alarm model.alarmModelSummaries
(Consumer<AlarmModelSummary.Builder>... alarmModelSummaries) A list that summarizes each alarm model.alarmModelSummaries
(AlarmModelSummary... alarmModelSummaries) A list that summarizes each alarm model.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.iotevents.model.IotEventsResponse.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
-
alarmModelSummaries
ListAlarmModelsResponse.Builder alarmModelSummaries(Collection<AlarmModelSummary> alarmModelSummaries) A list that summarizes each alarm model.
- Parameters:
alarmModelSummaries
- A list that summarizes each alarm model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmModelSummaries
A list that summarizes each alarm model.
- Parameters:
alarmModelSummaries
- A list that summarizes each alarm model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmModelSummaries
ListAlarmModelsResponse.Builder alarmModelSummaries(Consumer<AlarmModelSummary.Builder>... alarmModelSummaries) A list that summarizes each alarm model.
This is a convenience method that creates an instance of theAlarmModelSummary.Builder
avoiding the need to create one manually viaAlarmModelSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalarmModelSummaries(List<AlarmModelSummary>)
.- Parameters:
alarmModelSummaries
- a consumer that will call methods onAlarmModelSummary.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.
-