Interface DetectAnomaliesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DetectAnomaliesResponse.Builder,
,DetectAnomaliesResponse> LookoutVisionResponse.Builder
,SdkBuilder<DetectAnomaliesResponse.Builder,
,DetectAnomaliesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DetectAnomaliesResponse
public static interface DetectAnomaliesResponse.Builder
extends LookoutVisionResponse.Builder, SdkPojo, CopyableBuilder<DetectAnomaliesResponse.Builder,DetectAnomaliesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DetectAnomaliesResponse.Builder
detectAnomalyResult
(Consumer<DetectAnomalyResult.Builder> detectAnomalyResult) The results of theDetectAnomalies
operation.detectAnomalyResult
(DetectAnomalyResult detectAnomalyResult) The results of theDetectAnomalies
operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lookoutvision.model.LookoutVisionResponse.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
-
detectAnomalyResult
The results of the
DetectAnomalies
operation.- Parameters:
detectAnomalyResult
- The results of theDetectAnomalies
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectAnomalyResult
default DetectAnomaliesResponse.Builder detectAnomalyResult(Consumer<DetectAnomalyResult.Builder> detectAnomalyResult) The results of the
This is a convenience method that creates an instance of theDetectAnomalies
operation.DetectAnomalyResult.Builder
avoiding the need to create one manually viaDetectAnomalyResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetectAnomalyResult(DetectAnomalyResult)
.- Parameters:
detectAnomalyResult
- a consumer that will call methods onDetectAnomalyResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-