Interface DetectAnomaliesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DetectAnomaliesResponse.Builder,,DetectAnomaliesResponse> LookoutVisionResponse.Builder,SdkBuilder<DetectAnomaliesResponse.Builder,,DetectAnomaliesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DetectAnomaliesResponse
@Mutable
@NotThreadSafe
public static interface DetectAnomaliesResponse.Builder
extends LookoutVisionResponse.Builder, SdkPojo, CopyableBuilder<DetectAnomaliesResponse.Builder,DetectAnomaliesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DetectAnomaliesResponse.BuilderdetectAnomalyResult(Consumer<DetectAnomalyResult.Builder> detectAnomalyResult) The results of theDetectAnomaliesoperation.detectAnomalyResult(DetectAnomalyResult detectAnomalyResult) The results of theDetectAnomaliesoperation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lookoutvision.model.LookoutVisionResponse.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
-
detectAnomalyResult
The results of the
DetectAnomaliesoperation.- Parameters:
detectAnomalyResult- The results of theDetectAnomaliesoperation.- 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 theDetectAnomaliesoperation.DetectAnomalyResult.Builderavoiding the need to create one manually viaDetectAnomalyResult.builder().When the
Consumercompletes,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:
-