@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProductionVariantServerlessConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the serverless configuration for an endpoint variant.
Constructor and Description |
---|
ProductionVariantServerlessConfig() |
Modifier and Type | Method and Description |
---|---|
ProductionVariantServerlessConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxConcurrency()
The maximum number of concurrent invocations your serverless endpoint can process.
|
Integer |
getMemorySizeInMB()
The memory size of your serverless endpoint.
|
Integer |
getProvisionedConcurrency()
The amount of provisioned concurrency to allocate for the serverless endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxConcurrency(Integer maxConcurrency)
The maximum number of concurrent invocations your serverless endpoint can process.
|
void |
setMemorySizeInMB(Integer memorySizeInMB)
The memory size of your serverless endpoint.
|
void |
setProvisionedConcurrency(Integer provisionedConcurrency)
The amount of provisioned concurrency to allocate for the serverless endpoint.
|
String |
toString()
Returns a string representation of this object.
|
ProductionVariantServerlessConfig |
withMaxConcurrency(Integer maxConcurrency)
The maximum number of concurrent invocations your serverless endpoint can process.
|
ProductionVariantServerlessConfig |
withMemorySizeInMB(Integer memorySizeInMB)
The memory size of your serverless endpoint.
|
ProductionVariantServerlessConfig |
withProvisionedConcurrency(Integer provisionedConcurrency)
The amount of provisioned concurrency to allocate for the serverless endpoint.
|
public void setMemorySizeInMB(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.
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.public Integer getMemorySizeInMB()
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.
public ProductionVariantServerlessConfig withMemorySizeInMB(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.
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.public void setMaxConcurrency(Integer maxConcurrency)
The maximum number of concurrent invocations your serverless endpoint can process.
maxConcurrency
- The maximum number of concurrent invocations your serverless endpoint can process.public Integer getMaxConcurrency()
The maximum number of concurrent invocations your serverless endpoint can process.
public ProductionVariantServerlessConfig withMaxConcurrency(Integer maxConcurrency)
The maximum number of concurrent invocations your serverless endpoint can process.
maxConcurrency
- The maximum number of concurrent invocations your serverless endpoint can process.public void setProvisionedConcurrency(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.
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.
public Integer getProvisionedConcurrency()
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.
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.
public ProductionVariantServerlessConfig withProvisionedConcurrency(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.
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.
public String toString()
toString
in class Object
Object.toString()
public ProductionVariantServerlessConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.