Interface GetDetectorModelAnalysisResultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDetectorModelAnalysisResultsResponse.Builder,
,GetDetectorModelAnalysisResultsResponse> IotEventsResponse.Builder
,SdkBuilder<GetDetectorModelAnalysisResultsResponse.Builder,
,GetDetectorModelAnalysisResultsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDetectorModelAnalysisResultsResponse
public static interface GetDetectorModelAnalysisResultsResponse.Builder
extends IotEventsResponse.Builder, SdkPojo, CopyableBuilder<GetDetectorModelAnalysisResultsResponse.Builder,GetDetectorModelAnalysisResultsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionanalysisResults
(Collection<AnalysisResult> analysisResults) Contains information about one or more analysis results.analysisResults
(Consumer<AnalysisResult.Builder>... analysisResults) Contains information about one or more analysis results.analysisResults
(AnalysisResult... analysisResults) Contains information about one or more analysis results.The token that you can use to return the next set of results, ornull
if 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 Details
-
analysisResults
GetDetectorModelAnalysisResultsResponse.Builder analysisResults(Collection<AnalysisResult> analysisResults) Contains information about one or more analysis results.
- Parameters:
analysisResults
- Contains information about one or more analysis results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisResults
Contains information about one or more analysis results.
- Parameters:
analysisResults
- Contains information about one or more analysis results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisResults
GetDetectorModelAnalysisResultsResponse.Builder analysisResults(Consumer<AnalysisResult.Builder>... analysisResults) Contains information about one or more analysis results.
This is a convenience method that creates an instance of theAnalysisResult.Builder
avoiding the need to create one manually viaAnalysisResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanalysisResults(List<AnalysisResult>)
.- Parameters:
analysisResults
- a consumer that will call methods onAnalysisResult.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
null
if there are no more results.- Parameters:
nextToken
- The token that you can use to return the next set of results, ornull
if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-