@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScalingConfig extends Object implements Serializable, Cloneable, StructuredPojo
(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.
| Constructor and Description |
|---|
ScalingConfig() |
| Modifier and Type | Method and Description |
|---|---|
ScalingConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaximumConcurrency()
Limits the number of concurrent instances that the Amazon SQS event source can invoke.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMaximumConcurrency(Integer maximumConcurrency)
Limits the number of concurrent instances that the Amazon SQS event source can invoke.
|
String |
toString()
Returns a string representation of this object.
|
ScalingConfig |
withMaximumConcurrency(Integer maximumConcurrency)
Limits the number of concurrent instances that the Amazon SQS event source can invoke.
|
public void setMaximumConcurrency(Integer maximumConcurrency)
Limits the number of concurrent instances that the Amazon SQS event source can invoke.
maximumConcurrency - Limits the number of concurrent instances that the Amazon SQS event source can invoke.public Integer getMaximumConcurrency()
Limits the number of concurrent instances that the Amazon SQS event source can invoke.
public ScalingConfig withMaximumConcurrency(Integer maximumConcurrency)
Limits the number of concurrent instances that the Amazon SQS event source can invoke.
maximumConcurrency - Limits the number of concurrent instances that the Amazon SQS event source can invoke.public String toString()
toString in class ObjectObject.toString()public ScalingConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.