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