public static interface Instance.Builder extends SdkPojo, CopyableBuilder<Instance.Builder,Instance>
| Modifier and Type | Method and Description |
|---|---|
Instance.Builder |
creationTime(Instant creationTime)
A time stamp indicating when this data object was created.
|
Instance.Builder |
dnsName(String dnsName)
The DNS identifier assigned to the instance that is running the game session.
|
Instance.Builder |
fleetArn(String fleetArn)
The Amazon Resource Name (ARN) that is assigned to a
GameLift fleet resource and uniquely identifies it.
|
Instance.Builder |
fleetId(String fleetId)
A unique identifier for the fleet that the instance is in.
|
Instance.Builder |
instanceId(String instanceId)
A unique identifier for the instance.
|
Instance.Builder |
ipAddress(String ipAddress)
IP address that is assigned to the instance.
|
Instance.Builder |
location(String location)
The fleet location of the instance, expressed as an Amazon Web Services Region code, such as
us-west-2. |
Instance.Builder |
operatingSystem(OperatingSystem operatingSystem)
Operating system that is running on this instance.
|
Instance.Builder |
operatingSystem(String operatingSystem)
Operating system that is running on this instance.
|
Instance.Builder |
status(InstanceStatus status)
Current status of the instance.
|
Instance.Builder |
status(String status)
Current status of the instance.
|
Instance.Builder |
type(EC2InstanceType type)
Amazon EC2 instance type that defines the computing resources of this instance.
|
Instance.Builder |
type(String type)
Amazon EC2 instance type that defines the computing resources of this instance.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstance.Builder fleetId(String fleetId)
A unique identifier for the fleet that the instance is in.
fleetId - A unique identifier for the fleet that the instance is in.Instance.Builder fleetArn(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. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.
fleetArn - The Amazon Resource Name (ARN) that is assigned to
a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.Instance.Builder instanceId(String instanceId)
A unique identifier for the instance.
instanceId - A unique identifier for the instance.Instance.Builder ipAddress(String ipAddress)
IP address that is assigned to the instance.
ipAddress - IP address that is assigned to the instance.Instance.Builder dnsName(String dnsName)
The DNS identifier assigned to the instance that is running the game session. Values have the following format:
TLS-enabled fleets: <unique identifier>.<region identifier>.amazongamelift.com.
Non-TLS-enabled fleets: ec2-<unique identifier>.compute.amazonaws.com. (See Amazon EC2 Instance IP Addressing.)
When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.
dnsName - The DNS identifier assigned to the instance that is running the game session. Values have the
following format:
TLS-enabled fleets:
<unique identifier>.<region identifier>.amazongamelift.com.
Non-TLS-enabled fleets: ec2-<unique identifier>.compute.amazonaws.com. (See Amazon EC2 Instance IP Addressing.)
When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.
Instance.Builder operatingSystem(String operatingSystem)
Operating system that is running on this instance.
operatingSystem - Operating system that is running on this instance.OperatingSystem,
OperatingSystemInstance.Builder operatingSystem(OperatingSystem operatingSystem)
Operating system that is running on this instance.
operatingSystem - Operating system that is running on this instance.OperatingSystem,
OperatingSystemInstance.Builder type(String type)
Amazon EC2 instance type that defines the computing resources of this instance.
type - Amazon EC2 instance type that defines the computing resources of this instance.EC2InstanceType,
EC2InstanceTypeInstance.Builder type(EC2InstanceType type)
Amazon EC2 instance type that defines the computing resources of this instance.
type - Amazon EC2 instance type that defines the computing resources of this instance.EC2InstanceType,
EC2InstanceTypeInstance.Builder status(String status)
Current status of the instance. Possible statuses include the following:
PENDING -- The instance is in the process of being created and launching server processes as defined in the fleet's run-time configuration.
ACTIVE -- The instance has been successfully created and at least one server process has successfully launched and reported back to GameLift that it is ready to host a game session. The instance is now considered ready to host game sessions.
TERMINATING -- The instance is in the process of shutting down. This may happen to reduce capacity during a scaling down event or to recycle resources in the event of a problem.
status - Current status of the instance. Possible statuses include the following:
PENDING -- The instance is in the process of being created and launching server processes as defined in the fleet's run-time configuration.
ACTIVE -- The instance has been successfully created and at least one server process has successfully launched and reported back to GameLift that it is ready to host a game session. The instance is now considered ready to host game sessions.
TERMINATING -- The instance is in the process of shutting down. This may happen to reduce capacity during a scaling down event or to recycle resources in the event of a problem.
InstanceStatus,
InstanceStatusInstance.Builder status(InstanceStatus status)
Current status of the instance. Possible statuses include the following:
PENDING -- The instance is in the process of being created and launching server processes as defined in the fleet's run-time configuration.
ACTIVE -- The instance has been successfully created and at least one server process has successfully launched and reported back to GameLift that it is ready to host a game session. The instance is now considered ready to host game sessions.
TERMINATING -- The instance is in the process of shutting down. This may happen to reduce capacity during a scaling down event or to recycle resources in the event of a problem.
status - Current status of the instance. Possible statuses include the following:
PENDING -- The instance is in the process of being created and launching server processes as defined in the fleet's run-time configuration.
ACTIVE -- The instance has been successfully created and at least one server process has successfully launched and reported back to GameLift that it is ready to host a game session. The instance is now considered ready to host game sessions.
TERMINATING -- The instance is in the process of shutting down. This may happen to reduce capacity during a scaling down event or to recycle resources in the event of a problem.
InstanceStatus,
InstanceStatusInstance.Builder creationTime(Instant creationTime)
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057").
creationTime - A time stamp indicating when this data object was created. Format is a number expressed in Unix time
as milliseconds (for example "1469498468.057").Instance.Builder location(String location)
The fleet location of the instance, expressed as an Amazon Web Services Region code, such as
us-west-2.
location - The fleet location of the instance, expressed as an Amazon Web Services Region code, such as
us-west-2.Copyright © 2023. All rights reserved.