Interface Instance.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Instance.Builder,
,Instance> SdkBuilder<Instance.Builder,
,Instance> SdkPojo
- Enclosing class:
Instance
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) A time stamp indicating when this data object was created.The DNS identifier assigned to the instance that is running the game session.The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it.A unique identifier for the fleet that the instance belongs to.instanceId
(String instanceId) A unique identifier for the instance.IP address that is assigned to the instance.The fleet location of the instance, expressed as an Amazon Web Services Region code, such asus-west-2
.operatingSystem
(String operatingSystem) Operating system that is running on this EC2 instance.operatingSystem
(OperatingSystem operatingSystem) Operating system that is running on this EC2 instance.Current status of the instance.status
(InstanceStatus status) Current status of the instance.EC2 instance type that defines the computing resources of this instance.type
(EC2InstanceType type) EC2 instance type that defines the computing resources of this instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
fleetId
A unique identifier for the fleet that the instance belongs to.
- Parameters:
fleetId
- A unique identifier for the fleet that the instance belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetArn
The Amazon Resource Name (ARN) that is assigned to a Amazon 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
.- Parameters:
fleetArn
- The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format isarn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
A unique identifier for the instance.
- Parameters:
instanceId
- A unique identifier for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddress
IP address that is assigned to the instance.
- Parameters:
ipAddress
- IP address that is assigned to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 Elastic Compute Cloud 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.
- Parameters:
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 Elastic Compute Cloud 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
operatingSystem
Operating system that is running on this EC2 instance.
- Parameters:
operatingSystem
- Operating system that is running on this EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operatingSystem
Operating system that is running on this EC2 instance.
- Parameters:
operatingSystem
- Operating system that is running on this EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
EC2 instance type that defines the computing resources of this instance.
- Parameters:
type
- EC2 instance type that defines the computing resources of this instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
EC2 instance type that defines the computing resources of this instance.
- Parameters:
type
- EC2 instance type that defines the computing resources of this instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 Amazon 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.
- Parameters:
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 Amazon 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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 Amazon 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.
- Parameters:
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 Amazon 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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"
).- Parameters:
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"
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The fleet location of the instance, expressed as an Amazon Web Services Region code, such as
us-west-2
.- Parameters:
location
- The fleet location of the instance, expressed as an Amazon Web Services Region code, such asus-west-2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-