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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAlarmsResponse.BuilderalarmSummaries(Collection<AlarmSummary> alarmSummaries)A list that summarizes each alarm.ListAlarmsResponse.BuilderalarmSummaries(Consumer<AlarmSummary.Builder>... alarmSummaries)A list that summarizes each alarm.ListAlarmsResponse.BuilderalarmSummaries(AlarmSummary... alarmSummaries)A list that summarizes each alarm.ListAlarmsResponse.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.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 Detail
-
alarmSummaries
ListAlarmsResponse.Builder alarmSummaries(Collection<AlarmSummary> 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
ListAlarmsResponse.Builder alarmSummaries(AlarmSummary... 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
ListAlarmsResponse.Builder alarmSummaries(Consumer<AlarmSummary.Builder>... alarmSummaries)
A list that summarizes each alarm.
This is a convenience method that creates an instance of theAlarmSummary.Builderavoiding the need to create one manually viaAlarmSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#alarmSummaries(List.) - 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:
#alarmSummaries(java.util.Collection)
-
nextToken
ListAlarmsResponse.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.
-
-