CopyableBuilder<FleetAttributes.Builder,FleetAttributes>
, SdkBuilder<FleetAttributes.Builder,FleetAttributes>
public static interface FleetAttributes.Builder extends CopyableBuilder<FleetAttributes.Builder,FleetAttributes>
Modifier and Type | Method | Description |
---|---|---|
FleetAttributes.Builder |
buildId(String buildId) |
Unique identifier for a build.
|
FleetAttributes.Builder |
creationTime(Date creationTime) |
Time stamp indicating when this data object was created.
|
FleetAttributes.Builder |
description(String description) |
Human-readable description of the fleet.
|
FleetAttributes.Builder |
fleetArn(String fleetArn) |
Identifier for a fleet that is unique across all regions.
|
FleetAttributes.Builder |
fleetId(String fleetId) |
Unique identifier for a fleet.
|
FleetAttributes.Builder |
logPaths(String... logPaths) |
Location of default log files.
|
FleetAttributes.Builder |
logPaths(Collection<String> logPaths) |
Location of default log files.
|
FleetAttributes.Builder |
metricGroups(String... metricGroups) |
Names of metric groups that this fleet is included in.
|
FleetAttributes.Builder |
metricGroups(Collection<String> metricGroups) |
Names of metric groups that this fleet is included in.
|
FleetAttributes.Builder |
name(String name) |
Descriptive label that is associated with a fleet.
|
FleetAttributes.Builder |
newGameSessionProtectionPolicy(String newGameSessionProtectionPolicy) |
Type of game session protection to set for all new instances started in the fleet.
|
FleetAttributes.Builder |
newGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy) |
Type of game session protection to set for all new instances started in the fleet.
|
FleetAttributes.Builder |
operatingSystem(String operatingSystem) |
Operating system of the fleet's computing resources.
|
FleetAttributes.Builder |
operatingSystem(OperatingSystem operatingSystem) |
Operating system of the fleet's computing resources.
|
FleetAttributes.Builder |
resourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy) |
Fleet policy to limit the number of game sessions an individual player can create over a span of time.
|
FleetAttributes.Builder |
serverLaunchParameters(String serverLaunchParameters) |
Game server launch parameters specified for fleets created prior to 2016-08-04 (or AWS SDK v.
|
FleetAttributes.Builder |
serverLaunchPath(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.Builder |
status(String status) |
Current status of the fleet.
|
FleetAttributes.Builder |
status(FleetStatus status) |
Current status of the fleet.
|
FleetAttributes.Builder |
terminationTime(Date terminationTime) |
Time stamp indicating when this data object was terminated.
|
copy
apply, build
FleetAttributes.Builder fleetId(String fleetId)
Unique identifier for a fleet.
fleetId
- Unique identifier for a fleet.FleetAttributes.Builder fleetArn(String fleetArn)
Identifier for a fleet that is unique across all regions.
fleetArn
- Identifier for a fleet that is unique across all regions.FleetAttributes.Builder description(String description)
Human-readable description of the fleet.
description
- Human-readable description of the fleet.FleetAttributes.Builder name(String name)
Descriptive label that is associated with a fleet. Fleet names do not need to be unique.
name
- Descriptive label that is associated with a fleet. Fleet names do not need to be unique.FleetAttributes.Builder creationTime(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").FleetAttributes.Builder terminationTime(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").FleetAttributes.Builder status(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 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 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
FleetAttributes.Builder status(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 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 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
FleetAttributes.Builder buildId(String buildId)
Unique identifier for a build.
buildId
- Unique identifier for a build.FleetAttributes.Builder serverLaunchPath(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.FleetAttributes.Builder serverLaunchParameters(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.FleetAttributes.Builder logPaths(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 will
automatically upload 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
will automatically upload 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.FleetAttributes.Builder logPaths(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 will
automatically upload 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
will automatically upload 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.FleetAttributes.Builder newGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
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
- 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
FleetAttributes.Builder newGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
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
- 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
FleetAttributes.Builder operatingSystem(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
FleetAttributes.Builder operatingSystem(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
FleetAttributes.Builder resourceCreationLimitPolicy(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.FleetAttributes.Builder metricGroups(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 a fleets that are in a fleet metric group. Currently, 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 a fleets that are in a fleet metric group. Currently, a
fleet can be included in only one metric group at a time.FleetAttributes.Builder metricGroups(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 a fleets that are in a fleet metric group. Currently, 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 a fleets that are in a fleet metric group. Currently, a
fleet can be included in only one metric group at a time.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.