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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAlarmModelsResponse.BuilderalarmModelSummaries(Collection<AlarmModelSummary> alarmModelSummaries)A list that summarizes each alarm model.ListAlarmModelsResponse.BuilderalarmModelSummaries(Consumer<AlarmModelSummary.Builder>... alarmModelSummaries)A list that summarizes each alarm model.ListAlarmModelsResponse.BuilderalarmModelSummaries(AlarmModelSummary... alarmModelSummaries)A list that summarizes each alarm model.ListAlarmModelsResponse.BuildernextToken(String nextToken)The token that you can use to return the next set of results, ornullif 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 Detail
-
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
ListAlarmModelsResponse.Builder alarmModelSummaries(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
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.Builderavoiding the need to create one manually viaAlarmModelSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#alarmModelSummaries(List.) - 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:
#alarmModelSummaries(java.util.Collection)
-
nextToken
ListAlarmModelsResponse.Builder nextToken(String nextToken)
The token that you can use to return the next set of results, or
nullif there are no more results.- Parameters:
nextToken- The token that you can use to return the next set of results, ornullif there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-