@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScaleInPolicy extends Object implements Serializable, Cloneable, StructuredPojo
The scale-in policy for the connector.
Constructor and Description |
---|
ScaleInPolicy() |
Modifier and Type | Method and Description |
---|---|
ScaleInPolicy |
clone() |
boolean |
equals(Object obj) |
Integer |
getCpuUtilizationPercentage()
Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCpuUtilizationPercentage(Integer cpuUtilizationPercentage)
Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.
|
String |
toString()
Returns a string representation of this object.
|
ScaleInPolicy |
withCpuUtilizationPercentage(Integer cpuUtilizationPercentage)
Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.
|
public void setCpuUtilizationPercentage(Integer cpuUtilizationPercentage)
Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.
cpuUtilizationPercentage
- Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.public Integer getCpuUtilizationPercentage()
Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.
public ScaleInPolicy withCpuUtilizationPercentage(Integer cpuUtilizationPercentage)
Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.
cpuUtilizationPercentage
- Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.public String toString()
toString
in class Object
Object.toString()
public ScaleInPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.