@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GameServerGroupAutoScalingPolicy extends Object implements Serializable, Cloneable, StructuredPojo
This data type is used with the GameLift FleetIQ and game server groups.
Configuration settings for intelligent automatic scaling that uses target tracking. These settings are used to add an Auto Scaling policy when creating the corresponding Auto Scaling group with CreateGameServerGroup. After the Auto Scaling group is created, all updates to Auto Scaling policies, including changing this policy and adding or removing other policies, is done directly on the Auto Scaling group.
Constructor and Description |
---|
GameServerGroupAutoScalingPolicy() |
Modifier and Type | Method and Description |
---|---|
GameServerGroupAutoScalingPolicy |
clone() |
boolean |
equals(Object obj) |
Integer |
getEstimatedInstanceWarmup()
Length of time, in seconds, it takes for a new instance to start new game server processes and register with
GameLift FleetIQ.
|
TargetTrackingConfiguration |
getTargetTrackingConfiguration()
Settings for a target-based scaling policy applied to Auto Scaling group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEstimatedInstanceWarmup(Integer estimatedInstanceWarmup)
Length of time, in seconds, it takes for a new instance to start new game server processes and register with
GameLift FleetIQ.
|
void |
setTargetTrackingConfiguration(TargetTrackingConfiguration targetTrackingConfiguration)
Settings for a target-based scaling policy applied to Auto Scaling group.
|
String |
toString()
Returns a string representation of this object.
|
GameServerGroupAutoScalingPolicy |
withEstimatedInstanceWarmup(Integer estimatedInstanceWarmup)
Length of time, in seconds, it takes for a new instance to start new game server processes and register with
GameLift FleetIQ.
|
GameServerGroupAutoScalingPolicy |
withTargetTrackingConfiguration(TargetTrackingConfiguration targetTrackingConfiguration)
Settings for a target-based scaling policy applied to Auto Scaling group.
|
public void setEstimatedInstanceWarmup(Integer estimatedInstanceWarmup)
Length of time, in seconds, it takes for a new instance to start new game server processes and register with GameLift FleetIQ. Specifying a warm-up time can be useful, particularly with game servers that take a long time to start up, because it avoids prematurely starting new instances.
estimatedInstanceWarmup
- Length of time, in seconds, it takes for a new instance to start new game server processes and register
with GameLift FleetIQ. Specifying a warm-up time can be useful, particularly with game servers that take a
long time to start up, because it avoids prematurely starting new instances.public Integer getEstimatedInstanceWarmup()
Length of time, in seconds, it takes for a new instance to start new game server processes and register with GameLift FleetIQ. Specifying a warm-up time can be useful, particularly with game servers that take a long time to start up, because it avoids prematurely starting new instances.
public GameServerGroupAutoScalingPolicy withEstimatedInstanceWarmup(Integer estimatedInstanceWarmup)
Length of time, in seconds, it takes for a new instance to start new game server processes and register with GameLift FleetIQ. Specifying a warm-up time can be useful, particularly with game servers that take a long time to start up, because it avoids prematurely starting new instances.
estimatedInstanceWarmup
- Length of time, in seconds, it takes for a new instance to start new game server processes and register
with GameLift FleetIQ. Specifying a warm-up time can be useful, particularly with game servers that take a
long time to start up, because it avoids prematurely starting new instances.public void setTargetTrackingConfiguration(TargetTrackingConfiguration targetTrackingConfiguration)
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.
targetTrackingConfiguration
- 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.public TargetTrackingConfiguration getTargetTrackingConfiguration()
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.
"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.public GameServerGroupAutoScalingPolicy withTargetTrackingConfiguration(TargetTrackingConfiguration targetTrackingConfiguration)
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.
targetTrackingConfiguration
- 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.public String toString()
toString
in class Object
Object.toString()
public GameServerGroupAutoScalingPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.