@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProductionVariantServerlessConfig extends Object implements Serializable, Cloneable, StructuredPojo
Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.
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.
|
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.
|
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.
|
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 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.