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