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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionRequest.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
-
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.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
StartProjectVersionRequest.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.
-