Interface DetectAnomaliesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DetectAnomaliesRequest.Builder,,DetectAnomaliesRequest> LookoutVisionRequest.Builder,SdkBuilder<DetectAnomaliesRequest.Builder,,DetectAnomaliesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DetectAnomaliesRequest
@Mutable
@NotThreadSafe
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lookoutvision.model.LookoutVisionRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-