@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingUpdate extends Object implements Serializable, Cloneable, StructuredPojo
The updates to the auto scaling parameters for the connector.
Constructor and Description |
---|
AutoScalingUpdate() |
Modifier and Type | Method and Description |
---|---|
AutoScalingUpdate |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxWorkerCount()
The target maximum number of workers allocated to the connector.
|
Integer |
getMcuCount()
The target number of microcontroller units (MCUs) allocated to each connector worker.
|
Integer |
getMinWorkerCount()
The target minimum number of workers allocated to the connector.
|
ScaleInPolicyUpdate |
getScaleInPolicy()
The target sacle-in policy for the connector.
|
ScaleOutPolicyUpdate |
getScaleOutPolicy()
The target sacle-out policy for the connector.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxWorkerCount(Integer maxWorkerCount)
The target maximum number of workers allocated to the connector.
|
void |
setMcuCount(Integer mcuCount)
The target number of microcontroller units (MCUs) allocated to each connector worker.
|
void |
setMinWorkerCount(Integer minWorkerCount)
The target minimum number of workers allocated to the connector.
|
void |
setScaleInPolicy(ScaleInPolicyUpdate scaleInPolicy)
The target sacle-in policy for the connector.
|
void |
setScaleOutPolicy(ScaleOutPolicyUpdate scaleOutPolicy)
The target sacle-out policy for the connector.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingUpdate |
withMaxWorkerCount(Integer maxWorkerCount)
The target maximum number of workers allocated to the connector.
|
AutoScalingUpdate |
withMcuCount(Integer mcuCount)
The target number of microcontroller units (MCUs) allocated to each connector worker.
|
AutoScalingUpdate |
withMinWorkerCount(Integer minWorkerCount)
The target minimum number of workers allocated to the connector.
|
AutoScalingUpdate |
withScaleInPolicy(ScaleInPolicyUpdate scaleInPolicy)
The target sacle-in policy for the connector.
|
AutoScalingUpdate |
withScaleOutPolicy(ScaleOutPolicyUpdate scaleOutPolicy)
The target sacle-out policy for the connector.
|
public void setMaxWorkerCount(Integer maxWorkerCount)
The target maximum number of workers allocated to the connector.
maxWorkerCount
- The target maximum number of workers allocated to the connector.public Integer getMaxWorkerCount()
The target maximum number of workers allocated to the connector.
public AutoScalingUpdate withMaxWorkerCount(Integer maxWorkerCount)
The target maximum number of workers allocated to the connector.
maxWorkerCount
- The target maximum number of workers allocated to the connector.public void setMcuCount(Integer mcuCount)
The target number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
mcuCount
- The target number of microcontroller units (MCUs) allocated to each connector worker. The valid values are
1,2,4,8.public Integer getMcuCount()
The target number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
public AutoScalingUpdate withMcuCount(Integer mcuCount)
The target number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
mcuCount
- The target number of microcontroller units (MCUs) allocated to each connector worker. The valid values are
1,2,4,8.public void setMinWorkerCount(Integer minWorkerCount)
The target minimum number of workers allocated to the connector.
minWorkerCount
- The target minimum number of workers allocated to the connector.public Integer getMinWorkerCount()
The target minimum number of workers allocated to the connector.
public AutoScalingUpdate withMinWorkerCount(Integer minWorkerCount)
The target minimum number of workers allocated to the connector.
minWorkerCount
- The target minimum number of workers allocated to the connector.public void setScaleInPolicy(ScaleInPolicyUpdate scaleInPolicy)
The target sacle-in policy for the connector.
scaleInPolicy
- The target sacle-in policy for the connector.public ScaleInPolicyUpdate getScaleInPolicy()
The target sacle-in policy for the connector.
public AutoScalingUpdate withScaleInPolicy(ScaleInPolicyUpdate scaleInPolicy)
The target sacle-in policy for the connector.
scaleInPolicy
- The target sacle-in policy for the connector.public void setScaleOutPolicy(ScaleOutPolicyUpdate scaleOutPolicy)
The target sacle-out policy for the connector.
scaleOutPolicy
- The target sacle-out policy for the connector.public ScaleOutPolicyUpdate getScaleOutPolicy()
The target sacle-out policy for the connector.
public AutoScalingUpdate withScaleOutPolicy(ScaleOutPolicyUpdate scaleOutPolicy)
The target sacle-out policy for the connector.
scaleOutPolicy
- The target sacle-out policy for the connector.public String toString()
toString
in class Object
Object.toString()
public AutoScalingUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.