Interface ProductionVariantServerlessConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProductionVariantServerlessConfig.Builder,
,ProductionVariantServerlessConfig> SdkBuilder<ProductionVariantServerlessConfig.Builder,
,ProductionVariantServerlessConfig> SdkPojo
- Enclosing class:
ProductionVariantServerlessConfig
-
Method Summary
Modifier and TypeMethodDescriptionmaxConcurrency
(Integer maxConcurrency) The maximum number of concurrent invocations your serverless endpoint can process.memorySizeInMB
(Integer memorySizeInMB) The memory size of your serverless endpoint.provisionedConcurrency
(Integer provisionedConcurrency) The amount of provisioned concurrency to allocate for the serverless endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
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
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
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 toMaxConcurrency
.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.
-