@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FleetAttributes extends Object implements Serializable, Cloneable, StructuredPojo
General properties describing a fleet.
Constructor and Description |
---|
FleetAttributes() |
Modifier and Type | Method and Description |
---|---|
FleetAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getBuildArn()
The Amazon Resource Name (ARN) associated with the
GameLift build resource that is deployed on instances in this fleet.
|
String |
getBuildId()
A unique identifier for a build.
|
CertificateConfiguration |
getCertificateConfiguration()
Indicates whether a TLS/SSL certificate was generated for the fleet.
|
Date |
getCreationTime()
Time stamp indicating when this data object was created.
|
String |
getDescription()
Human-readable description of the fleet.
|
String |
getFleetArn()
The Amazon Resource Name (ARN) that is assigned to a
GameLift fleet resource and uniquely identifies it.
|
String |
getFleetId()
A unique identifier for a fleet.
|
String |
getFleetType()
Indicates whether the fleet uses on-demand or spot instances.
|
String |
getInstanceRoleArn()
A unique identifier for an AWS IAM role that manages access to your AWS services.
|
String |
getInstanceType()
EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory,
storage, and networking capacity.
|
List<String> |
getLogPaths()
Location of default log files.
|
List<String> |
getMetricGroups()
Names of metric groups that this fleet is included in.
|
String |
getName()
A descriptive label that is associated with a fleet.
|
String |
getNewGameSessionProtectionPolicy()
The type of game session protection to set for all new instances started in the fleet.
|
String |
getOperatingSystem()
Operating system of the fleet's computing resources.
|
ResourceCreationLimitPolicy |
getResourceCreationLimitPolicy()
Fleet policy to limit the number of game sessions an individual player can create over a span of time.
|
String |
getScriptArn()
The Amazon Resource Name (ARN) associated with the
GameLift script resource that is deployed on instances in this fleet.
|
String |
getScriptId()
A unique identifier for a Realtime script.
|
String |
getServerLaunchParameters()
Game server launch parameters specified for fleets created before 2016-08-04 (or AWS SDK v.
|
String |
getServerLaunchPath()
Path to a game server executable in the fleet's build, specified for fleets created before 2016-08-04 (or AWS SDK
v.
|
String |
getStatus()
Current status of the fleet.
|
List<String> |
getStoppedActions()
List of fleet actions that have been suspended using StopFleetActions.
|
Date |
getTerminationTime()
Time stamp indicating when this data object was terminated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBuildArn(String buildArn)
The Amazon Resource Name (ARN) associated with the
GameLift build resource that is deployed on instances in this fleet.
|
void |
setBuildId(String buildId)
A unique identifier for a build.
|
void |
setCertificateConfiguration(CertificateConfiguration certificateConfiguration)
Indicates whether a TLS/SSL certificate was generated for the fleet.
|
void |
setCreationTime(Date creationTime)
Time stamp indicating when this data object was created.
|
void |
setDescription(String description)
Human-readable description of the fleet.
|
void |
setFleetArn(String fleetArn)
The Amazon Resource Name (ARN) that is assigned to a
GameLift fleet resource and uniquely identifies it.
|
void |
setFleetId(String fleetId)
A unique identifier for a fleet.
|
void |
setFleetType(FleetType fleetType)
Indicates whether the fleet uses on-demand or spot instances.
|
void |
setFleetType(String fleetType)
Indicates whether the fleet uses on-demand or spot instances.
|
void |
setInstanceRoleArn(String instanceRoleArn)
A unique identifier for an AWS IAM role that manages access to your AWS services.
|
void |
setInstanceType(EC2InstanceType instanceType)
EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory,
storage, and networking capacity.
|
void |
setInstanceType(String instanceType)
EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory,
storage, and networking capacity.
|
void |
setLogPaths(Collection<String> logPaths)
Location of default log files.
|
void |
setMetricGroups(Collection<String> metricGroups)
Names of metric groups that this fleet is included in.
|
void |
setName(String name)
A descriptive label that is associated with a fleet.
|
void |
setNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
The type of game session protection to set for all new instances started in the fleet.
|
void |
setNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
The type of game session protection to set for all new instances started in the fleet.
|
void |
setOperatingSystem(OperatingSystem operatingSystem)
Operating system of the fleet's computing resources.
|
void |
setOperatingSystem(String operatingSystem)
Operating system of the fleet's computing resources.
|
void |
setResourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy)
Fleet policy to limit the number of game sessions an individual player can create over a span of time.
|
void |
setScriptArn(String scriptArn)
The Amazon Resource Name (ARN) associated with the
GameLift script resource that is deployed on instances in this fleet.
|
void |
setScriptId(String scriptId)
A unique identifier for a Realtime script.
|
void |
setServerLaunchParameters(String serverLaunchParameters)
Game server launch parameters specified for fleets created before 2016-08-04 (or AWS SDK v.
|
void |
setServerLaunchPath(String serverLaunchPath)
Path to a game server executable in the fleet's build, specified for fleets created before 2016-08-04 (or AWS SDK
v.
|
void |
setStatus(FleetStatus status)
Current status of the fleet.
|
void |
setStatus(String status)
Current status of the fleet.
|
void |
setStoppedActions(Collection<String> stoppedActions)
List of fleet actions that have been suspended using StopFleetActions.
|
void |
setTerminationTime(Date terminationTime)
Time stamp indicating when this data object was terminated.
|
String |
toString()
Returns a string representation of this object.
|
FleetAttributes |
withBuildArn(String buildArn)
The Amazon Resource Name (ARN) associated with the
GameLift build resource that is deployed on instances in this fleet.
|
FleetAttributes |
withBuildId(String buildId)
A unique identifier for a build.
|
FleetAttributes |
withCertificateConfiguration(CertificateConfiguration certificateConfiguration)
Indicates whether a TLS/SSL certificate was generated for the fleet.
|
FleetAttributes |
withCreationTime(Date creationTime)
Time stamp indicating when this data object was created.
|
FleetAttributes |
withDescription(String description)
Human-readable description of the fleet.
|
FleetAttributes |
withFleetArn(String fleetArn)
The Amazon Resource Name (ARN) that is assigned to a
GameLift fleet resource and uniquely identifies it.
|
FleetAttributes |
withFleetId(String fleetId)
A unique identifier for a fleet.
|
FleetAttributes |
withFleetType(FleetType fleetType)
Indicates whether the fleet uses on-demand or spot instances.
|
FleetAttributes |
withFleetType(String fleetType)
Indicates whether the fleet uses on-demand or spot instances.
|
FleetAttributes |
withInstanceRoleArn(String instanceRoleArn)
A unique identifier for an AWS IAM role that manages access to your AWS services.
|
FleetAttributes |
withInstanceType(EC2InstanceType instanceType)
EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory,
storage, and networking capacity.
|
FleetAttributes |
withInstanceType(String instanceType)
EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory,
storage, and networking capacity.
|
FleetAttributes |
withLogPaths(Collection<String> logPaths)
Location of default log files.
|
FleetAttributes |
withLogPaths(String... logPaths)
Location of default log files.
|
FleetAttributes |
withMetricGroups(Collection<String> metricGroups)
Names of metric groups that this fleet is included in.
|
FleetAttributes |
withMetricGroups(String... metricGroups)
Names of metric groups that this fleet is included in.
|
FleetAttributes |
withName(String name)
A descriptive label that is associated with a fleet.
|
FleetAttributes |
withNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
The type of game session protection to set for all new instances started in the fleet.
|
FleetAttributes |
withNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
The type of game session protection to set for all new instances started in the fleet.
|
FleetAttributes |
withOperatingSystem(OperatingSystem operatingSystem)
Operating system of the fleet's computing resources.
|
FleetAttributes |
withOperatingSystem(String operatingSystem)
Operating system of the fleet's computing resources.
|
FleetAttributes |
withResourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy)
Fleet policy to limit the number of game sessions an individual player can create over a span of time.
|
FleetAttributes |
withScriptArn(String scriptArn)
The Amazon Resource Name (ARN) associated with the
GameLift script resource that is deployed on instances in this fleet.
|
FleetAttributes |
withScriptId(String scriptId)
A unique identifier for a Realtime script.
|
FleetAttributes |
withServerLaunchParameters(String serverLaunchParameters)
Game server launch parameters specified for fleets created before 2016-08-04 (or AWS SDK v.
|
FleetAttributes |
withServerLaunchPath(String serverLaunchPath)
Path to a game server executable in the fleet's build, specified for fleets created before 2016-08-04 (or AWS SDK
v.
|
FleetAttributes |
withStatus(FleetStatus status)
Current status of the fleet.
|
FleetAttributes |
withStatus(String status)
Current status of the fleet.
|
FleetAttributes |
withStoppedActions(Collection<String> stoppedActions)
List of fleet actions that have been suspended using StopFleetActions.
|
FleetAttributes |
withStoppedActions(FleetAction... stoppedActions)
List of fleet actions that have been suspended using StopFleetActions.
|
FleetAttributes |
withStoppedActions(String... stoppedActions)
List of fleet actions that have been suspended using StopFleetActions.
|
FleetAttributes |
withTerminationTime(Date terminationTime)
Time stamp indicating when this data object was terminated.
|
public void setFleetId(String fleetId)
A unique identifier for a fleet.
fleetId
- A unique identifier for a fleet.public String getFleetId()
A unique identifier for a fleet.
public FleetAttributes withFleetId(String fleetId)
A unique identifier for a fleet.
fleetId
- A unique identifier for a fleet.public void setFleetArn(String fleetArn)
The Amazon Resource Name (ARN) that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift fleet ARN, the resource ID matches the FleetId value.
fleetArn
- The Amazon Resource Name (ARN) that is
assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. In a
GameLift fleet ARN, the resource ID matches the FleetId value.public String getFleetArn()
The Amazon Resource Name (ARN) that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift fleet ARN, the resource ID matches the FleetId value.
public FleetAttributes withFleetArn(String fleetArn)
The Amazon Resource Name (ARN) that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift fleet ARN, the resource ID matches the FleetId value.
fleetArn
- The Amazon Resource Name (ARN) that is
assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. In a
GameLift fleet ARN, the resource ID matches the FleetId value.public void setFleetType(String fleetType)
Indicates whether the fleet uses on-demand or spot instances. A spot instance in use may be interrupted with a two-minute notification.
fleetType
- Indicates whether the fleet uses on-demand or spot instances. A spot instance in use may be interrupted
with a two-minute notification.FleetType
public String getFleetType()
Indicates whether the fleet uses on-demand or spot instances. A spot instance in use may be interrupted with a two-minute notification.
FleetType
public FleetAttributes withFleetType(String fleetType)
Indicates whether the fleet uses on-demand or spot instances. A spot instance in use may be interrupted with a two-minute notification.
fleetType
- Indicates whether the fleet uses on-demand or spot instances. A spot instance in use may be interrupted
with a two-minute notification.FleetType
public void setFleetType(FleetType fleetType)
Indicates whether the fleet uses on-demand or spot instances. A spot instance in use may be interrupted with a two-minute notification.
fleetType
- Indicates whether the fleet uses on-demand or spot instances. A spot instance in use may be interrupted
with a two-minute notification.FleetType
public FleetAttributes withFleetType(FleetType fleetType)
Indicates whether the fleet uses on-demand or spot instances. A spot instance in use may be interrupted with a two-minute notification.
fleetType
- Indicates whether the fleet uses on-demand or spot instances. A spot instance in use may be interrupted
with a two-minute notification.FleetType
public void setInstanceType(String instanceType)
EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
instanceType
- EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory,
storage, and networking capacity. See Amazon EC2
Instance Types for detailed descriptions.EC2InstanceType
public String getInstanceType()
EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
EC2InstanceType
public FleetAttributes withInstanceType(String instanceType)
EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
instanceType
- EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory,
storage, and networking capacity. See Amazon EC2
Instance Types for detailed descriptions.EC2InstanceType
public void setInstanceType(EC2InstanceType instanceType)
EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
instanceType
- EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory,
storage, and networking capacity. See Amazon EC2
Instance Types for detailed descriptions.EC2InstanceType
public FleetAttributes withInstanceType(EC2InstanceType instanceType)
EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
instanceType
- EC2 instance type indicating the computing resources of each instance in the fleet, including CPU, memory,
storage, and networking capacity. See Amazon EC2
Instance Types for detailed descriptions.EC2InstanceType
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 FleetAttributes withDescription(String description)
Human-readable description of the fleet.
description
- Human-readable description of the fleet.public void setName(String name)
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
name
- A descriptive label that is associated with a fleet. Fleet names do not need to be unique.public String getName()
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
public FleetAttributes withName(String name)
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
name
- A descriptive label that is associated with a fleet. Fleet names do not need to be unique.public void setCreationTime(Date creationTime)
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
creationTime
- Time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057").public Date getCreationTime()
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
public FleetAttributes withCreationTime(Date creationTime)
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
creationTime
- Time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057").public void setTerminationTime(Date terminationTime)
Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
terminationTime
- Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057").public Date getTerminationTime()
Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
public FleetAttributes withTerminationTime(Date terminationTime)
Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
terminationTime
- Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057").public void setStatus(String status)
Current status of the fleet.
Possible fleet statuses include the following:
NEW -- A new fleet has been defined and desired instances is set to 1.
DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is setting up the new fleet, creating new instances with the game build or Realtime script and starting server processes.
ACTIVE -- Hosts can now accept game sessions.
ERROR -- An error occurred when downloading, validating, building, or activating the fleet.
DELETING -- Hosts are responding to a delete fleet request.
TERMINATED -- The fleet no longer exists.
status
- Current status of the fleet.
Possible fleet statuses include the following:
NEW -- A new fleet has been defined and desired instances is set to 1.
DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is setting up the new fleet, creating new instances with the game build or Realtime script and starting server processes.
ACTIVE -- Hosts can now accept game sessions.
ERROR -- An error occurred when downloading, validating, building, or activating the fleet.
DELETING -- Hosts are responding to a delete fleet request.
TERMINATED -- The fleet no longer exists.
FleetStatus
public String getStatus()
Current status of the fleet.
Possible fleet statuses include the following:
NEW -- A new fleet has been defined and desired instances is set to 1.
DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is setting up the new fleet, creating new instances with the game build or Realtime script and starting server processes.
ACTIVE -- Hosts can now accept game sessions.
ERROR -- An error occurred when downloading, validating, building, or activating the fleet.
DELETING -- Hosts are responding to a delete fleet request.
TERMINATED -- The fleet no longer exists.
Possible fleet statuses include the following:
NEW -- A new fleet has been defined and desired instances is set to 1.
DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is setting up the new fleet, creating new instances with the game build or Realtime script and starting server processes.
ACTIVE -- Hosts can now accept game sessions.
ERROR -- An error occurred when downloading, validating, building, or activating the fleet.
DELETING -- Hosts are responding to a delete fleet request.
TERMINATED -- The fleet no longer exists.
FleetStatus
public FleetAttributes withStatus(String status)
Current status of the fleet.
Possible fleet statuses include the following:
NEW -- A new fleet has been defined and desired instances is set to 1.
DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is setting up the new fleet, creating new instances with the game build or Realtime script and starting server processes.
ACTIVE -- Hosts can now accept game sessions.
ERROR -- An error occurred when downloading, validating, building, or activating the fleet.
DELETING -- Hosts are responding to a delete fleet request.
TERMINATED -- The fleet no longer exists.
status
- Current status of the fleet.
Possible fleet statuses include the following:
NEW -- A new fleet has been defined and desired instances is set to 1.
DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is setting up the new fleet, creating new instances with the game build or Realtime script and starting server processes.
ACTIVE -- Hosts can now accept game sessions.
ERROR -- An error occurred when downloading, validating, building, or activating the fleet.
DELETING -- Hosts are responding to a delete fleet request.
TERMINATED -- The fleet no longer exists.
FleetStatus
public void setStatus(FleetStatus status)
Current status of the fleet.
Possible fleet statuses include the following:
NEW -- A new fleet has been defined and desired instances is set to 1.
DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is setting up the new fleet, creating new instances with the game build or Realtime script and starting server processes.
ACTIVE -- Hosts can now accept game sessions.
ERROR -- An error occurred when downloading, validating, building, or activating the fleet.
DELETING -- Hosts are responding to a delete fleet request.
TERMINATED -- The fleet no longer exists.
status
- Current status of the fleet.
Possible fleet statuses include the following:
NEW -- A new fleet has been defined and desired instances is set to 1.
DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is setting up the new fleet, creating new instances with the game build or Realtime script and starting server processes.
ACTIVE -- Hosts can now accept game sessions.
ERROR -- An error occurred when downloading, validating, building, or activating the fleet.
DELETING -- Hosts are responding to a delete fleet request.
TERMINATED -- The fleet no longer exists.
FleetStatus
public FleetAttributes withStatus(FleetStatus status)
Current status of the fleet.
Possible fleet statuses include the following:
NEW -- A new fleet has been defined and desired instances is set to 1.
DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is setting up the new fleet, creating new instances with the game build or Realtime script and starting server processes.
ACTIVE -- Hosts can now accept game sessions.
ERROR -- An error occurred when downloading, validating, building, or activating the fleet.
DELETING -- Hosts are responding to a delete fleet request.
TERMINATED -- The fleet no longer exists.
status
- Current status of the fleet.
Possible fleet statuses include the following:
NEW -- A new fleet has been defined and desired instances is set to 1.
DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is setting up the new fleet, creating new instances with the game build or Realtime script and starting server processes.
ACTIVE -- Hosts can now accept game sessions.
ERROR -- An error occurred when downloading, validating, building, or activating the fleet.
DELETING -- Hosts are responding to a delete fleet request.
TERMINATED -- The fleet no longer exists.
FleetStatus
public void setBuildId(String buildId)
A unique identifier for a build.
buildId
- A unique identifier for a build.public String getBuildId()
A unique identifier for a build.
public FleetAttributes withBuildId(String buildId)
A unique identifier for a build.
buildId
- A unique identifier for a build.public void setBuildArn(String buildArn)
The Amazon Resource Name (ARN) associated with the GameLift build resource that is deployed on instances in this fleet. In a GameLift build ARN, the resource ID matches the BuildId value.
buildArn
- The Amazon Resource Name (ARN) associated with
the GameLift build resource that is deployed on instances in this fleet. In a GameLift build ARN, the
resource ID matches the BuildId value.public String getBuildArn()
The Amazon Resource Name (ARN) associated with the GameLift build resource that is deployed on instances in this fleet. In a GameLift build ARN, the resource ID matches the BuildId value.
public FleetAttributes withBuildArn(String buildArn)
The Amazon Resource Name (ARN) associated with the GameLift build resource that is deployed on instances in this fleet. In a GameLift build ARN, the resource ID matches the BuildId value.
buildArn
- The Amazon Resource Name (ARN) associated with
the GameLift build resource that is deployed on instances in this fleet. In a GameLift build ARN, the
resource ID matches the BuildId value.public void setScriptId(String scriptId)
A unique identifier for a Realtime script.
scriptId
- A unique identifier for a Realtime script.public String getScriptId()
A unique identifier for a Realtime script.
public FleetAttributes withScriptId(String scriptId)
A unique identifier for a Realtime script.
scriptId
- A unique identifier for a Realtime script.public void setScriptArn(String scriptArn)
The Amazon Resource Name (ARN) associated with the GameLift script resource that is deployed on instances in this fleet. In a GameLift script ARN, the resource ID matches the ScriptId value.
scriptArn
- The Amazon Resource Name (ARN) associated with
the GameLift script resource that is deployed on instances in this fleet. In a GameLift script ARN, the
resource ID matches the ScriptId value.public String getScriptArn()
The Amazon Resource Name (ARN) associated with the GameLift script resource that is deployed on instances in this fleet. In a GameLift script ARN, the resource ID matches the ScriptId value.
public FleetAttributes withScriptArn(String scriptArn)
The Amazon Resource Name (ARN) associated with the GameLift script resource that is deployed on instances in this fleet. In a GameLift script ARN, the resource ID matches the ScriptId value.
scriptArn
- The Amazon Resource Name (ARN) associated with
the GameLift script resource that is deployed on instances in this fleet. In a GameLift script ARN, the
resource ID matches the ScriptId value.public void setServerLaunchPath(String serverLaunchPath)
Path to a game server executable in the fleet's build, specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch paths for fleets created after this date are specified in the fleet's RuntimeConfiguration.
serverLaunchPath
- Path to a game server executable in the fleet's build, specified for fleets created before 2016-08-04 (or
AWS SDK v. 0.12.16). Server launch paths for fleets created after this date are specified in the fleet's
RuntimeConfiguration.public String getServerLaunchPath()
Path to a game server executable in the fleet's build, specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch paths for fleets created after this date are specified in the fleet's RuntimeConfiguration.
public FleetAttributes withServerLaunchPath(String serverLaunchPath)
Path to a game server executable in the fleet's build, specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch paths for fleets created after this date are specified in the fleet's RuntimeConfiguration.
serverLaunchPath
- Path to a game server executable in the fleet's build, specified for fleets created before 2016-08-04 (or
AWS SDK v. 0.12.16). Server launch paths for fleets created after this date are specified in the fleet's
RuntimeConfiguration.public void setServerLaunchParameters(String serverLaunchParameters)
Game server launch parameters specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch parameters for fleets created after this date are specified in the fleet's RuntimeConfiguration.
serverLaunchParameters
- Game server launch parameters specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16).
Server launch parameters for fleets created after this date are specified in the fleet's
RuntimeConfiguration.public String getServerLaunchParameters()
Game server launch parameters specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch parameters for fleets created after this date are specified in the fleet's RuntimeConfiguration.
public FleetAttributes withServerLaunchParameters(String serverLaunchParameters)
Game server launch parameters specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch parameters for fleets created after this date are specified in the fleet's RuntimeConfiguration.
serverLaunchParameters
- Game server launch parameters specified for fleets created before 2016-08-04 (or AWS SDK v. 0.12.16).
Server launch parameters for fleets created after this date are specified in the fleet's
RuntimeConfiguration.public List<String> getLogPaths()
Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any log
files in this location. These logs are in addition to game session logs; see more on game session logs in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, Amazon GameLift
automatically uploads logs that are stored on each instance at C:\game\logs
(for Windows) or
/local/game/logs
(for Linux). Use the Amazon GameLift console to access stored logs.
C:\game\logs
(for Windows) or
/local/game/logs
(for Linux). Use the Amazon GameLift console to access stored logs.public void setLogPaths(Collection<String> logPaths)
Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any log
files in this location. These logs are in addition to game session logs; see more on game session logs in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, Amazon GameLift
automatically uploads logs that are stored on each instance at C:\game\logs
(for Windows) or
/local/game/logs
(for Linux). Use the Amazon GameLift console to access stored logs.
logPaths
- Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any
log files in this location. These logs are in addition to game session logs; see more on game session logs
in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, Amazon GameLift
automatically uploads logs that are stored on each instance at C:\game\logs
(for Windows) or
/local/game/logs
(for Linux). Use the Amazon GameLift console to access stored logs.public FleetAttributes withLogPaths(String... logPaths)
Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any log
files in this location. These logs are in addition to game session logs; see more on game session logs in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, Amazon GameLift
automatically uploads logs that are stored on each instance at C:\game\logs
(for Windows) or
/local/game/logs
(for Linux). Use the Amazon GameLift console to access 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
- Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any
log files in this location. These logs are in addition to game session logs; see more on game session logs
in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, Amazon GameLift
automatically uploads logs that are stored on each instance at C:\game\logs
(for Windows) or
/local/game/logs
(for Linux). Use the Amazon GameLift console to access stored logs.public FleetAttributes withLogPaths(Collection<String> logPaths)
Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any log
files in this location. These logs are in addition to game session logs; see more on game session logs in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, Amazon GameLift
automatically uploads logs that are stored on each instance at C:\game\logs
(for Windows) or
/local/game/logs
(for Linux). Use the Amazon GameLift console to access stored logs.
logPaths
- Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any
log files in this location. These logs are in addition to game session logs; see more on game session logs
in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, Amazon GameLift
automatically uploads logs that are stored on each instance at C:\game\logs
(for Windows) or
/local/game/logs
(for Linux). Use the Amazon GameLift console to access stored logs.public void setNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
The type of game session protection to set for all new instances started in the fleet.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE
status, it cannot be terminated during
a scale-down event.
newGameSessionProtectionPolicy
- The type of game session protection to set for all new instances started in the fleet.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE
status, it cannot be terminated
during a scale-down event.
ProtectionPolicy
public String getNewGameSessionProtectionPolicy()
The type of game session protection to set for all new instances started in the fleet.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE
status, it cannot be terminated during
a scale-down event.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE
status, it cannot be terminated
during a scale-down event.
ProtectionPolicy
public FleetAttributes withNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
The type of game session protection to set for all new instances started in the fleet.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE
status, it cannot be terminated during
a scale-down event.
newGameSessionProtectionPolicy
- The type of game session protection to set for all new instances started in the fleet.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE
status, it cannot be terminated
during a scale-down event.
ProtectionPolicy
public void setNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
The type of game session protection to set for all new instances started in the fleet.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE
status, it cannot be terminated during
a scale-down event.
newGameSessionProtectionPolicy
- The type of game session protection to set for all new instances started in the fleet.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE
status, it cannot be terminated
during a scale-down event.
ProtectionPolicy
public FleetAttributes withNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
The type of game session protection to set for all new instances started in the fleet.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE
status, it cannot be terminated during
a scale-down event.
newGameSessionProtectionPolicy
- The type of game session protection to set for all new instances started in the fleet.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE
status, it cannot be terminated
during a scale-down event.
ProtectionPolicy
public void setOperatingSystem(String operatingSystem)
Operating system of the fleet's computing resources. A fleet's operating system depends on the OS specified for the build that is deployed on this fleet.
operatingSystem
- Operating system of the fleet's computing resources. A fleet's operating system depends on the OS
specified for the build that is deployed on this fleet.OperatingSystem
public String getOperatingSystem()
Operating system of the fleet's computing resources. A fleet's operating system depends on the OS specified for the build that is deployed on this fleet.
OperatingSystem
public FleetAttributes withOperatingSystem(String operatingSystem)
Operating system of the fleet's computing resources. A fleet's operating system depends on the OS specified for the build that is deployed on this fleet.
operatingSystem
- Operating system of the fleet's computing resources. A fleet's operating system depends on the OS
specified for the build that is deployed on this fleet.OperatingSystem
public void setOperatingSystem(OperatingSystem operatingSystem)
Operating system of the fleet's computing resources. A fleet's operating system depends on the OS specified for the build that is deployed on this fleet.
operatingSystem
- Operating system of the fleet's computing resources. A fleet's operating system depends on the OS
specified for the build that is deployed on this fleet.OperatingSystem
public FleetAttributes withOperatingSystem(OperatingSystem operatingSystem)
Operating system of the fleet's computing resources. A fleet's operating system depends on the OS specified for the build that is deployed on this fleet.
operatingSystem
- Operating system of the fleet's computing resources. A fleet's operating system depends on the OS
specified for the build that is deployed on this fleet.OperatingSystem
public void setResourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy)
Fleet policy to limit the number of game sessions an individual player can create over a span of time.
resourceCreationLimitPolicy
- Fleet policy to limit the number of game sessions an individual player can create over a span of time.public ResourceCreationLimitPolicy getResourceCreationLimitPolicy()
Fleet policy to limit the number of game sessions an individual player can create over a span of time.
public FleetAttributes withResourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy)
Fleet policy to limit the number of game sessions an individual player can create over a span of time.
resourceCreationLimitPolicy
- Fleet policy to limit the number of game sessions an individual player can create over a span of time.public List<String> getMetricGroups()
Names of metric groups that this fleet is included in. In Amazon CloudWatch, you can view metrics for an individual fleet or aggregated metrics for fleets that are in a fleet metric group. A fleet can be included in only one metric group at a time.
public void setMetricGroups(Collection<String> metricGroups)
Names of metric groups that this fleet is included in. In Amazon CloudWatch, you can view metrics for an individual fleet or aggregated metrics for fleets that are in a fleet metric group. A fleet can be included in only one metric group at a time.
metricGroups
- Names of metric groups that this fleet is included in. In Amazon CloudWatch, you can view metrics for an
individual fleet or aggregated metrics for fleets that are in a fleet metric group. A fleet can be
included in only one metric group at a time.public FleetAttributes withMetricGroups(String... metricGroups)
Names of metric groups that this fleet is included in. In Amazon CloudWatch, you can view metrics for an individual fleet or aggregated metrics for fleets that are in a fleet metric group. A fleet can be included in only one metric group at a time.
NOTE: This method appends the values to the existing list (if any). Use
setMetricGroups(java.util.Collection)
or withMetricGroups(java.util.Collection)
if you want to
override the existing values.
metricGroups
- Names of metric groups that this fleet is included in. In Amazon CloudWatch, you can view metrics for an
individual fleet or aggregated metrics for fleets that are in a fleet metric group. A fleet can be
included in only one metric group at a time.public FleetAttributes withMetricGroups(Collection<String> metricGroups)
Names of metric groups that this fleet is included in. In Amazon CloudWatch, you can view metrics for an individual fleet or aggregated metrics for fleets that are in a fleet metric group. A fleet can be included in only one metric group at a time.
metricGroups
- Names of metric groups that this fleet is included in. In Amazon CloudWatch, you can view metrics for an
individual fleet or aggregated metrics for fleets that are in a fleet metric group. A fleet can be
included in only one metric group at a time.public List<String> getStoppedActions()
List of fleet actions that have been suspended using StopFleetActions. This includes auto-scaling.
FleetAction
public void setStoppedActions(Collection<String> stoppedActions)
List of fleet actions that have been suspended using StopFleetActions. This includes auto-scaling.
stoppedActions
- List of fleet actions that have been suspended using StopFleetActions. This includes auto-scaling.FleetAction
public FleetAttributes withStoppedActions(String... stoppedActions)
List of fleet actions that have been suspended using StopFleetActions. This includes auto-scaling.
NOTE: This method appends the values to the existing list (if any). Use
setStoppedActions(java.util.Collection)
or withStoppedActions(java.util.Collection)
if you want
to override the existing values.
stoppedActions
- List of fleet actions that have been suspended using StopFleetActions. This includes auto-scaling.FleetAction
public FleetAttributes withStoppedActions(Collection<String> stoppedActions)
List of fleet actions that have been suspended using StopFleetActions. This includes auto-scaling.
stoppedActions
- List of fleet actions that have been suspended using StopFleetActions. This includes auto-scaling.FleetAction
public FleetAttributes withStoppedActions(FleetAction... stoppedActions)
List of fleet actions that have been suspended using StopFleetActions. This includes auto-scaling.
stoppedActions
- List of fleet actions that have been suspended using StopFleetActions. This includes auto-scaling.FleetAction
public void setInstanceRoleArn(String instanceRoleArn)
A unique identifier for an AWS IAM role that manages access to your AWS services. With an instance role ARN set, any application that runs on an instance in this fleet can assume the role, including install scripts, server processes, and daemons (background processes). Create a role or look up a role's ARN from the IAM dashboard in the AWS Management Console. Learn more about using on-box credentials for your game servers at Access external resources from a game server.
instanceRoleArn
- A unique identifier for an AWS IAM role that manages access to your AWS services. With an instance role
ARN set, any application that runs on an instance in this fleet can assume the role, including install
scripts, server processes, and daemons (background processes). Create a role or look up a role's ARN from
the IAM dashboard in the AWS Management Console. Learn
more about using on-box credentials for your game servers at
Access external resources from a game server.public String getInstanceRoleArn()
A unique identifier for an AWS IAM role that manages access to your AWS services. With an instance role ARN set, any application that runs on an instance in this fleet can assume the role, including install scripts, server processes, and daemons (background processes). Create a role or look up a role's ARN from the IAM dashboard in the AWS Management Console. Learn more about using on-box credentials for your game servers at Access external resources from a game server.
public FleetAttributes withInstanceRoleArn(String instanceRoleArn)
A unique identifier for an AWS IAM role that manages access to your AWS services. With an instance role ARN set, any application that runs on an instance in this fleet can assume the role, including install scripts, server processes, and daemons (background processes). Create a role or look up a role's ARN from the IAM dashboard in the AWS Management Console. Learn more about using on-box credentials for your game servers at Access external resources from a game server.
instanceRoleArn
- A unique identifier for an AWS IAM role that manages access to your AWS services. With an instance role
ARN set, any application that runs on an instance in this fleet can assume the role, including install
scripts, server processes, and daemons (background processes). Create a role or look up a role's ARN from
the IAM dashboard in the AWS Management Console. Learn
more about using on-box credentials for your game servers at
Access external resources from a game server.public void setCertificateConfiguration(CertificateConfiguration certificateConfiguration)
Indicates whether a TLS/SSL certificate was generated for the fleet.
certificateConfiguration
- Indicates whether a TLS/SSL certificate was generated for the fleet.public CertificateConfiguration getCertificateConfiguration()
Indicates whether a TLS/SSL certificate was generated for the fleet.
public FleetAttributes withCertificateConfiguration(CertificateConfiguration certificateConfiguration)
Indicates whether a TLS/SSL certificate was generated for the fleet.
certificateConfiguration
- Indicates whether a TLS/SSL certificate was generated for the fleet.public String toString()
toString
in class Object
Object.toString()
public FleetAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.