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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProductionVariantServerlessConfig.Builder
maxConcurrency(Integer maxConcurrency)
The maximum number of concurrent invocations your serverless endpoint can process.ProductionVariantServerlessConfig.Builder
memorySizeInMB(Integer memorySizeInMB)
The memory size of your serverless endpoint.ProductionVariantServerlessConfig.Builder
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 Detail
-
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 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.
-
-