StructuredPojo
, ToCopyableBuilder<FleetAttributes.Builder,FleetAttributes>
@Generated("software.amazon.awssdk:codegen") public class FleetAttributes extends Object implements StructuredPojo, ToCopyableBuilder<FleetAttributes.Builder,FleetAttributes>
General properties describing a fleet.
Modifier and Type | Class | Description |
---|---|---|
static interface |
FleetAttributes.Builder |
Modifier and Type | Method | Description |
---|---|---|
static FleetAttributes.Builder |
builder() |
|
String |
buildId() |
Unique identifier for a build.
|
Date |
creationTime() |
Time stamp indicating when this data object was created.
|
String |
description() |
Human-readable description of the fleet.
|
boolean |
equals(Object obj) |
|
String |
fleetArn() |
Identifier for a fleet that is unique across all regions.
|
String |
fleetId() |
Unique identifier for a fleet.
|
int |
hashCode() |
|
List<String> |
logPaths() |
Location of default log files.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
List<String> |
metricGroups() |
Names of metric groups that this fleet is included in.
|
String |
name() |
Descriptive label that is associated with a fleet.
|
String |
newGameSessionProtectionPolicy() |
Type of game session protection to set for all new instances started in the fleet.
|
String |
operatingSystem() |
Operating system of the fleet's computing resources.
|
ResourceCreationLimitPolicy |
resourceCreationLimitPolicy() |
Fleet policy to limit the number of game sessions an individual player can create over a span of time.
|
static Class<? extends FleetAttributes.Builder> |
serializableBuilderClass() |
|
String |
serverLaunchParameters() |
Game server launch parameters specified for fleets created prior to 2016-08-04 (or AWS SDK v.
|
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.
|
String |
status() |
Current status of the fleet.
|
Date |
terminationTime() |
Time stamp indicating when this data object was terminated.
|
FleetAttributes.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String fleetId()
Unique identifier for a fleet.
public String fleetArn()
Identifier for a fleet that is unique across all regions.
public String description()
Human-readable description of the fleet.
public String name()
Descriptive label that is associated with a fleet. Fleet names do not need to be unique.
public 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").
public 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").
public 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.
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
public String buildId()
Unique identifier for a build.
public 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.
public 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.
public List<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.
C:\game\logs
(for
Windows) or /local/game/logs
(for Linux). Use the Amazon GameLift console to access stored
logs.public 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.
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 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 ResourceCreationLimitPolicy resourceCreationLimitPolicy()
Fleet policy to limit the number of game sessions an individual player can create over a span of time.
public List<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.
public FleetAttributes.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FleetAttributes.Builder,FleetAttributes>
public static FleetAttributes.Builder builder()
public static Class<? extends FleetAttributes.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.