Interface ListDetectorModelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDetectorModelsResponse.Builder,,ListDetectorModelsResponse> IotEventsResponse.Builder,SdkBuilder<ListDetectorModelsResponse.Builder,,ListDetectorModelsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDetectorModelsResponse
public static interface ListDetectorModelsResponse.Builder
extends IotEventsResponse.Builder, SdkPojo, CopyableBuilder<ListDetectorModelsResponse.Builder,ListDetectorModelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondetectorModelSummaries(Collection<DetectorModelSummary> detectorModelSummaries) Summary information about the detector models.detectorModelSummaries(Consumer<DetectorModelSummary.Builder>... detectorModelSummaries) Summary information about the detector models.detectorModelSummaries(DetectorModelSummary... detectorModelSummaries) Summary information about the detector models.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.iotevents.model.IotEventsResponse.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
-
detectorModelSummaries
ListDetectorModelsResponse.Builder detectorModelSummaries(Collection<DetectorModelSummary> detectorModelSummaries) Summary information about the detector models.
- Parameters:
detectorModelSummaries- Summary information about the detector models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorModelSummaries
ListDetectorModelsResponse.Builder detectorModelSummaries(DetectorModelSummary... detectorModelSummaries) Summary information about the detector models.
- Parameters:
detectorModelSummaries- Summary information about the detector models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorModelSummaries
ListDetectorModelsResponse.Builder detectorModelSummaries(Consumer<DetectorModelSummary.Builder>... detectorModelSummaries) Summary information about the detector models.
This is a convenience method that creates an instance of theDetectorModelSummary.Builderavoiding the need to create one manually viaDetectorModelSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetectorModelSummaries(List<DetectorModelSummary>).- Parameters:
detectorModelSummaries- a consumer that will call methods onDetectorModelSummary.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.
-