@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetTrackingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
This data type is used with the Amazon GameLift FleetIQ and game server groups.
Settings for a target-based scaling policy as part of a GameServerGroupAutoScalingPolicy . These settings are used to create a target-based policy that tracks the
Amazon 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)
Marshalls this structured data using the given
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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.