Interface StartProjectVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartProjectVersionRequest.Builder,,StartProjectVersionRequest> RekognitionRequest.Builder,SdkBuilder<StartProjectVersionRequest.Builder,,StartProjectVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartProjectVersionRequest
public static interface StartProjectVersionRequest.Builder
extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<StartProjectVersionRequest.Builder,StartProjectVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxInferenceUnits(Integer maxInferenceUnits) The maximum number of inference units to use for auto-scaling the model.minInferenceUnits(Integer minInferenceUnits) The minimum number of inference units to use.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.projectVersionArn(String projectVersionArn) The Amazon Resource Name(ARN) of the model version that you want to start.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.rekognition.model.RekognitionRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
projectVersionArn
The Amazon Resource Name(ARN) of the model version that you want to start.
- Parameters:
projectVersionArn- The Amazon Resource Name(ARN) of the model version that you want to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minInferenceUnits
The minimum number of inference units to use. A single inference unit represents 1 hour of processing.
Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.
- Parameters:
minInferenceUnits- The minimum number of inference units to use. A single inference unit represents 1 hour of processing.Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxInferenceUnits
The maximum number of inference units to use for auto-scaling the model. If you don't specify a value, Amazon Rekognition Custom Labels doesn't auto-scale the model.
- Parameters:
maxInferenceUnits- The maximum number of inference units to use for auto-scaling the model. If you don't specify a value, Amazon Rekognition Custom Labels doesn't auto-scale the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartProjectVersionRequest.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
StartProjectVersionRequest.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.
-