public class CreateFleetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP
Constructor and Description |
---|
CreateFleetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFleetRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getBuildId()
Unique identifier for the build you want the new fleet to use.
|
String |
getDescription()
Human-readable description of the fleet.
|
List<IpPermission> |
getEC2InboundPermissions()
Access limits for incoming traffic.
|
String |
getEC2InstanceType()
Type of EC2 instances used in the fleet.
|
List<String> |
getLogPaths()
Path to game-session log files generated by your game server.
|
String |
getName()
Descriptive label associated with this fleet.
|
String |
getNewGameSessionProtectionPolicy()
Game session protection policy to apply to all instances created in this
fleet.
|
String |
getServerLaunchParameters()
Parameters required to launch your game server.
|
String |
getServerLaunchPath()
Path to the launch executable for the game server.
|
int |
hashCode() |
void |
setBuildId(String buildId)
Unique identifier for the build you want the new fleet to use.
|
void |
setDescription(String description)
Human-readable description of the fleet.
|
void |
setEC2InboundPermissions(Collection<IpPermission> eC2InboundPermissions)
Access limits for incoming traffic.
|
void |
setEC2InstanceType(EC2InstanceType eC2InstanceType)
Type of EC2 instances used in the fleet.
|
void |
setEC2InstanceType(String eC2InstanceType)
Type of EC2 instances used in the fleet.
|
void |
setLogPaths(Collection<String> logPaths)
Path to game-session log files generated by your game server.
|
void |
setName(String name)
Descriptive label associated with this fleet.
|
void |
setNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all instances created in this
fleet.
|
void |
setNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all instances created in this
fleet.
|
void |
setServerLaunchParameters(String serverLaunchParameters)
Parameters required to launch your game server.
|
void |
setServerLaunchPath(String serverLaunchPath)
Path to the launch executable for the game server.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateFleetRequest |
withBuildId(String buildId)
Unique identifier for the build you want the new fleet to use.
|
CreateFleetRequest |
withDescription(String description)
Human-readable description of the fleet.
|
CreateFleetRequest |
withEC2InboundPermissions(Collection<IpPermission> eC2InboundPermissions)
Access limits for incoming traffic.
|
CreateFleetRequest |
withEC2InboundPermissions(IpPermission... eC2InboundPermissions)
Access limits for incoming traffic.
|
CreateFleetRequest |
withEC2InstanceType(EC2InstanceType eC2InstanceType)
Type of EC2 instances used in the fleet.
|
CreateFleetRequest |
withEC2InstanceType(String eC2InstanceType)
Type of EC2 instances used in the fleet.
|
CreateFleetRequest |
withLogPaths(Collection<String> logPaths)
Path to game-session log files generated by your game server.
|
CreateFleetRequest |
withLogPaths(String... logPaths)
Path to game-session log files generated by your game server.
|
CreateFleetRequest |
withName(String name)
Descriptive label associated with this fleet.
|
CreateFleetRequest |
withNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all instances created in this
fleet.
|
CreateFleetRequest |
withNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all instances created in this
fleet.
|
CreateFleetRequest |
withServerLaunchParameters(String serverLaunchParameters)
Parameters required to launch your game server.
|
CreateFleetRequest |
withServerLaunchPath(String serverLaunchPath)
Path to the launch executable for the game server.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
Descriptive label associated with this fleet. Fleet names do not need to be unique.
name
- Descriptive label associated with this fleet. Fleet names do not
need to be unique.public String getName()
Descriptive label associated with this fleet. Fleet names do not need to be unique.
public CreateFleetRequest withName(String name)
Descriptive label associated with this fleet. Fleet names do not need to be unique.
name
- Descriptive label associated with this fleet. Fleet names do not
need to be unique.public void setDescription(String description)
Human-readable description of the fleet.
description
- Human-readable description of the fleet.public String getDescription()
Human-readable description of the fleet.
public CreateFleetRequest withDescription(String description)
Human-readable description of the fleet.
description
- Human-readable description of the fleet.public void setBuildId(String buildId)
Unique identifier for the build you want the new fleet to use.
buildId
- Unique identifier for the build you want the new fleet to use.public String getBuildId()
Unique identifier for the build you want the new fleet to use.
public CreateFleetRequest withBuildId(String buildId)
Unique identifier for the build you want the new fleet to use.
buildId
- Unique identifier for the build you want the new fleet to use.public void setServerLaunchPath(String serverLaunchPath)
Path to the launch executable for the game server. A game server is built
into a C:\game
drive. This value must be expressed as
C:\game\[launchpath]
. Example: If, when built, your game
server files are in a folder called "MyGame", your log path should be
C:\game\MyGame\server.exe
.
serverLaunchPath
- Path to the launch executable for the game server. A game server
is built into a C:\game
drive. This value must be
expressed as C:\game\[launchpath]
. Example: If, when
built, your game server files are in a folder called "MyGame",
your log path should be C:\game\MyGame\server.exe
.public String getServerLaunchPath()
Path to the launch executable for the game server. A game server is built
into a C:\game
drive. This value must be expressed as
C:\game\[launchpath]
. Example: If, when built, your game
server files are in a folder called "MyGame", your log path should be
C:\game\MyGame\server.exe
.
C:\game
drive. This value must be
expressed as C:\game\[launchpath]
. Example: If, when
built, your game server files are in a folder called "MyGame",
your log path should be C:\game\MyGame\server.exe
.public CreateFleetRequest withServerLaunchPath(String serverLaunchPath)
Path to the launch executable for the game server. A game server is built
into a C:\game
drive. This value must be expressed as
C:\game\[launchpath]
. Example: If, when built, your game
server files are in a folder called "MyGame", your log path should be
C:\game\MyGame\server.exe
.
serverLaunchPath
- Path to the launch executable for the game server. A game server
is built into a C:\game
drive. This value must be
expressed as C:\game\[launchpath]
. Example: If, when
built, your game server files are in a folder called "MyGame",
your log path should be C:\game\MyGame\server.exe
.public void setServerLaunchParameters(String serverLaunchParameters)
Parameters required to launch your game server. These parameters should be expressed as a string of command-line parameters. Example: "+sv_port 33435 +start_lobby".
serverLaunchParameters
- Parameters required to launch your game server. These parameters
should be expressed as a string of command-line parameters.
Example: "+sv_port 33435 +start_lobby".public String getServerLaunchParameters()
Parameters required to launch your game server. These parameters should be expressed as a string of command-line parameters. Example: "+sv_port 33435 +start_lobby".
public CreateFleetRequest withServerLaunchParameters(String serverLaunchParameters)
Parameters required to launch your game server. These parameters should be expressed as a string of command-line parameters. Example: "+sv_port 33435 +start_lobby".
serverLaunchParameters
- Parameters required to launch your game server. These parameters
should be expressed as a string of command-line parameters.
Example: "+sv_port 33435 +start_lobby".public List<String> getLogPaths()
Path to game-session log files generated by your game server. Once a game session has been terminated, Amazon GameLift captures and stores the logs on Amazon S3. Use the GameLift console to access the stored logs.
public void setLogPaths(Collection<String> logPaths)
Path to game-session log files generated by your game server. Once a game session has been terminated, Amazon GameLift captures and stores the logs on Amazon S3. Use the GameLift console to access the stored logs.
logPaths
- Path to game-session log files generated by your game server. Once
a game session has been terminated, Amazon GameLift captures and
stores the logs on Amazon S3. Use the GameLift console to access
the stored logs.public CreateFleetRequest withLogPaths(String... logPaths)
Path to game-session log files generated by your game server. Once a game session has been terminated, Amazon GameLift captures and stores the logs on Amazon S3. Use the GameLift console to access the stored logs.
NOTE: This method appends the values to the existing list (if
any). Use setLogPaths(java.util.Collection)
or
withLogPaths(java.util.Collection)
if you want to override the
existing values.
logPaths
- Path to game-session log files generated by your game server. Once
a game session has been terminated, Amazon GameLift captures and
stores the logs on Amazon S3. Use the GameLift console to access
the stored logs.public CreateFleetRequest withLogPaths(Collection<String> logPaths)
Path to game-session log files generated by your game server. Once a game session has been terminated, Amazon GameLift captures and stores the logs on Amazon S3. Use the GameLift console to access the stored logs.
logPaths
- Path to game-session log files generated by your game server. Once
a game session has been terminated, Amazon GameLift captures and
stores the logs on Amazon S3. Use the GameLift console to access
the stored logs.public void setEC2InstanceType(String eC2InstanceType)
Type of EC2 instances used in the fleet. EC2 instance types define the CPU, memory, storage, and networking capacity of the fleetaposs hosts. Amazon GameLift supports the EC2 instance types listed below. See Amazon EC2 Instance Types for detailed descriptions of each.
eC2InstanceType
- Type of EC2 instances used in the fleet. EC2 instance types define
the CPU, memory, storage, and networking capacity of the
fleetaposs hosts. Amazon GameLift supports the EC2 instance types
listed below. See Amazon EC2
Instance Types for detailed descriptions of each.EC2InstanceType
public String getEC2InstanceType()
Type of EC2 instances used in the fleet. EC2 instance types define the CPU, memory, storage, and networking capacity of the fleetaposs hosts. Amazon GameLift supports the EC2 instance types listed below. See Amazon EC2 Instance Types for detailed descriptions of each.
EC2InstanceType
public CreateFleetRequest withEC2InstanceType(String eC2InstanceType)
Type of EC2 instances used in the fleet. EC2 instance types define the CPU, memory, storage, and networking capacity of the fleetaposs hosts. Amazon GameLift supports the EC2 instance types listed below. See Amazon EC2 Instance Types for detailed descriptions of each.
eC2InstanceType
- Type of EC2 instances used in the fleet. EC2 instance types define
the CPU, memory, storage, and networking capacity of the
fleetaposs hosts. Amazon GameLift supports the EC2 instance types
listed below. See Amazon EC2
Instance Types for detailed descriptions of each.EC2InstanceType
public void setEC2InstanceType(EC2InstanceType eC2InstanceType)
Type of EC2 instances used in the fleet. EC2 instance types define the CPU, memory, storage, and networking capacity of the fleetaposs hosts. Amazon GameLift supports the EC2 instance types listed below. See Amazon EC2 Instance Types for detailed descriptions of each.
eC2InstanceType
- Type of EC2 instances used in the fleet. EC2 instance types define
the CPU, memory, storage, and networking capacity of the
fleetaposs hosts. Amazon GameLift supports the EC2 instance types
listed below. See Amazon EC2
Instance Types for detailed descriptions of each.EC2InstanceType
public CreateFleetRequest withEC2InstanceType(EC2InstanceType eC2InstanceType)
Type of EC2 instances used in the fleet. EC2 instance types define the CPU, memory, storage, and networking capacity of the fleetaposs hosts. Amazon GameLift supports the EC2 instance types listed below. See Amazon EC2 Instance Types for detailed descriptions of each.
eC2InstanceType
- Type of EC2 instances used in the fleet. EC2 instance types define
the CPU, memory, storage, and networking capacity of the
fleetaposs hosts. Amazon GameLift supports the EC2 instance types
listed below. See Amazon EC2
Instance Types for detailed descriptions of each.EC2InstanceType
public List<IpPermission> getEC2InboundPermissions()
Access limits for incoming traffic. Setting these values limits game server access to incoming traffic using specified IP ranges and port numbers. Some ports in a range may be restricted. You can provide one or more sets of permissions for the fleet.
public void setEC2InboundPermissions(Collection<IpPermission> eC2InboundPermissions)
Access limits for incoming traffic. Setting these values limits game server access to incoming traffic using specified IP ranges and port numbers. Some ports in a range may be restricted. You can provide one or more sets of permissions for the fleet.
eC2InboundPermissions
- Access limits for incoming traffic. Setting these values limits
game server access to incoming traffic using specified IP ranges
and port numbers. Some ports in a range may be restricted. You can
provide one or more sets of permissions for the fleet.public CreateFleetRequest withEC2InboundPermissions(IpPermission... eC2InboundPermissions)
Access limits for incoming traffic. Setting these values limits game server access to incoming traffic using specified IP ranges and port numbers. Some ports in a range may be restricted. You can provide one or more sets of permissions for the fleet.
NOTE: This method appends the values to the existing list (if
any). Use setEC2InboundPermissions(java.util.Collection)
or
withEC2InboundPermissions(java.util.Collection)
if you want to
override the existing values.
eC2InboundPermissions
- Access limits for incoming traffic. Setting these values limits
game server access to incoming traffic using specified IP ranges
and port numbers. Some ports in a range may be restricted. You can
provide one or more sets of permissions for the fleet.public CreateFleetRequest withEC2InboundPermissions(Collection<IpPermission> eC2InboundPermissions)
Access limits for incoming traffic. Setting these values limits game server access to incoming traffic using specified IP ranges and port numbers. Some ports in a range may be restricted. You can provide one or more sets of permissions for the fleet.
eC2InboundPermissions
- Access limits for incoming traffic. Setting these values limits
game server access to incoming traffic using specified IP ranges
and port numbers. Some ports in a range may be restricted. You can
provide one or more sets of permissions for the fleet.public void setNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all instances created in this fleet. If this parameter is not set, new instances in this fleet will default to no protection. Protection can be set for individual instances using UpdateGameSession.
newGameSessionProtectionPolicy
- Game session protection policy to apply to all instances created
in this fleet. If this parameter is not set, new instances in this
fleet will default to no protection. Protection can be set for
individual instances using UpdateGameSession.
ProtectionPolicy
public String getNewGameSessionProtectionPolicy()
Game session protection policy to apply to all instances created in this fleet. If this parameter is not set, new instances in this fleet will default to no protection. Protection can be set for individual instances using UpdateGameSession.
ProtectionPolicy
public CreateFleetRequest withNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all instances created in this fleet. If this parameter is not set, new instances in this fleet will default to no protection. Protection can be set for individual instances using UpdateGameSession.
newGameSessionProtectionPolicy
- Game session protection policy to apply to all instances created
in this fleet. If this parameter is not set, new instances in this
fleet will default to no protection. Protection can be set for
individual instances using UpdateGameSession.
ProtectionPolicy
public void setNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all instances created in this fleet. If this parameter is not set, new instances in this fleet will default to no protection. Protection can be set for individual instances using UpdateGameSession.
newGameSessionProtectionPolicy
- Game session protection policy to apply to all instances created
in this fleet. If this parameter is not set, new instances in this
fleet will default to no protection. Protection can be set for
individual instances using UpdateGameSession.
ProtectionPolicy
public CreateFleetRequest withNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all instances created in this fleet. If this parameter is not set, new instances in this fleet will default to no protection. Protection can be set for individual instances using UpdateGameSession.
newGameSessionProtectionPolicy
- Game session protection policy to apply to all instances created
in this fleet. If this parameter is not set, new instances in this
fleet will default to no protection. Protection can be set for
individual instances using UpdateGameSession.
ProtectionPolicy
public String toString()
toString
in class Object
Object.toString()
public CreateFleetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.