@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingPolicy extends Object implements Serializable, Cloneable, StructuredPojo
Amazon Keyspaces supports the target tracking
auto scaling policy. With this policy, Amazon Keyspaces
auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value
that you specify. You define the target value as a percentage between 20 and 90.
Constructor and Description |
---|
AutoScalingPolicy() |
Modifier and Type | Method and Description |
---|---|
AutoScalingPolicy |
clone() |
boolean |
equals(Object obj) |
TargetTrackingScalingPolicyConfiguration |
getTargetTrackingScalingPolicyConfiguration()
Auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back
down when it falls below the target.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTargetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfiguration targetTrackingScalingPolicyConfiguration)
Auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back
down when it falls below the target.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingPolicy |
withTargetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfiguration targetTrackingScalingPolicyConfiguration)
Auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back
down when it falls below the target.
|
public void setTargetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfiguration targetTrackingScalingPolicyConfiguration)
Auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back
down when it falls below the target. A double
between 20 and 90.
targetTrackingScalingPolicyConfiguration
- Auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then
back down when it falls below the target. A double
between 20 and 90.public TargetTrackingScalingPolicyConfiguration getTargetTrackingScalingPolicyConfiguration()
Auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back
down when it falls below the target. A double
between 20 and 90.
double
between 20 and 90.public AutoScalingPolicy withTargetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfiguration targetTrackingScalingPolicyConfiguration)
Auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back
down when it falls below the target. A double
between 20 and 90.
targetTrackingScalingPolicyConfiguration
- Auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then
back down when it falls below the target. A double
between 20 and 90.public String toString()
toString
in class Object
Object.toString()
public AutoScalingPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.