@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetTrackingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
This data type is part of Amazon GameLift FleetIQ with game server groups, which is in preview release and is subject to change.
Settings for a target-based scaling policy applied to Auto Scaling group. These settings are used to create a target-based policy that tracks the GameLift FleetIQ metric "PercentUtilizedGameServers" and specifies a target value for the metric. As player usage changes, the policy triggers to adjust the game server group capacity so that the metric returns to the target value.
| Constructor and Description |
|---|
TargetTrackingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TargetTrackingConfiguration |
clone() |
boolean |
equals(Object obj) |
Double |
getTargetValue()
Desired value to use with a game server group target-based scaling policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setTargetValue(Double targetValue)
Desired value to use with a game server group target-based scaling policy.
|
String |
toString()
Returns a string representation of this object.
|
TargetTrackingConfiguration |
withTargetValue(Double targetValue)
Desired value to use with a game server group target-based scaling policy.
|
public void setTargetValue(Double targetValue)
Desired value to use with a game server group target-based scaling policy.
targetValue - Desired value to use with a game server group target-based scaling policy.public Double getTargetValue()
Desired value to use with a game server group target-based scaling policy.
public TargetTrackingConfiguration withTargetValue(Double targetValue)
Desired value to use with a game server group target-based scaling policy.
targetValue - Desired value to use with a game server group target-based scaling policy.public String toString()
toString in class ObjectObject.toString()public TargetTrackingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.