public static final class CfnEndpointConfig.ServerlessConfigProperty.Builder
extends java.lang.Object
CfnEndpointConfig.ServerlessConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnEndpointConfig.ServerlessConfigProperty |
build()
Builds the configured instance.
|
CfnEndpointConfig.ServerlessConfigProperty.Builder |
maxConcurrency(java.lang.Number maxConcurrency)
Sets the value of
CfnEndpointConfig.ServerlessConfigProperty.getMaxConcurrency() |
CfnEndpointConfig.ServerlessConfigProperty.Builder |
memorySizeInMb(java.lang.Number memorySizeInMb)
Sets the value of
CfnEndpointConfig.ServerlessConfigProperty.getMemorySizeInMb() |
public CfnEndpointConfig.ServerlessConfigProperty.Builder maxConcurrency(java.lang.Number maxConcurrency)
CfnEndpointConfig.ServerlessConfigProperty.getMaxConcurrency()
maxConcurrency
- The maximum number of concurrent invocations your serverless endpoint can process. This parameter is required.this
public CfnEndpointConfig.ServerlessConfigProperty.Builder memorySizeInMb(java.lang.Number memorySizeInMb)
CfnEndpointConfig.ServerlessConfigProperty.getMemorySizeInMb()
memorySizeInMb
- The memory size of your serverless endpoint. This parameter is required.
Valid values are in 1 GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144 MB.this
public CfnEndpointConfig.ServerlessConfigProperty build()
CfnEndpointConfig.ServerlessConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided