@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Compute extends Object implements Serializable, Cloneable, StructuredPojo
Resources used to host your game servers. A compute resource can be managed GameLift Amazon EC2 instances or your own resources.
Constructor and Description |
---|
Compute() |
Modifier and Type | Method and Description |
---|---|
Compute |
clone() |
boolean |
equals(Object obj) |
String |
getComputeArn()
The ARN that is assigned to the compute resource and uniquely identifies it.
|
String |
getComputeName()
A descriptive label that is associated with the compute resource registered to your fleet.
|
String |
getComputeStatus()
Current status of the compute.
|
Date |
getCreationTime()
A time stamp indicating when this data object was created.
|
String |
getDnsName()
The DNS name of the compute resource.
|
String |
getFleetArn()
The Amazon Resource Name (ARN) of the fleet that the compute is registered to.
|
String |
getFleetId()
A unique identifier for the fleet that the compute is registered to.
|
String |
getGameLiftServiceSdkEndpoint()
The endpoint connection details of the GameLift SDK endpoint that your game server connects to.
|
String |
getIpAddress()
The IP address of the compute resource.
|
String |
getLocation()
The name of the custom location you added to the fleet that this compute resource resides in.
|
String |
getOperatingSystem()
The type of operating system on your compute resource.
|
String |
getType()
Which compute type that the fleet uses.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComputeArn(String computeArn)
The ARN that is assigned to the compute resource and uniquely identifies it.
|
void |
setComputeName(String computeName)
A descriptive label that is associated with the compute resource registered to your fleet.
|
void |
setComputeStatus(String computeStatus)
Current status of the compute.
|
void |
setCreationTime(Date creationTime)
A time stamp indicating when this data object was created.
|
void |
setDnsName(String dnsName)
The DNS name of the compute resource.
|
void |
setFleetArn(String fleetArn)
The Amazon Resource Name (ARN) of the fleet that the compute is registered to.
|
void |
setFleetId(String fleetId)
A unique identifier for the fleet that the compute is registered to.
|
void |
setGameLiftServiceSdkEndpoint(String gameLiftServiceSdkEndpoint)
The endpoint connection details of the GameLift SDK endpoint that your game server connects to.
|
void |
setIpAddress(String ipAddress)
The IP address of the compute resource.
|
void |
setLocation(String location)
The name of the custom location you added to the fleet that this compute resource resides in.
|
void |
setOperatingSystem(String operatingSystem)
The type of operating system on your compute resource.
|
void |
setType(String type)
Which compute type that the fleet uses.
|
String |
toString()
Returns a string representation of this object.
|
Compute |
withComputeArn(String computeArn)
The ARN that is assigned to the compute resource and uniquely identifies it.
|
Compute |
withComputeName(String computeName)
A descriptive label that is associated with the compute resource registered to your fleet.
|
Compute |
withComputeStatus(ComputeStatus computeStatus)
Current status of the compute.
|
Compute |
withComputeStatus(String computeStatus)
Current status of the compute.
|
Compute |
withCreationTime(Date creationTime)
A time stamp indicating when this data object was created.
|
Compute |
withDnsName(String dnsName)
The DNS name of the compute resource.
|
Compute |
withFleetArn(String fleetArn)
The Amazon Resource Name (ARN) of the fleet that the compute is registered to.
|
Compute |
withFleetId(String fleetId)
A unique identifier for the fleet that the compute is registered to.
|
Compute |
withGameLiftServiceSdkEndpoint(String gameLiftServiceSdkEndpoint)
The endpoint connection details of the GameLift SDK endpoint that your game server connects to.
|
Compute |
withIpAddress(String ipAddress)
The IP address of the compute resource.
|
Compute |
withLocation(String location)
The name of the custom location you added to the fleet that this compute resource resides in.
|
Compute |
withOperatingSystem(OperatingSystem operatingSystem)
The type of operating system on your compute resource.
|
Compute |
withOperatingSystem(String operatingSystem)
The type of operating system on your compute resource.
|
Compute |
withType(EC2InstanceType type)
Which compute type that the fleet uses.
|
Compute |
withType(String type)
Which compute type that the fleet uses.
|
public void setFleetId(String fleetId)
A unique identifier for the fleet that the compute is registered to.
fleetId
- A unique identifier for the fleet that the compute is registered to.public String getFleetId()
A unique identifier for the fleet that the compute is registered to.
public Compute withFleetId(String fleetId)
A unique identifier for the fleet that the compute is registered to.
fleetId
- A unique identifier for the fleet that the compute is registered to.public void setFleetArn(String fleetArn)
The Amazon Resource Name (ARN) of the fleet that the compute is registered to.
fleetArn
- The Amazon Resource Name (ARN) of the fleet that the compute is registered to.public String getFleetArn()
The Amazon Resource Name (ARN) of the fleet that the compute is registered to.
public Compute withFleetArn(String fleetArn)
The Amazon Resource Name (ARN) of the fleet that the compute is registered to.
fleetArn
- The Amazon Resource Name (ARN) of the fleet that the compute is registered to.public void setComputeName(String computeName)
A descriptive label that is associated with the compute resource registered to your fleet.
computeName
- A descriptive label that is associated with the compute resource registered to your fleet.public String getComputeName()
A descriptive label that is associated with the compute resource registered to your fleet.
public Compute withComputeName(String computeName)
A descriptive label that is associated with the compute resource registered to your fleet.
computeName
- A descriptive label that is associated with the compute resource registered to your fleet.public void setComputeArn(String computeArn)
The ARN that is assigned to the compute resource and uniquely identifies it. ARNs are unique across locations.
computeArn
- The ARN that is assigned to the compute resource and uniquely identifies it. ARNs are unique across
locations.public String getComputeArn()
The ARN that is assigned to the compute resource and uniquely identifies it. ARNs are unique across locations.
public Compute withComputeArn(String computeArn)
The ARN that is assigned to the compute resource and uniquely identifies it. ARNs are unique across locations.
computeArn
- The ARN that is assigned to the compute resource and uniquely identifies it. ARNs are unique across
locations.public void setIpAddress(String ipAddress)
The IP address of the compute resource. GameLift requires the DNS name or IP address to manage your compute resource.
ipAddress
- The IP address of the compute resource. GameLift requires the DNS name or IP address to manage your
compute resource.public String getIpAddress()
The IP address of the compute resource. GameLift requires the DNS name or IP address to manage your compute resource.
public Compute withIpAddress(String ipAddress)
The IP address of the compute resource. GameLift requires the DNS name or IP address to manage your compute resource.
ipAddress
- The IP address of the compute resource. GameLift requires the DNS name or IP address to manage your
compute resource.public void setDnsName(String dnsName)
The DNS name of the compute resource. GameLift requires the DNS name or IP address to manage your compute resource.
dnsName
- The DNS name of the compute resource. GameLift requires the DNS name or IP address to manage your compute
resource.public String getDnsName()
The DNS name of the compute resource. GameLift requires the DNS name or IP address to manage your compute resource.
public Compute withDnsName(String dnsName)
The DNS name of the compute resource. GameLift requires the DNS name or IP address to manage your compute resource.
dnsName
- The DNS name of the compute resource. GameLift requires the DNS name or IP address to manage your compute
resource.public void setComputeStatus(String computeStatus)
Current status of the compute. A compute must have an ACTIVE
status to host game sessions.
computeStatus
- Current status of the compute. A compute must have an ACTIVE
status to host game sessions.ComputeStatus
public String getComputeStatus()
Current status of the compute. A compute must have an ACTIVE
status to host game sessions.
ACTIVE
status to host game sessions.ComputeStatus
public Compute withComputeStatus(String computeStatus)
Current status of the compute. A compute must have an ACTIVE
status to host game sessions.
computeStatus
- Current status of the compute. A compute must have an ACTIVE
status to host game sessions.ComputeStatus
public Compute withComputeStatus(ComputeStatus computeStatus)
Current status of the compute. A compute must have an ACTIVE
status to host game sessions.
computeStatus
- Current status of the compute. A compute must have an ACTIVE
status to host game sessions.ComputeStatus
public void setLocation(String location)
The name of the custom location you added to the fleet that this compute resource resides in.
location
- The name of the custom location you added to the fleet that this compute resource resides in.public String getLocation()
The name of the custom location you added to the fleet that this compute resource resides in.
public Compute withLocation(String location)
The name of the custom location you added to the fleet that this compute resource resides in.
location
- The name of the custom location you added to the fleet that this compute resource resides in.public void setCreationTime(Date 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"
).public Date getCreationTime()
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057"
).
"1469498468.057"
).public Compute withCreationTime(Date 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"
).public void setOperatingSystem(String operatingSystem)
The type of operating system on your compute resource.
operatingSystem
- The type of operating system on your compute resource.OperatingSystem
public String getOperatingSystem()
The type of operating system on your compute resource.
OperatingSystem
public Compute withOperatingSystem(String operatingSystem)
The type of operating system on your compute resource.
operatingSystem
- The type of operating system on your compute resource.OperatingSystem
public Compute withOperatingSystem(OperatingSystem operatingSystem)
The type of operating system on your compute resource.
operatingSystem
- The type of operating system on your compute resource.OperatingSystem
public void setType(String type)
Which compute type that the fleet uses. A fleet can use Anywhere compute resources owned by you or managed Amazon EC2 instances.
type
- Which compute type that the fleet uses. A fleet can use Anywhere compute resources owned by you or managed
Amazon EC2 instances.EC2InstanceType
public String getType()
Which compute type that the fleet uses. A fleet can use Anywhere compute resources owned by you or managed Amazon EC2 instances.
EC2InstanceType
public Compute withType(String type)
Which compute type that the fleet uses. A fleet can use Anywhere compute resources owned by you or managed Amazon EC2 instances.
type
- Which compute type that the fleet uses. A fleet can use Anywhere compute resources owned by you or managed
Amazon EC2 instances.EC2InstanceType
public Compute withType(EC2InstanceType type)
Which compute type that the fleet uses. A fleet can use Anywhere compute resources owned by you or managed Amazon EC2 instances.
type
- Which compute type that the fleet uses. A fleet can use Anywhere compute resources owned by you or managed
Amazon EC2 instances.EC2InstanceType
public void setGameLiftServiceSdkEndpoint(String gameLiftServiceSdkEndpoint)
The endpoint connection details of the GameLift SDK endpoint that your game server connects to.
gameLiftServiceSdkEndpoint
- The endpoint connection details of the GameLift SDK endpoint that your game server connects to.public String getGameLiftServiceSdkEndpoint()
The endpoint connection details of the GameLift SDK endpoint that your game server connects to.
public Compute withGameLiftServiceSdkEndpoint(String gameLiftServiceSdkEndpoint)
The endpoint connection details of the GameLift SDK endpoint that your game server connects to.
gameLiftServiceSdkEndpoint
- The endpoint connection details of the GameLift SDK endpoint that your game server connects to.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.