@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGameServerGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateGameServerGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGameServerGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
GameServerGroupAutoScalingPolicy |
getAutoScalingPolicy()
Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting.
|
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()
An identifier for the new game server group.
|
String |
getGameServerProtectionPolicy()
A flag that indicates whether instances in the game server group are protected from early termination.
|
List<InstanceDefinition> |
getInstanceDefinitions()
A set of EC2 instance types to use when creating instances in the group.
|
LaunchTemplateSpecification |
getLaunchTemplate()
The EC2 launch template that contains configuration settings and game server code to be deployed to all instances
in the game server group.
|
Integer |
getMaxSize()
The maximum number of instances allowed in the EC2 Auto Scaling group.
|
Integer |
getMinSize()
The minimum number of instances allowed in the EC2 Auto Scaling group.
|
String |
getRoleArn()
The Amazon Resource Name (ARN)
for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
|
List<Tag> |
getTags()
A list of labels to assign to the new game server group resource.
|
List<String> |
getVpcSubnets()
A list of virtual private cloud (VPC) subnets to use with instances in the game server group.
|
int |
hashCode() |
void |
setAutoScalingPolicy(GameServerGroupAutoScalingPolicy autoScalingPolicy)
Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting.
|
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)
An identifier for the new game server group.
|
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)
A set of EC2 instance types to use when creating instances in the group.
|
void |
setLaunchTemplate(LaunchTemplateSpecification launchTemplate)
The EC2 launch template that contains configuration settings and game server code to be deployed to all instances
in the game server group.
|
void |
setMaxSize(Integer maxSize)
The maximum number of instances allowed in the EC2 Auto Scaling group.
|
void |
setMinSize(Integer minSize)
The minimum number of instances allowed in the EC2 Auto Scaling 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.
|
void |
setTags(Collection<Tag> tags)
A list of labels to assign to the new game server group resource.
|
void |
setVpcSubnets(Collection<String> vpcSubnets)
A list of virtual private cloud (VPC) subnets to use with instances in the game server group.
|
String |
toString()
Returns a string representation of this object.
|
CreateGameServerGroupRequest |
withAutoScalingPolicy(GameServerGroupAutoScalingPolicy autoScalingPolicy)
Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting.
|
CreateGameServerGroupRequest |
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.
|
CreateGameServerGroupRequest |
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.
|
CreateGameServerGroupRequest |
withGameServerGroupName(String gameServerGroupName)
An identifier for the new game server group.
|
CreateGameServerGroupRequest |
withGameServerProtectionPolicy(GameServerProtectionPolicy gameServerProtectionPolicy)
A flag that indicates whether instances in the game server group are protected from early termination.
|
CreateGameServerGroupRequest |
withGameServerProtectionPolicy(String gameServerProtectionPolicy)
A flag that indicates whether instances in the game server group are protected from early termination.
|
CreateGameServerGroupRequest |
withInstanceDefinitions(Collection<InstanceDefinition> instanceDefinitions)
A set of EC2 instance types to use when creating instances in the group.
|
CreateGameServerGroupRequest |
withInstanceDefinitions(InstanceDefinition... instanceDefinitions)
A set of EC2 instance types to use when creating instances in the group.
|
CreateGameServerGroupRequest |
withLaunchTemplate(LaunchTemplateSpecification launchTemplate)
The EC2 launch template that contains configuration settings and game server code to be deployed to all instances
in the game server group.
|
CreateGameServerGroupRequest |
withMaxSize(Integer maxSize)
The maximum number of instances allowed in the EC2 Auto Scaling group.
|
CreateGameServerGroupRequest |
withMinSize(Integer minSize)
The minimum number of instances allowed in the EC2 Auto Scaling group.
|
CreateGameServerGroupRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN)
for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
|
CreateGameServerGroupRequest |
withTags(Collection<Tag> tags)
A list of labels to assign to the new game server group resource.
|
CreateGameServerGroupRequest |
withTags(Tag... tags)
A list of labels to assign to the new game server group resource.
|
CreateGameServerGroupRequest |
withVpcSubnets(Collection<String> vpcSubnets)
A list of virtual private cloud (VPC) subnets to use with instances in the game server group.
|
CreateGameServerGroupRequest |
withVpcSubnets(String... vpcSubnets)
A list of virtual private cloud (VPC) subnets to use with instances in the game server group.
|
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)
An identifier for the new game server group. This value is used to generate unique ARN identifiers for the EC2 Auto Scaling group and the GameLift FleetIQ game server group. The name must be unique per Region per AWS account.
gameServerGroupName
- An identifier for the new game server group. This value is used to generate unique ARN identifiers for the
EC2 Auto Scaling group and the GameLift FleetIQ game server group. The name must be unique per Region per
AWS account.public String getGameServerGroupName()
An identifier for the new game server group. This value is used to generate unique ARN identifiers for the EC2 Auto Scaling group and the GameLift FleetIQ game server group. The name must be unique per Region per AWS account.
public CreateGameServerGroupRequest withGameServerGroupName(String gameServerGroupName)
An identifier for the new game server group. This value is used to generate unique ARN identifiers for the EC2 Auto Scaling group and the GameLift FleetIQ game server group. The name must be unique per Region per AWS account.
gameServerGroupName
- An identifier for the new game server group. This value is used to generate unique ARN identifiers for the
EC2 Auto Scaling group and the GameLift FleetIQ game server group. The name must be unique per Region per
AWS account.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 CreateGameServerGroupRequest 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 void setMinSize(Integer minSize)
The minimum number of instances allowed in the EC2 Auto Scaling group. During autoscaling events, GameLift FleetIQ and EC2 do not scale down the group below this minimum. In production, this value should be set to at least 1.
minSize
- The minimum number of instances allowed in the EC2 Auto Scaling group. During autoscaling events, GameLift
FleetIQ and EC2 do not scale down the group below this minimum. In production, this value should be set to
at least 1.public Integer getMinSize()
The minimum number of instances allowed in the EC2 Auto Scaling group. During autoscaling events, GameLift FleetIQ and EC2 do not scale down the group below this minimum. In production, this value should be set to at least 1.
public CreateGameServerGroupRequest withMinSize(Integer minSize)
The minimum number of instances allowed in the EC2 Auto Scaling group. During autoscaling events, GameLift FleetIQ and EC2 do not scale down the group below this minimum. In production, this value should be set to at least 1.
minSize
- The minimum number of instances allowed in the EC2 Auto Scaling group. During autoscaling events, GameLift
FleetIQ and EC2 do not scale down the group below this minimum. In production, this value should be set to
at least 1.public void setMaxSize(Integer maxSize)
The maximum number of instances allowed in the EC2 Auto Scaling group. During autoscaling events, GameLift FleetIQ and EC2 do not scale up the group above this maximum.
maxSize
- The maximum number of instances allowed in the EC2 Auto Scaling group. During autoscaling events, GameLift
FleetIQ and EC2 do not scale up the group above this maximum.public Integer getMaxSize()
The maximum number of instances allowed in the EC2 Auto Scaling group. During autoscaling events, GameLift FleetIQ and EC2 do not scale up the group above this maximum.
public CreateGameServerGroupRequest withMaxSize(Integer maxSize)
The maximum number of instances allowed in the EC2 Auto Scaling group. During autoscaling events, GameLift FleetIQ and EC2 do not scale up the group above this maximum.
maxSize
- The maximum number of instances allowed in the EC2 Auto Scaling group. During autoscaling events, GameLift
FleetIQ and EC2 do not scale up the group above this maximum.public void setLaunchTemplate(LaunchTemplateSpecification launchTemplate)
The EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group. You can specify the template using either the template name or ID. For help with creating a launch template, see Creating a Launch Template for an Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
launchTemplate
- The EC2 launch template that contains configuration settings and game server code to be deployed to all
instances in the game server group. You can specify the template using either the template name or ID. For
help with creating a launch template, see Creating a Launch
Template for an Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.public LaunchTemplateSpecification getLaunchTemplate()
The EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group. You can specify the template using either the template name or ID. For help with creating a launch template, see Creating a Launch Template for an Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
public CreateGameServerGroupRequest withLaunchTemplate(LaunchTemplateSpecification launchTemplate)
The EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group. You can specify the template using either the template name or ID. For help with creating a launch template, see Creating a Launch Template for an Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
launchTemplate
- The EC2 launch template that contains configuration settings and game server code to be deployed to all
instances in the game server group. You can specify the template using either the template name or ID. For
help with creating a launch template, see Creating a Launch
Template for an Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.public List<InstanceDefinition> getInstanceDefinitions()
A set of EC2 instance types to use when creating instances in the group. The instance definitions must specify at least two different instance types that are supported by GameLift FleetIQ. For more information on instance types, see EC2 Instance Types in the Amazon EC2 User Guide.
public void setInstanceDefinitions(Collection<InstanceDefinition> instanceDefinitions)
A set of EC2 instance types to use when creating instances in the group. The instance definitions must specify at least two different instance types that are supported by GameLift FleetIQ. For more information on instance types, see EC2 Instance Types in the Amazon EC2 User Guide.
instanceDefinitions
- A set of EC2 instance types to use when creating instances in the group. The instance definitions must
specify at least two different instance types that are supported by GameLift FleetIQ. For more information
on instance types, see EC2 Instance Types in
the Amazon EC2 User Guide.public CreateGameServerGroupRequest withInstanceDefinitions(InstanceDefinition... instanceDefinitions)
A set of EC2 instance types to use when creating instances in the group. The instance definitions must specify at least two different instance types that are supported by GameLift FleetIQ. 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
- A set of EC2 instance types to use when creating instances in the group. The instance definitions must
specify at least two different instance types that are supported by GameLift FleetIQ. For more information
on instance types, see EC2 Instance Types in
the Amazon EC2 User Guide.public CreateGameServerGroupRequest withInstanceDefinitions(Collection<InstanceDefinition> instanceDefinitions)
A set of EC2 instance types to use when creating instances in the group. The instance definitions must specify at least two different instance types that are supported by GameLift FleetIQ. For more information on instance types, see EC2 Instance Types in the Amazon EC2 User Guide.
instanceDefinitions
- A set of EC2 instance types to use when creating instances in the group. The instance definitions must
specify at least two different instance types that are supported by GameLift FleetIQ. For more information
on instance types, see EC2 Instance Types in
the Amazon EC2 User Guide.public void setAutoScalingPolicy(GameServerGroupAutoScalingPolicy autoScalingPolicy)
Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting. The scaling policy uses the metric "PercentUtilizedGameServers" to maintain a buffer of idle game servers that can immediately accommodate new games and players. Once the game server and Auto Scaling groups are created, you can update the scaling policy settings directly in Auto Scaling Groups.
autoScalingPolicy
- Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game
hosting. The scaling policy uses the metric "PercentUtilizedGameServers" to maintain a buffer of idle game
servers that can immediately accommodate new games and players. Once the game server and Auto Scaling
groups are created, you can update the scaling policy settings directly in Auto Scaling Groups.public GameServerGroupAutoScalingPolicy getAutoScalingPolicy()
Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting. The scaling policy uses the metric "PercentUtilizedGameServers" to maintain a buffer of idle game servers that can immediately accommodate new games and players. Once the game server and Auto Scaling groups are created, you can update the scaling policy settings directly in Auto Scaling Groups.
public CreateGameServerGroupRequest withAutoScalingPolicy(GameServerGroupAutoScalingPolicy autoScalingPolicy)
Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting. The scaling policy uses the metric "PercentUtilizedGameServers" to maintain a buffer of idle game servers that can immediately accommodate new games and players. Once the game server and Auto Scaling groups are created, you can update the scaling policy settings directly in Auto Scaling Groups.
autoScalingPolicy
- Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game
hosting. The scaling policy uses the metric "PercentUtilizedGameServers" to maintain a buffer of idle game
servers that can immediately accommodate new games and players. Once the game server and Auto Scaling
groups are created, you can update the scaling policy settings directly in Auto Scaling Groups.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 CreateGameServerGroupRequest 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 CreateGameServerGroupRequest 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 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 CreateGameServerGroupRequest 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 CreateGameServerGroupRequest 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 List<String> getVpcSubnets()
A list of virtual private cloud (VPC) subnets to use with instances in the game server group. By default, all GameLift FleetIQ-supported availability zones are used; this parameter allows you to specify VPCs that you've set up.
public void setVpcSubnets(Collection<String> vpcSubnets)
A list of virtual private cloud (VPC) subnets to use with instances in the game server group. By default, all GameLift FleetIQ-supported availability zones are used; this parameter allows you to specify VPCs that you've set up.
vpcSubnets
- A list of virtual private cloud (VPC) subnets to use with instances in the game server group. By default,
all GameLift FleetIQ-supported availability zones are used; this parameter allows you to specify VPCs that
you've set up.public CreateGameServerGroupRequest withVpcSubnets(String... vpcSubnets)
A list of virtual private cloud (VPC) subnets to use with instances in the game server group. By default, all GameLift FleetIQ-supported availability zones are used; this parameter allows you to specify VPCs that you've set up.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSubnets(java.util.Collection)
or withVpcSubnets(java.util.Collection)
if you want to
override the existing values.
vpcSubnets
- A list of virtual private cloud (VPC) subnets to use with instances in the game server group. By default,
all GameLift FleetIQ-supported availability zones are used; this parameter allows you to specify VPCs that
you've set up.public CreateGameServerGroupRequest withVpcSubnets(Collection<String> vpcSubnets)
A list of virtual private cloud (VPC) subnets to use with instances in the game server group. By default, all GameLift FleetIQ-supported availability zones are used; this parameter allows you to specify VPCs that you've set up.
vpcSubnets
- A list of virtual private cloud (VPC) subnets to use with instances in the game server group. By default,
all GameLift FleetIQ-supported availability zones are used; this parameter allows you to specify VPCs that
you've set up.public List<Tag> getTags()
A list of labels to assign to the new game server group resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management, and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
public void setTags(Collection<Tag> tags)
A list of labels to assign to the new game server group resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management, and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
tags
- A list of labels to assign to the new game server group resource. Tags are developer-defined key-value
pairs. Tagging AWS resources are useful for resource management, access management, and cost allocation.
For more information, see
Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use
TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags.
The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.public CreateGameServerGroupRequest withTags(Tag... tags)
A list of labels to assign to the new game server group resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management, and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of labels to assign to the new game server group resource. Tags are developer-defined key-value
pairs. Tagging AWS resources are useful for resource management, access management, and cost allocation.
For more information, see
Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use
TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags.
The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.public CreateGameServerGroupRequest withTags(Collection<Tag> tags)
A list of labels to assign to the new game server group resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management, and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
tags
- A list of labels to assign to the new game server group resource. Tags are developer-defined key-value
pairs. Tagging AWS resources are useful for resource management, access management, and cost allocation.
For more information, see
Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use
TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags.
The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.public String toString()
toString
in class Object
Object.toString()
public CreateGameServerGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.