@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Capacity extends Object implements Serializable, Cloneable, StructuredPojo
Information about the capacity of the connector, whether it is auto scaled or provisioned.
Constructor and Description |
---|
Capacity() |
Modifier and Type | Method and Description |
---|---|
Capacity |
clone() |
boolean |
equals(Object obj) |
AutoScaling |
getAutoScaling()
Information about the auto scaling parameters for the connector.
|
ProvisionedCapacity |
getProvisionedCapacity()
Details about a fixed capacity allocated to a connector.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoScaling(AutoScaling autoScaling)
Information about the auto scaling parameters for the connector.
|
void |
setProvisionedCapacity(ProvisionedCapacity provisionedCapacity)
Details about a fixed capacity allocated to a connector.
|
String |
toString()
Returns a string representation of this object.
|
Capacity |
withAutoScaling(AutoScaling autoScaling)
Information about the auto scaling parameters for the connector.
|
Capacity |
withProvisionedCapacity(ProvisionedCapacity provisionedCapacity)
Details about a fixed capacity allocated to a connector.
|
public void setAutoScaling(AutoScaling autoScaling)
Information about the auto scaling parameters for the connector.
autoScaling
- Information about the auto scaling parameters for the connector.public AutoScaling getAutoScaling()
Information about the auto scaling parameters for the connector.
public Capacity withAutoScaling(AutoScaling autoScaling)
Information about the auto scaling parameters for the connector.
autoScaling
- Information about the auto scaling parameters for the connector.public void setProvisionedCapacity(ProvisionedCapacity provisionedCapacity)
Details about a fixed capacity allocated to a connector.
provisionedCapacity
- Details about a fixed capacity allocated to a connector.public ProvisionedCapacity getProvisionedCapacity()
Details about a fixed capacity allocated to a connector.
public Capacity withProvisionedCapacity(ProvisionedCapacity provisionedCapacity)
Details about a fixed capacity allocated to a connector.
provisionedCapacity
- Details about a fixed capacity allocated to a connector.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.