@Generated(value="software.amazon.awssdk:codegen") public final class GameServerGroupAutoScalingPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GameServerGroupAutoScalingPolicy.Builder,GameServerGroupAutoScalingPolicy>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GameServerGroupAutoScalingPolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GameServerGroupAutoScalingPolicy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
estimatedInstanceWarmup()
Length of time, in seconds, it takes for a new instance to start new game server processes and register with
GameLift FleetIQ.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GameServerGroupAutoScalingPolicy.Builder> |
serializableBuilderClass() |
TargetTrackingConfiguration |
targetTrackingConfiguration()
Settings for a target-based scaling policy applied to Auto Scaling group.
|
GameServerGroupAutoScalingPolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final 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.
"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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GameServerGroupAutoScalingPolicy.Builder,GameServerGroupAutoScalingPolicy>public static GameServerGroupAutoScalingPolicy.Builder builder()
public static Class<? extends GameServerGroupAutoScalingPolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.