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
Modifier and TypeMethodDescriptiondetectorSummaries(Collection<DetectorSummary> detectorSummaries) A list of summary information about the detectors (instances).detectorSummaries(Consumer<DetectorSummary.Builder>... detectorSummaries) A list of summary information about the detectors (instances).detectorSummaries(DetectorSummary... detectorSummaries) A list of summary information about the detectors (instances).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
copyMethods inherited from interface software.amazon.awssdk.services.ioteventsdata.model.IotEventsDataResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 todetectorSummaries(List<DetectorSummary>).- 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:
-
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.
-