@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacityUpdate extends Object implements Serializable, Cloneable, StructuredPojo
The target capacity for the connector. The capacity can be auto scaled or provisioned.
Constructor and Description |
---|
CapacityUpdate() |
Modifier and Type | Method and Description |
---|---|
CapacityUpdate |
clone() |
boolean |
equals(Object obj) |
AutoScalingUpdate |
getAutoScaling()
The target auto scaling setting.
|
ProvisionedCapacityUpdate |
getProvisionedCapacity()
The target settings for provisioned capacity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoScaling(AutoScalingUpdate autoScaling)
The target auto scaling setting.
|
void |
setProvisionedCapacity(ProvisionedCapacityUpdate provisionedCapacity)
The target settings for provisioned capacity.
|
String |
toString()
Returns a string representation of this object.
|
CapacityUpdate |
withAutoScaling(AutoScalingUpdate autoScaling)
The target auto scaling setting.
|
CapacityUpdate |
withProvisionedCapacity(ProvisionedCapacityUpdate provisionedCapacity)
The target settings for provisioned capacity.
|
public void setAutoScaling(AutoScalingUpdate autoScaling)
The target auto scaling setting.
autoScaling
- The target auto scaling setting.public AutoScalingUpdate getAutoScaling()
The target auto scaling setting.
public CapacityUpdate withAutoScaling(AutoScalingUpdate autoScaling)
The target auto scaling setting.
autoScaling
- The target auto scaling setting.public void setProvisionedCapacity(ProvisionedCapacityUpdate provisionedCapacity)
The target settings for provisioned capacity.
provisionedCapacity
- The target settings for provisioned capacity.public ProvisionedCapacityUpdate getProvisionedCapacity()
The target settings for provisioned capacity.
public CapacityUpdate withProvisionedCapacity(ProvisionedCapacityUpdate provisionedCapacity)
The target settings for provisioned capacity.
provisionedCapacity
- The target settings for provisioned capacity.public String toString()
toString
in class Object
Object.toString()
public CapacityUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.