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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DetectAnomaliesResponse.BuilderdetectAnomalyResult(Consumer<DetectAnomalyResult.Builder> detectAnomalyResult)The results of theDetectAnomaliesoperation.DetectAnomaliesResponse.BuilderdetectAnomalyResult(DetectAnomalyResult detectAnomalyResult)The results of theDetectAnomaliesoperation.-
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 Detail
-
detectAnomalyResult
DetectAnomaliesResponse.Builder detectAnomalyResult(DetectAnomalyResult 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:
detectAnomalyResult(DetectAnomalyResult)
-
-