Interface ListDetectorsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDetectorsResponse.Builder,ListDetectorsResponse>,IotEventsDataResponse.Builder,SdkBuilder<ListDetectorsResponse.Builder,ListDetectorsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDetectorsResponse
public static interface ListDetectorsResponse.Builder extends IotEventsDataResponse.Builder, SdkPojo, CopyableBuilder<ListDetectorsResponse.Builder,ListDetectorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDetectorsResponse.BuilderdetectorSummaries(Collection<DetectorSummary> detectorSummaries)A list of summary information about the detectors (instances).ListDetectorsResponse.BuilderdetectorSummaries(Consumer<DetectorSummary.Builder>... detectorSummaries)A list of summary information about the detectors (instances).ListDetectorsResponse.BuilderdetectorSummaries(DetectorSummary... detectorSummaries)A list of summary information about the detectors (instances).ListDetectorsResponse.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
-
detectorSummaries
ListDetectorsResponse.Builder detectorSummaries(Collection<DetectorSummary> detectorSummaries)
A list of summary information about the detectors (instances).
- Parameters:
detectorSummaries- A list of summary information about the detectors (instances).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorSummaries
ListDetectorsResponse.Builder detectorSummaries(DetectorSummary... detectorSummaries)
A list of summary information about the detectors (instances).
- Parameters:
detectorSummaries- A list of summary information about the detectors (instances).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorSummaries
ListDetectorsResponse.Builder detectorSummaries(Consumer<DetectorSummary.Builder>... detectorSummaries)
A list of summary information about the detectors (instances).
This is a convenience method that creates an instance of theDetectorSummary.Builderavoiding the need to create one manually viaDetectorSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#detectorSummaries(List.) - Parameters:
detectorSummaries- a consumer that will call methods onDetectorSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#detectorSummaries(java.util.Collection)
-
nextToken
ListDetectorsResponse.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.
-
-