Interface GetDetectorModelAnalysisResultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDetectorModelAnalysisResultsResponse.Builder,,GetDetectorModelAnalysisResultsResponse> IotEventsResponse.Builder,SdkBuilder<GetDetectorModelAnalysisResultsResponse.Builder,,GetDetectorModelAnalysisResultsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDetectorModelAnalysisResultsResponse
@Mutable
@NotThreadSafe
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, 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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaAnalysisResult.builder().When the
Consumercompletes,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
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.
-