@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Instance extends Object implements Serializable, Cloneable, StructuredPojo
Properties that describe an instance of a virtual computing resource that hosts one or more game servers. A fleet may contain zero or more instances.
Constructor and Description |
---|
Instance() |
Modifier and Type | Method and Description |
---|---|
Instance |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
Time stamp indicating when this data object was created.
|
String |
getDnsName()
DNS identifier assigned to the instance that is running the game session.
|
String |
getFleetId()
A unique identifier for a fleet that the instance is in.
|
String |
getInstanceId()
A unique identifier for an instance.
|
String |
getIpAddress()
IP address that is assigned to the instance.
|
String |
getOperatingSystem()
Operating system that is running on this instance.
|
String |
getStatus()
Current status of the instance.
|
String |
getType()
EC2 instance type that defines the computing resources of this instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
Time stamp indicating when this data object was created.
|
void |
setDnsName(String dnsName)
DNS identifier assigned to the instance that is running the game session.
|
void |
setFleetId(String fleetId)
A unique identifier for a fleet that the instance is in.
|
void |
setInstanceId(String instanceId)
A unique identifier for an instance.
|
void |
setIpAddress(String ipAddress)
IP address that is assigned to the instance.
|
void |
setOperatingSystem(OperatingSystem operatingSystem)
Operating system that is running on this instance.
|
void |
setOperatingSystem(String operatingSystem)
Operating system that is running on this instance.
|
void |
setStatus(InstanceStatus status)
Current status of the instance.
|
void |
setStatus(String status)
Current status of the instance.
|
void |
setType(EC2InstanceType type)
EC2 instance type that defines the computing resources of this instance.
|
void |
setType(String type)
EC2 instance type that defines the computing resources of this instance.
|
String |
toString()
Returns a string representation of this object.
|
Instance |
withCreationTime(Date creationTime)
Time stamp indicating when this data object was created.
|
Instance |
withDnsName(String dnsName)
DNS identifier assigned to the instance that is running the game session.
|
Instance |
withFleetId(String fleetId)
A unique identifier for a fleet that the instance is in.
|
Instance |
withInstanceId(String instanceId)
A unique identifier for an instance.
|
Instance |
withIpAddress(String ipAddress)
IP address that is assigned to the instance.
|
Instance |
withOperatingSystem(OperatingSystem operatingSystem)
Operating system that is running on this instance.
|
Instance |
withOperatingSystem(String operatingSystem)
Operating system that is running on this instance.
|
Instance |
withStatus(InstanceStatus status)
Current status of the instance.
|
Instance |
withStatus(String status)
Current status of the instance.
|
Instance |
withType(EC2InstanceType type)
EC2 instance type that defines the computing resources of this instance.
|
Instance |
withType(String type)
EC2 instance type that defines the computing resources of this instance.
|
public void setFleetId(String fleetId)
A unique identifier for a fleet that the instance is in.
fleetId
- A unique identifier for a fleet that the instance is in.public String getFleetId()
A unique identifier for a fleet that the instance is in.
public Instance withFleetId(String fleetId)
A unique identifier for a fleet that the instance is in.
fleetId
- A unique identifier for a fleet that the instance is in.public void setInstanceId(String instanceId)
A unique identifier for an instance.
instanceId
- A unique identifier for an instance.public String getInstanceId()
A unique identifier for an instance.
public Instance withInstanceId(String instanceId)
A unique identifier for an instance.
instanceId
- A unique identifier for an instance.public void setIpAddress(String ipAddress)
IP address that is assigned to the instance.
ipAddress
- IP address that is assigned to the instance.public String getIpAddress()
IP address that is assigned to the instance.
public Instance withIpAddress(String ipAddress)
IP address that is assigned to the instance.
ipAddress
- IP address that is assigned to the instance.public void setDnsName(String dnsName)
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
- 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.
public String getDnsName()
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.
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.
public Instance withDnsName(String dnsName)
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
- 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.
public void setOperatingSystem(String operatingSystem)
Operating system that is running on this instance.
operatingSystem
- Operating system that is running on this instance.OperatingSystem
public String getOperatingSystem()
Operating system that is running on this instance.
OperatingSystem
public Instance withOperatingSystem(String operatingSystem)
Operating system that is running on this instance.
operatingSystem
- Operating system that is running on this instance.OperatingSystem
public void setOperatingSystem(OperatingSystem operatingSystem)
Operating system that is running on this instance.
operatingSystem
- Operating system that is running on this instance.OperatingSystem
public Instance withOperatingSystem(OperatingSystem operatingSystem)
Operating system that is running on this instance.
operatingSystem
- Operating system that is running on this instance.OperatingSystem
public void setType(String type)
EC2 instance type that defines the computing resources of this instance.
type
- EC2 instance type that defines the computing resources of this instance.EC2InstanceType
public String getType()
EC2 instance type that defines the computing resources of this instance.
EC2InstanceType
public Instance withType(String type)
EC2 instance type that defines the computing resources of this instance.
type
- EC2 instance type that defines the computing resources of this instance.EC2InstanceType
public void setType(EC2InstanceType type)
EC2 instance type that defines the computing resources of this instance.
type
- EC2 instance type that defines the computing resources of this instance.EC2InstanceType
public Instance withType(EC2InstanceType type)
EC2 instance type that defines the computing resources of this instance.
type
- EC2 instance type that defines the computing resources of this instance.EC2InstanceType
public void setStatus(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 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.
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.
InstanceStatus
public String getStatus()
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.
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.
InstanceStatus
public Instance withStatus(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 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.
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.
InstanceStatus
public void setStatus(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 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.
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.
InstanceStatus
public Instance withStatus(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 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.
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.
InstanceStatus
public void setCreationTime(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").public Date getCreationTime()
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
public Instance withCreationTime(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").public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.