@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 |
getFleetId()
Unique identifier for a fleet that the instance is in.
|
String |
getInstanceId()
Unique identifier for an instance.
|
String |
getIpAddress()
IP address 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 |
setFleetId(String fleetId)
Unique identifier for a fleet that the instance is in.
|
void |
setInstanceId(String instanceId)
Unique identifier for an instance.
|
void |
setIpAddress(String ipAddress)
IP address 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; useful for testing and debugging.
|
Instance |
withCreationTime(Date creationTime)
Time stamp indicating when this data object was created.
|
Instance |
withFleetId(String fleetId)
Unique identifier for a fleet that the instance is in.
|
Instance |
withInstanceId(String instanceId)
Unique identifier for an instance.
|
Instance |
withIpAddress(String ipAddress)
IP address 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)
Unique identifier for a fleet that the instance is in.
fleetId
- Unique identifier for a fleet that the instance is in.public String getFleetId()
Unique identifier for a fleet that the instance is in.
public Instance withFleetId(String fleetId)
Unique identifier for a fleet that the instance is in.
fleetId
- Unique identifier for a fleet that the instance is in.public void setInstanceId(String instanceId)
Unique identifier for an instance.
instanceId
- Unique identifier for an instance.public String getInstanceId()
Unique identifier for an instance.
public Instance withInstanceId(String instanceId)
Unique identifier for an instance.
instanceId
- Unique identifier for an instance.public void setIpAddress(String ipAddress)
IP address assigned to the instance.
ipAddress
- IP address assigned to the instance.public String getIpAddress()
IP address assigned to the instance.
public Instance withIpAddress(String ipAddress)
IP address assigned to the instance.
ipAddress
- IP address assigned to the instance.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.