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 Details

    • projectVersionArn

      StartProjectVersionRequest.Builder projectVersionArn(String 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

      StartProjectVersionRequest.Builder minInferenceUnits(Integer 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

      StartProjectVersionRequest.Builder maxInferenceUnits(Integer 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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.