public class FleetAttributes extends Object implements Serializable, Cloneable
General properties describing a fleet.
| Constructor and Description |
|---|
FleetAttributes() |
| Modifier and Type | Method and Description |
|---|---|
FleetAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getBuildId()
Unique identifier for a build.
|
Date |
getCreationTime()
Time stamp indicating when this data object was created.
|
String |
getDescription()
Human-readable description of the fleet.
|
String |
getFleetId()
Unique identifier for a fleet.
|
List<String> |
getLogPaths()
Location of default log files.
|
String |
getName()
Descriptive label associated with a fleet.
|
String |
getNewGameSessionProtectionPolicy()
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.
|
String |
getServerLaunchParameters()
Game server launch parameters specified for fleets created prior to
2016-08-04 (or AWS SDK v.
|
String |
getServerLaunchPath()
Path to a game server executable in the fleet's build, specified for
fleets created prior to 2016-08-04 (or AWS SDK v.
|
String |
getStatus()
Current status of the fleet.
|
Date |
getTerminationTime()
Time stamp indicating when this data object was terminated.
|
int |
hashCode() |
void |
setBuildId(String buildId)
Unique identifier for a build.
|
void |
setCreationTime(Date creationTime)
Time stamp indicating when this data object was created.
|
void |
setDescription(String description)
Human-readable description of the fleet.
|
void |
setFleetId(String fleetId)
Unique identifier for a fleet.
|
void |
setLogPaths(Collection<String> logPaths)
Location of default log files.
|
void |
setName(String name)
Descriptive label associated with a fleet.
|
void |
setNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Type of game session protection to set for all new instances started in
the fleet.
|
void |
setNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
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 |
setServerLaunchParameters(String serverLaunchParameters)
Game server launch parameters specified for fleets created prior to
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 prior to 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 |
setTerminationTime(Date terminationTime)
Time stamp indicating when this data object was terminated.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FleetAttributes |
withBuildId(String buildId)
Unique identifier for a build.
|
FleetAttributes |
withCreationTime(Date creationTime)
Time stamp indicating when this data object was created.
|
FleetAttributes |
withDescription(String description)
Human-readable description of the fleet.
|
FleetAttributes |
withFleetId(String fleetId)
Unique identifier for a fleet.
|
FleetAttributes |
withLogPaths(Collection<String> logPaths)
Location of default log files.
|
FleetAttributes |
withLogPaths(String... logPaths)
Location of default log files.
|
FleetAttributes |
withName(String name)
Descriptive label associated with a fleet.
|
FleetAttributes |
withNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Type of game session protection to set for all new instances started in
the fleet.
|
FleetAttributes |
withNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
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 |
withServerLaunchParameters(String serverLaunchParameters)
Game server launch parameters specified for fleets created prior to
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 prior to 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 |
withTerminationTime(Date terminationTime)
Time stamp indicating when this data object was terminated.
|
public void setFleetId(String fleetId)
Unique identifier for a fleet.
fleetId - Unique identifier for a fleet.public String getFleetId()
Unique identifier for a fleet.
public FleetAttributes withFleetId(String fleetId)
Unique identifier for a fleet.
fleetId - Unique identifier for a fleet.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)
Descriptive label associated with a fleet. Fleet names do not need to be unique.
name - Descriptive label associated with a fleet. Fleet names do not need
to be unique.public String getName()
Descriptive label associated with a fleet. Fleet names do not need to be unique.
public FleetAttributes withName(String name)
Descriptive label associated with a fleet. Fleet names do not need to be unique.
name - Descriptive label 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 (ex: "1469498468.057".
creationTime - Time stamp indicating when this data object was created. Format is
a number expressed in Unix time as milliseconds (ex:
"1469498468.057".public Date getCreationTime()
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: "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 (ex: "1469498468.057".
creationTime - Time stamp indicating when this data object was created. Format is
a number expressed in Unix time as milliseconds (ex:
"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 (ex: "1469498468.057".
terminationTime - Time stamp indicating when this data object was terminated. Format
is a number expressed in Unix time as milliseconds (ex:
"1469498468.057".public Date getTerminationTime()
Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (ex: "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 (ex: "1469498468.057".
terminationTime - Time stamp indicating when this data object was terminated. Format
is a number expressed in Unix time as milliseconds (ex:
"1469498468.057".public void setStatus(String status)
Current status of the fleet.
Possible fleet statuses include the following:
status - Current status of the fleet.
Possible fleet statuses include the following:
FleetStatuspublic String getStatus()
Current status of the fleet.
Possible fleet statuses include the following:
Possible fleet statuses include the following:
FleetStatuspublic FleetAttributes withStatus(String status)
Current status of the fleet.
Possible fleet statuses include the following:
status - Current status of the fleet.
Possible fleet statuses include the following:
FleetStatuspublic void setStatus(FleetStatus status)
Current status of the fleet.
Possible fleet statuses include the following:
status - Current status of the fleet.
Possible fleet statuses include the following:
FleetStatuspublic FleetAttributes withStatus(FleetStatus status)
Current status of the fleet.
Possible fleet statuses include the following:
status - Current status of the fleet.
Possible fleet statuses include the following:
FleetStatuspublic void setBuildId(String buildId)
Unique identifier for a build.
buildId - Unique identifier for a build.public String getBuildId()
Unique identifier for a build.
public FleetAttributes withBuildId(String buildId)
Unique identifier for a build.
buildId - Unique identifier for a build.public void setServerLaunchPath(String serverLaunchPath)
Path to a game server executable in the fleet's build, specified for
fleets created prior to 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 prior to 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 prior to 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.
RuntimeConfiguration
.public FleetAttributes withServerLaunchPath(String serverLaunchPath)
Path to a game server executable in the fleet's build, specified for
fleets created prior to 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 prior to 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 prior to
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 prior
to 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 prior to
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.
RuntimeConfiguration.public FleetAttributes withServerLaunchParameters(String serverLaunchParameters)
Game server launch parameters specified for fleets created prior to
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 prior
to 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, GameLift will automatically upload logs stored on each
instance at C:\game\logs. Use the GameLift console to access
stored logs.
C:\game\logs. Use the
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, GameLift will automatically upload logs stored on each
instance at C:\game\logs. Use the 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, GameLift will automatically upload logs stored
on each instance at C:\game\logs. Use the 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, GameLift will automatically upload logs stored on each
instance at C:\game\logs. Use the 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, GameLift will automatically upload logs stored
on each instance at C:\game\logs. Use the 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, GameLift will automatically upload logs stored on each
instance at C:\game\logs. Use the 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, GameLift will automatically upload logs stored
on each instance at C:\game\logs. Use the GameLift
console to access stored logs.public void setNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Type of game session protection to set for all new instances started in the fleet.
ACTIVE status, it cannot be terminated during a scale-down
event.newGameSessionProtectionPolicy - Type of game session protection to set for all new instances
started in the fleet.
ACTIVE status, it cannot be terminated during a
scale-down event.ProtectionPolicypublic String getNewGameSessionProtectionPolicy()
Type of game session protection to set for all new instances started in the fleet.
ACTIVE status, it cannot be terminated during a scale-down
event.ACTIVE status, it cannot be terminated during a
scale-down event.ProtectionPolicypublic FleetAttributes withNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Type of game session protection to set for all new instances started in the fleet.
ACTIVE status, it cannot be terminated during a scale-down
event.newGameSessionProtectionPolicy - Type of game session protection to set for all new instances
started in the fleet.
ACTIVE status, it cannot be terminated during a
scale-down event.ProtectionPolicypublic void setNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Type of game session protection to set for all new instances started in the fleet.
ACTIVE status, it cannot be terminated during a scale-down
event.newGameSessionProtectionPolicy - Type of game session protection to set for all new instances
started in the fleet.
ACTIVE status, it cannot be terminated during a
scale-down event.ProtectionPolicypublic FleetAttributes withNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Type of game session protection to set for all new instances started in the fleet.
ACTIVE status, it cannot be terminated during a scale-down
event.newGameSessionProtectionPolicy - Type of game session protection to set for all new instances
started in the fleet.
ACTIVE status, it cannot be terminated during a
scale-down event.ProtectionPolicypublic 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.OperatingSystempublic 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.
OperatingSystempublic 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.OperatingSystempublic 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.OperatingSystempublic 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.OperatingSystempublic String toString()
toString in class ObjectObject.toString()public FleetAttributes clone()
Copyright © 2016. All rights reserved.