@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) |
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.
provisionedConcurrency - The amount of provisioned concurrency to allocate for the serverless endpoint. Should be less than or
equal to MaxConcurrency.public Integer getProvisionedConcurrency()
The amount of provisioned concurrency to allocate for the serverless endpoint. Should be less than or equal to
MaxConcurrency.
MaxConcurrency.public ProductionVariantServerlessConfig withProvisionedConcurrency(Integer provisionedConcurrency)
The amount of provisioned concurrency to allocate for the serverless endpoint. Should be less than or equal to
MaxConcurrency.
provisionedConcurrency - The amount of provisioned concurrency to allocate for the serverless endpoint. Should be less than or
equal to MaxConcurrency.public String toString()
toString in class ObjectObject.toString()public ProductionVariantServerlessConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.