Interface DetectAnomaliesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DetectAnomaliesRequest.Builder,
,DetectAnomaliesRequest> LookoutVisionRequest.Builder
,SdkBuilder<DetectAnomaliesRequest.Builder,
,DetectAnomaliesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DetectAnomaliesRequest
public static interface DetectAnomaliesRequest.Builder
extends LookoutVisionRequest.Builder, SdkPojo, CopyableBuilder<DetectAnomaliesRequest.Builder,DetectAnomaliesRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncontentType
(String contentType) The type of the image passed inBody
.modelVersion
(String modelVersion) The version of the model that you want to use.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.projectName
(String projectName) The name of the project that contains the model version that you want to use.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lookoutvision.model.LookoutVisionRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
projectName
The name of the project that contains the model version that you want to use.
- Parameters:
projectName
- The name of the project that contains the model version that you want to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersion
The version of the model that you want to use.
- Parameters:
modelVersion
- The version of the model that you want to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The type of the image passed in
Body
. Valid values areimage/png
(PNG format images) andimage/jpeg
(JPG format images).- Parameters:
contentType
- The type of the image passed inBody
. Valid values areimage/png
(PNG format images) andimage/jpeg
(JPG format images).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DetectAnomaliesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DetectAnomaliesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-