Interface ProductionVariantServerlessConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ProductionVariantServerlessConfig.Builder,ProductionVariantServerlessConfig>, SdkBuilder<ProductionVariantServerlessConfig.Builder,ProductionVariantServerlessConfig>, SdkPojo
Enclosing class:
ProductionVariantServerlessConfig

public static interface ProductionVariantServerlessConfig.Builder extends SdkPojo, CopyableBuilder<ProductionVariantServerlessConfig.Builder,ProductionVariantServerlessConfig>
  • Method Details

    • memorySizeInMB

      ProductionVariantServerlessConfig.Builder memorySizeInMB(Integer memorySizeInMB)

      The memory size of your serverless endpoint. Valid values are in 1 GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144 MB.

      Parameters:
      memorySizeInMB - The memory size of your serverless endpoint. Valid values are in 1 GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144 MB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxConcurrency

      ProductionVariantServerlessConfig.Builder maxConcurrency(Integer maxConcurrency)

      The maximum number of concurrent invocations your serverless endpoint can process.

      Parameters:
      maxConcurrency - The maximum number of concurrent invocations your serverless endpoint can process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provisionedConcurrency

      ProductionVariantServerlessConfig.Builder provisionedConcurrency(Integer provisionedConcurrency)

      The amount of provisioned concurrency to allocate for the serverless endpoint. Should be less than or equal to MaxConcurrency.

      This field is not supported for serverless endpoint recommendations for Inference Recommender jobs. For more information about creating an Inference Recommender job, see CreateInferenceRecommendationsJobs.

      Parameters:
      provisionedConcurrency - The amount of provisioned concurrency to allocate for the serverless endpoint. Should be less than or equal to MaxConcurrency.

      This field is not supported for serverless endpoint recommendations for Inference Recommender jobs. For more information about creating an Inference Recommender job, see CreateInferenceRecommendationsJobs.

      Returns:
      Returns a reference to this object so that method calls can be chained together.