@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateGameServerGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateGameServerGroupRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateGameServerGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBalancingStrategy()
The fallback balancing method to use for the game server group when Spot instances in a Region become unavailable
or are not viable for game hosting.
|
String |
getGameServerGroupName()
The unique identifier of the game server group to update.
|
String |
getGameServerProtectionPolicy()
A flag that indicates whether instances in the game server group are protected from early termination.
|
List<InstanceDefinition> |
getInstanceDefinitions()
An updated list of EC2 instance types to use when creating instances in the group.
|
String |
getRoleArn()
The Amazon Resource Name (ARN)
for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
|
int |
hashCode() |
void |
setBalancingStrategy(String balancingStrategy)
The fallback balancing method to use for the game server group when Spot instances in a Region become unavailable
or are not viable for game hosting.
|
void |
setGameServerGroupName(String gameServerGroupName)
The unique identifier of the game server group to update.
|
void |
setGameServerProtectionPolicy(String gameServerProtectionPolicy)
A flag that indicates whether instances in the game server group are protected from early termination.
|
void |
setInstanceDefinitions(Collection<InstanceDefinition> instanceDefinitions)
An updated list of EC2 instance types to use when creating instances in the group.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN)
for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
|
String |
toString()
Returns a string representation of this object.
|
UpdateGameServerGroupRequest |
withBalancingStrategy(BalancingStrategy balancingStrategy)
The fallback balancing method to use for the game server group when Spot instances in a Region become unavailable
or are not viable for game hosting.
|
UpdateGameServerGroupRequest |
withBalancingStrategy(String balancingStrategy)
The fallback balancing method to use for the game server group when Spot instances in a Region become unavailable
or are not viable for game hosting.
|
UpdateGameServerGroupRequest |
withGameServerGroupName(String gameServerGroupName)
The unique identifier of the game server group to update.
|
UpdateGameServerGroupRequest |
withGameServerProtectionPolicy(GameServerProtectionPolicy gameServerProtectionPolicy)
A flag that indicates whether instances in the game server group are protected from early termination.
|
UpdateGameServerGroupRequest |
withGameServerProtectionPolicy(String gameServerProtectionPolicy)
A flag that indicates whether instances in the game server group are protected from early termination.
|
UpdateGameServerGroupRequest |
withInstanceDefinitions(Collection<InstanceDefinition> instanceDefinitions)
An updated list of EC2 instance types to use when creating instances in the group.
|
UpdateGameServerGroupRequest |
withInstanceDefinitions(InstanceDefinition... instanceDefinitions)
An updated list of EC2 instance types to use when creating instances in the group.
|
UpdateGameServerGroupRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN)
for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGameServerGroupName(String gameServerGroupName)
The unique identifier of the game server group to update. Use either the GameServerGroup name or ARN value.
gameServerGroupName
- The unique identifier of the game server group to update. Use either the GameServerGroup name or
ARN value.public String getGameServerGroupName()
The unique identifier of the game server group to update. Use either the GameServerGroup name or ARN value.
public UpdateGameServerGroupRequest withGameServerGroupName(String gameServerGroupName)
The unique identifier of the game server group to update. Use either the GameServerGroup name or ARN value.
gameServerGroupName
- The unique identifier of the game server group to update. Use either the GameServerGroup name or
ARN value.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups. The submitted role is validated to ensure that it contains the necessary permissions for game server groups.
roleArn
- The Amazon Resource Name (ARN) for an IAM role that
allows Amazon GameLift to access your EC2 Auto Scaling groups. The submitted role is validated to ensure
that it contains the necessary permissions for game server groups.public String getRoleArn()
The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups. The submitted role is validated to ensure that it contains the necessary permissions for game server groups.
public UpdateGameServerGroupRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups. The submitted role is validated to ensure that it contains the necessary permissions for game server groups.
roleArn
- The Amazon Resource Name (ARN) for an IAM role that
allows Amazon GameLift to access your EC2 Auto Scaling groups. The submitted role is validated to ensure
that it contains the necessary permissions for game server groups.public List<InstanceDefinition> getInstanceDefinitions()
An updated list of EC2 instance types to use when creating instances in the group. The instance definition must specify instance types that are supported by GameLift FleetIQ, and must include at least two instance types. This updated list replaces the entire current list of instance definitions for the game server group. For more information on instance types, see EC2 Instance Types in the Amazon EC2 User Guide..
public void setInstanceDefinitions(Collection<InstanceDefinition> instanceDefinitions)
An updated list of EC2 instance types to use when creating instances in the group. The instance definition must specify instance types that are supported by GameLift FleetIQ, and must include at least two instance types. This updated list replaces the entire current list of instance definitions for the game server group. For more information on instance types, see EC2 Instance Types in the Amazon EC2 User Guide..
instanceDefinitions
- An updated list of EC2 instance types to use when creating instances in the group. The instance definition
must specify instance types that are supported by GameLift FleetIQ, and must include at least two instance
types. This updated list replaces the entire current list of instance definitions for the game server
group. For more information on instance types, see EC2 Instance Types in
the Amazon EC2 User Guide..public UpdateGameServerGroupRequest withInstanceDefinitions(InstanceDefinition... instanceDefinitions)
An updated list of EC2 instance types to use when creating instances in the group. The instance definition must specify instance types that are supported by GameLift FleetIQ, and must include at least two instance types. This updated list replaces the entire current list of instance definitions for the game server group. For more information on instance types, see EC2 Instance Types in the Amazon EC2 User Guide..
NOTE: This method appends the values to the existing list (if any). Use
setInstanceDefinitions(java.util.Collection)
or withInstanceDefinitions(java.util.Collection)
if you want to override the existing values.
instanceDefinitions
- An updated list of EC2 instance types to use when creating instances in the group. The instance definition
must specify instance types that are supported by GameLift FleetIQ, and must include at least two instance
types. This updated list replaces the entire current list of instance definitions for the game server
group. For more information on instance types, see EC2 Instance Types in
the Amazon EC2 User Guide..public UpdateGameServerGroupRequest withInstanceDefinitions(Collection<InstanceDefinition> instanceDefinitions)
An updated list of EC2 instance types to use when creating instances in the group. The instance definition must specify instance types that are supported by GameLift FleetIQ, and must include at least two instance types. This updated list replaces the entire current list of instance definitions for the game server group. For more information on instance types, see EC2 Instance Types in the Amazon EC2 User Guide..
instanceDefinitions
- An updated list of EC2 instance types to use when creating instances in the group. The instance definition
must specify instance types that are supported by GameLift FleetIQ, and must include at least two instance
types. This updated list replaces the entire current list of instance definitions for the game server
group. For more information on instance types, see EC2 Instance Types in
the Amazon EC2 User Guide..public void setGameServerProtectionPolicy(String gameServerProtectionPolicy)
A flag that indicates whether instances in the game server group are protected from early termination. Unprotected instances that have active game servers running may by terminated during a scale-down event, causing players to be dropped from the game. Protected instances cannot be terminated while there are active game servers running. An exception to this is Spot Instances, which may be terminated by AWS regardless of protection status. This property is set to NO_PROTECTION by default.
gameServerProtectionPolicy
- A flag that indicates whether instances in the game server group are protected from early termination.
Unprotected instances that have active game servers running may by terminated during a scale-down event,
causing players to be dropped from the game. Protected instances cannot be terminated while there are
active game servers running. An exception to this is Spot Instances, which may be terminated by AWS
regardless of protection status. This property is set to NO_PROTECTION by default.GameServerProtectionPolicy
public String getGameServerProtectionPolicy()
A flag that indicates whether instances in the game server group are protected from early termination. Unprotected instances that have active game servers running may by terminated during a scale-down event, causing players to be dropped from the game. Protected instances cannot be terminated while there are active game servers running. An exception to this is Spot Instances, which may be terminated by AWS regardless of protection status. This property is set to NO_PROTECTION by default.
GameServerProtectionPolicy
public UpdateGameServerGroupRequest withGameServerProtectionPolicy(String gameServerProtectionPolicy)
A flag that indicates whether instances in the game server group are protected from early termination. Unprotected instances that have active game servers running may by terminated during a scale-down event, causing players to be dropped from the game. Protected instances cannot be terminated while there are active game servers running. An exception to this is Spot Instances, which may be terminated by AWS regardless of protection status. This property is set to NO_PROTECTION by default.
gameServerProtectionPolicy
- A flag that indicates whether instances in the game server group are protected from early termination.
Unprotected instances that have active game servers running may by terminated during a scale-down event,
causing players to be dropped from the game. Protected instances cannot be terminated while there are
active game servers running. An exception to this is Spot Instances, which may be terminated by AWS
regardless of protection status. This property is set to NO_PROTECTION by default.GameServerProtectionPolicy
public UpdateGameServerGroupRequest withGameServerProtectionPolicy(GameServerProtectionPolicy gameServerProtectionPolicy)
A flag that indicates whether instances in the game server group are protected from early termination. Unprotected instances that have active game servers running may by terminated during a scale-down event, causing players to be dropped from the game. Protected instances cannot be terminated while there are active game servers running. An exception to this is Spot Instances, which may be terminated by AWS regardless of protection status. This property is set to NO_PROTECTION by default.
gameServerProtectionPolicy
- A flag that indicates whether instances in the game server group are protected from early termination.
Unprotected instances that have active game servers running may by terminated during a scale-down event,
causing players to be dropped from the game. Protected instances cannot be terminated while there are
active game servers running. An exception to this is Spot Instances, which may be terminated by AWS
regardless of protection status. This property is set to NO_PROTECTION by default.GameServerProtectionPolicy
public void setBalancingStrategy(String balancingStrategy)
The fallback balancing method to use for the game server group when Spot instances in a Region become unavailable or are not viable for game hosting. Once triggered, this method remains active until Spot instances can once again be used. Method options include:
SPOT_ONLY -- If Spot instances are unavailable, the game server group provides no hosting capacity. No new instances are started, and the existing nonviable Spot instances are terminated (once current gameplay ends) and not replaced.
SPOT_PREFERRED -- If Spot instances are unavailable, the game server group continues to provide hosting capacity by using On-Demand instances. Existing nonviable Spot instances are terminated (once current gameplay ends) and replaced with new On-Demand instances.
balancingStrategy
- The fallback balancing method to use for the game server group when Spot instances in a Region become
unavailable or are not viable for game hosting. Once triggered, this method remains active until Spot
instances can once again be used. Method options include:
SPOT_ONLY -- If Spot instances are unavailable, the game server group provides no hosting capacity. No new instances are started, and the existing nonviable Spot instances are terminated (once current gameplay ends) and not replaced.
SPOT_PREFERRED -- If Spot instances are unavailable, the game server group continues to provide hosting capacity by using On-Demand instances. Existing nonviable Spot instances are terminated (once current gameplay ends) and replaced with new On-Demand instances.
BalancingStrategy
public String getBalancingStrategy()
The fallback balancing method to use for the game server group when Spot instances in a Region become unavailable or are not viable for game hosting. Once triggered, this method remains active until Spot instances can once again be used. Method options include:
SPOT_ONLY -- If Spot instances are unavailable, the game server group provides no hosting capacity. No new instances are started, and the existing nonviable Spot instances are terminated (once current gameplay ends) and not replaced.
SPOT_PREFERRED -- If Spot instances are unavailable, the game server group continues to provide hosting capacity by using On-Demand instances. Existing nonviable Spot instances are terminated (once current gameplay ends) and replaced with new On-Demand instances.
SPOT_ONLY -- If Spot instances are unavailable, the game server group provides no hosting capacity. No new instances are started, and the existing nonviable Spot instances are terminated (once current gameplay ends) and not replaced.
SPOT_PREFERRED -- If Spot instances are unavailable, the game server group continues to provide hosting capacity by using On-Demand instances. Existing nonviable Spot instances are terminated (once current gameplay ends) and replaced with new On-Demand instances.
BalancingStrategy
public UpdateGameServerGroupRequest withBalancingStrategy(String balancingStrategy)
The fallback balancing method to use for the game server group when Spot instances in a Region become unavailable or are not viable for game hosting. Once triggered, this method remains active until Spot instances can once again be used. Method options include:
SPOT_ONLY -- If Spot instances are unavailable, the game server group provides no hosting capacity. No new instances are started, and the existing nonviable Spot instances are terminated (once current gameplay ends) and not replaced.
SPOT_PREFERRED -- If Spot instances are unavailable, the game server group continues to provide hosting capacity by using On-Demand instances. Existing nonviable Spot instances are terminated (once current gameplay ends) and replaced with new On-Demand instances.
balancingStrategy
- The fallback balancing method to use for the game server group when Spot instances in a Region become
unavailable or are not viable for game hosting. Once triggered, this method remains active until Spot
instances can once again be used. Method options include:
SPOT_ONLY -- If Spot instances are unavailable, the game server group provides no hosting capacity. No new instances are started, and the existing nonviable Spot instances are terminated (once current gameplay ends) and not replaced.
SPOT_PREFERRED -- If Spot instances are unavailable, the game server group continues to provide hosting capacity by using On-Demand instances. Existing nonviable Spot instances are terminated (once current gameplay ends) and replaced with new On-Demand instances.
BalancingStrategy
public UpdateGameServerGroupRequest withBalancingStrategy(BalancingStrategy balancingStrategy)
The fallback balancing method to use for the game server group when Spot instances in a Region become unavailable or are not viable for game hosting. Once triggered, this method remains active until Spot instances can once again be used. Method options include:
SPOT_ONLY -- If Spot instances are unavailable, the game server group provides no hosting capacity. No new instances are started, and the existing nonviable Spot instances are terminated (once current gameplay ends) and not replaced.
SPOT_PREFERRED -- If Spot instances are unavailable, the game server group continues to provide hosting capacity by using On-Demand instances. Existing nonviable Spot instances are terminated (once current gameplay ends) and replaced with new On-Demand instances.
balancingStrategy
- The fallback balancing method to use for the game server group when Spot instances in a Region become
unavailable or are not viable for game hosting. Once triggered, this method remains active until Spot
instances can once again be used. Method options include:
SPOT_ONLY -- If Spot instances are unavailable, the game server group provides no hosting capacity. No new instances are started, and the existing nonviable Spot instances are terminated (once current gameplay ends) and not replaced.
SPOT_PREFERRED -- If Spot instances are unavailable, the game server group continues to provide hosting capacity by using On-Demand instances. Existing nonviable Spot instances are terminated (once current gameplay ends) and replaced with new On-Demand instances.
BalancingStrategy
public String toString()
toString
in class Object
Object.toString()
public UpdateGameServerGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.