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 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 |
getServerLaunchParameters()
Deprecated.
|
String |
getServerLaunchPath()
Deprecated.
|
String |
getStatus()
Current status of the fleet.
|
Date |
getTerminationTime()
Time stamp indicating when this fleet was terminated.
|
int |
hashCode() |
void |
setBuildId(String buildId)
Unique identifier for a build.
|
void |
setCreationTime(Date creationTime)
Time stamp indicating when this 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 |
setServerLaunchParameters(String serverLaunchParameters)
Deprecated.
|
void |
setServerLaunchPath(String serverLaunchPath)
Deprecated.
|
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 fleet 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 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 |
withServerLaunchParameters(String serverLaunchParameters)
Deprecated.
|
FleetAttributes |
withServerLaunchPath(String serverLaunchPath)
Deprecated.
|
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 fleet 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 object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
creationTime
- Time stamp indicating when this object was created. Format is an
integer representing the number of seconds since the Unix epoch
(Unix time).public Date getCreationTime()
Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
public FleetAttributes withCreationTime(Date creationTime)
Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
creationTime
- Time stamp indicating when this object was created. Format is an
integer representing the number of seconds since the Unix epoch
(Unix time).public void setTerminationTime(Date terminationTime)
Time stamp indicating when this fleet was terminated. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
terminationTime
- Time stamp indicating when this fleet was terminated. Format is an
integer representing the number of seconds since the Unix epoch
(Unix time).public Date getTerminationTime()
Time stamp indicating when this fleet was terminated. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
public FleetAttributes withTerminationTime(Date terminationTime)
Time stamp indicating when this fleet was terminated. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
terminationTime
- Time stamp indicating when this fleet was terminated. Format is an
integer representing the number of seconds since the Unix epoch
(Unix time).public void setStatus(String status)
Current status of the fleet. Possible fleet states include the following:
status
- Current status of the fleet. Possible fleet states include the
following:
FleetStatus
public String getStatus()
Current status of the fleet. Possible fleet states include the following:
FleetStatus
public FleetAttributes withStatus(String status)
Current status of the fleet. Possible fleet states include the following:
status
- Current status of the fleet. Possible fleet states include the
following:
FleetStatus
public void setStatus(FleetStatus status)
Current status of the fleet. Possible fleet states include the following:
status
- Current status of the fleet. Possible fleet states include the
following:
FleetStatus
public FleetAttributes withStatus(FleetStatus status)
Current status of the fleet. Possible fleet states include the following:
status
- Current status of the fleet. Possible fleet states include the
following:
FleetStatus
public 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)
Deprecated. Server launch parameters are now set using a
RuntimeConfiguration
object.
serverLaunchPath
- Deprecated. Server launch parameters are now set using a
RuntimeConfiguration
object.public String getServerLaunchPath()
Deprecated. Server launch parameters are now set using a
RuntimeConfiguration
object.
RuntimeConfiguration
object.public FleetAttributes withServerLaunchPath(String serverLaunchPath)
Deprecated. Server launch parameters are now set using a
RuntimeConfiguration
object.
serverLaunchPath
- Deprecated. Server launch parameters are now set using a
RuntimeConfiguration
object.public void setServerLaunchParameters(String serverLaunchParameters)
Deprecated. Server launch parameters are now specified using a
RuntimeConfiguration
object.
serverLaunchParameters
- Deprecated. Server launch parameters are now specified using a
RuntimeConfiguration
object.public String getServerLaunchParameters()
Deprecated. Server launch parameters are now specified using a
RuntimeConfiguration
object.
RuntimeConfiguration
object.public FleetAttributes withServerLaunchParameters(String serverLaunchParameters)
Deprecated. Server launch parameters are now specified using a
RuntimeConfiguration
object.
serverLaunchParameters
- Deprecated. Server launch parameters are now specified using a
RuntimeConfiguration
object.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.ProtectionPolicy
public 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.ProtectionPolicy
public 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.ProtectionPolicy
public 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.ProtectionPolicy
public 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.ProtectionPolicy
public String toString()
toString
in class Object
Object.toString()
public FleetAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.