@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScaling extends Object implements Serializable, Cloneable, StructuredPojo
Specifies how the connector scales.
Constructor and Description |
---|
AutoScaling() |
Modifier and Type | Method and Description |
---|---|
AutoScaling |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxWorkerCount()
The maximum number of workers allocated to the connector.
|
Integer |
getMcuCount()
The number of microcontroller units (MCUs) allocated to each connector worker.
|
Integer |
getMinWorkerCount()
The minimum number of workers allocated to the connector.
|
ScaleInPolicy |
getScaleInPolicy()
The sacle-in policy for the connector.
|
ScaleOutPolicy |
getScaleOutPolicy()
The 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 maximum number of workers allocated to the connector.
|
void |
setMcuCount(Integer mcuCount)
The number of microcontroller units (MCUs) allocated to each connector worker.
|
void |
setMinWorkerCount(Integer minWorkerCount)
The minimum number of workers allocated to the connector.
|
void |
setScaleInPolicy(ScaleInPolicy scaleInPolicy)
The sacle-in policy for the connector.
|
void |
setScaleOutPolicy(ScaleOutPolicy scaleOutPolicy)
The sacle-out policy for the connector.
|
String |
toString()
Returns a string representation of this object.
|
AutoScaling |
withMaxWorkerCount(Integer maxWorkerCount)
The maximum number of workers allocated to the connector.
|
AutoScaling |
withMcuCount(Integer mcuCount)
The number of microcontroller units (MCUs) allocated to each connector worker.
|
AutoScaling |
withMinWorkerCount(Integer minWorkerCount)
The minimum number of workers allocated to the connector.
|
AutoScaling |
withScaleInPolicy(ScaleInPolicy scaleInPolicy)
The sacle-in policy for the connector.
|
AutoScaling |
withScaleOutPolicy(ScaleOutPolicy scaleOutPolicy)
The sacle-out policy for the connector.
|
public void setMaxWorkerCount(Integer maxWorkerCount)
The maximum number of workers allocated to the connector.
maxWorkerCount
- The maximum number of workers allocated to the connector.public Integer getMaxWorkerCount()
The maximum number of workers allocated to the connector.
public AutoScaling withMaxWorkerCount(Integer maxWorkerCount)
The maximum number of workers allocated to the connector.
maxWorkerCount
- The maximum number of workers allocated to the connector.public void setMcuCount(Integer mcuCount)
The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
mcuCount
- The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are
1,2,4,8.public Integer getMcuCount()
The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
public AutoScaling withMcuCount(Integer mcuCount)
The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
mcuCount
- The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are
1,2,4,8.public void setMinWorkerCount(Integer minWorkerCount)
The minimum number of workers allocated to the connector.
minWorkerCount
- The minimum number of workers allocated to the connector.public Integer getMinWorkerCount()
The minimum number of workers allocated to the connector.
public AutoScaling withMinWorkerCount(Integer minWorkerCount)
The minimum number of workers allocated to the connector.
minWorkerCount
- The minimum number of workers allocated to the connector.public void setScaleInPolicy(ScaleInPolicy scaleInPolicy)
The sacle-in policy for the connector.
scaleInPolicy
- The sacle-in policy for the connector.public ScaleInPolicy getScaleInPolicy()
The sacle-in policy for the connector.
public AutoScaling withScaleInPolicy(ScaleInPolicy scaleInPolicy)
The sacle-in policy for the connector.
scaleInPolicy
- The sacle-in policy for the connector.public void setScaleOutPolicy(ScaleOutPolicy scaleOutPolicy)
The sacle-out policy for the connector.
scaleOutPolicy
- The sacle-out policy for the connector.public ScaleOutPolicy getScaleOutPolicy()
The sacle-out policy for the connector.
public AutoScaling withScaleOutPolicy(ScaleOutPolicy scaleOutPolicy)
The sacle-out policy for the connector.
scaleOutPolicy
- The sacle-out policy for the connector.public String toString()
toString
in class Object
Object.toString()
public AutoScaling clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.