@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Compute extends Object implements Serializable, Cloneable, StructuredPojo
An Amazon GameLift compute resource for hosting your game servers. A compute can be an EC2instance in a managed EC2 fleet or a registered compute in an Anywhere fleet.
Constructor and Description |
---|
Compute() |
Modifier and Type | Method and Description |
---|---|
Compute |
clone() |
boolean |
equals(Object obj) |
String |
getComputeArn()
The ARN that is assigned to a compute resource and uniquely identifies it.
|
String |
getComputeName()
A descriptive label for the compute resource.
|
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 a compute resource.
|
String |
getFleetArn()
The Amazon Resource Name (ARN) of the fleet that the compute belongs to.
|
String |
getFleetId()
A unique identifier for the fleet that the compute belongs to.
|
String |
getGameLiftServiceSdkEndpoint()
The Amazon GameLift SDK endpoint connection for a registered compute resource in an Anywhere fleet.
|
String |
getIpAddress()
The IP address of a 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 the compute resource.
|
String |
getType()
The Amazon EC2 instance 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 a compute resource and uniquely identifies it.
|
void |
setComputeName(String computeName)
A descriptive label for the compute resource.
|
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 a compute resource.
|
void |
setFleetArn(String fleetArn)
The Amazon Resource Name (ARN) of the fleet that the compute belongs to.
|
void |
setFleetId(String fleetId)
A unique identifier for the fleet that the compute belongs to.
|
void |
setGameLiftServiceSdkEndpoint(String gameLiftServiceSdkEndpoint)
The Amazon GameLift SDK endpoint connection for a registered compute resource in an Anywhere fleet.
|
void |
setIpAddress(String ipAddress)
The IP address of a 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 the compute resource.
|
void |
setType(String type)
The Amazon EC2 instance type that the fleet uses.
|
String |
toString()
Returns a string representation of this object.
|
Compute |
withComputeArn(String computeArn)
The ARN that is assigned to a compute resource and uniquely identifies it.
|
Compute |
withComputeName(String computeName)
A descriptive label for the compute resource.
|
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 a compute resource.
|
Compute |
withFleetArn(String fleetArn)
The Amazon Resource Name (ARN) of the fleet that the compute belongs to.
|
Compute |
withFleetId(String fleetId)
A unique identifier for the fleet that the compute belongs to.
|
Compute |
withGameLiftServiceSdkEndpoint(String gameLiftServiceSdkEndpoint)
The Amazon GameLift SDK endpoint connection for a registered compute resource in an Anywhere fleet.
|
Compute |
withIpAddress(String ipAddress)
The IP address of a 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 the compute resource.
|
Compute |
withOperatingSystem(String operatingSystem)
The type of operating system on the compute resource.
|
Compute |
withType(EC2InstanceType type)
The Amazon EC2 instance type that the fleet uses.
|
Compute |
withType(String type)
The Amazon EC2 instance type that the fleet uses.
|
public void setFleetId(String fleetId)
A unique identifier for the fleet that the compute belongs to.
fleetId
- A unique identifier for the fleet that the compute belongs to.public String getFleetId()
A unique identifier for the fleet that the compute belongs to.
public Compute withFleetId(String fleetId)
A unique identifier for the fleet that the compute belongs to.
fleetId
- A unique identifier for the fleet that the compute belongs to.public void setFleetArn(String fleetArn)
The Amazon Resource Name (ARN) of the fleet that the compute belongs to.
fleetArn
- The Amazon Resource Name (ARN) of the fleet that the compute belongs to.public String getFleetArn()
The Amazon Resource Name (ARN) of the fleet that the compute belongs to.
public Compute withFleetArn(String fleetArn)
The Amazon Resource Name (ARN) of the fleet that the compute belongs to.
fleetArn
- The Amazon Resource Name (ARN) of the fleet that the compute belongs to.public void setComputeName(String computeName)
A descriptive label for the compute resource. For instances in a managed EC2 fleet, the compute name is an instance ID.
computeName
- A descriptive label for the compute resource. For instances in a managed EC2 fleet, the compute name is an
instance ID.public String getComputeName()
A descriptive label for the compute resource. For instances in a managed EC2 fleet, the compute name is an instance ID.
public Compute withComputeName(String computeName)
A descriptive label for the compute resource. For instances in a managed EC2 fleet, the compute name is an instance ID.
computeName
- A descriptive label for the compute resource. For instances in a managed EC2 fleet, the compute name is an
instance ID.public void setComputeArn(String computeArn)
The ARN that is assigned to a compute resource and uniquely identifies it. ARNs are unique across locations. Instances in managed EC2 fleets are not assigned a ComputeARN.
computeArn
- The ARN that is assigned to a compute resource and uniquely identifies it. ARNs are unique across
locations. Instances in managed EC2 fleets are not assigned a ComputeARN.public String getComputeArn()
The ARN that is assigned to a compute resource and uniquely identifies it. ARNs are unique across locations. Instances in managed EC2 fleets are not assigned a ComputeARN.
public Compute withComputeArn(String computeArn)
The ARN that is assigned to a compute resource and uniquely identifies it. ARNs are unique across locations. Instances in managed EC2 fleets are not assigned a ComputeARN.
computeArn
- The ARN that is assigned to a compute resource and uniquely identifies it. ARNs are unique across
locations. Instances in managed EC2 fleets are not assigned a ComputeARN.public void setIpAddress(String ipAddress)
The IP address of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
ipAddress
- The IP address of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.public String getIpAddress()
The IP address of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
public Compute withIpAddress(String ipAddress)
The IP address of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
ipAddress
- The IP address of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.public void setDnsName(String dnsName)
The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
dnsName
- The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.public String getDnsName()
The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
public Compute withDnsName(String dnsName)
The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
dnsName
- The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.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 the compute resource.
operatingSystem
- The type of operating system on the compute resource.OperatingSystem
public String getOperatingSystem()
The type of operating system on the compute resource.
OperatingSystem
public Compute withOperatingSystem(String operatingSystem)
The type of operating system on the compute resource.
operatingSystem
- The type of operating system on the compute resource.OperatingSystem
public Compute withOperatingSystem(OperatingSystem operatingSystem)
The type of operating system on the compute resource.
operatingSystem
- The type of operating system on the compute resource.OperatingSystem
public void setType(String type)
The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere fleet, this property is empty.
type
- The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere
fleet, this property is empty.EC2InstanceType
public String getType()
The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere fleet, this property is empty.
EC2InstanceType
public Compute withType(String type)
The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere fleet, this property is empty.
type
- The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere
fleet, this property is empty.EC2InstanceType
public Compute withType(EC2InstanceType type)
The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere fleet, this property is empty.
type
- The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere
fleet, this property is empty.EC2InstanceType
public void setGameLiftServiceSdkEndpoint(String gameLiftServiceSdkEndpoint)
The Amazon GameLift SDK endpoint connection for a registered compute resource in an Anywhere fleet. The game servers on the compute use this endpoint to connect to the Amazon GameLift service.
gameLiftServiceSdkEndpoint
- The Amazon GameLift SDK endpoint connection for a registered compute resource in an Anywhere fleet. The
game servers on the compute use this endpoint to connect to the Amazon GameLift service.public String getGameLiftServiceSdkEndpoint()
The Amazon GameLift SDK endpoint connection for a registered compute resource in an Anywhere fleet. The game servers on the compute use this endpoint to connect to the Amazon GameLift service.
public Compute withGameLiftServiceSdkEndpoint(String gameLiftServiceSdkEndpoint)
The Amazon GameLift SDK endpoint connection for a registered compute resource in an Anywhere fleet. The game servers on the compute use this endpoint to connect to the Amazon GameLift service.
gameLiftServiceSdkEndpoint
- The Amazon GameLift SDK endpoint connection for a registered compute resource in an Anywhere fleet. The
game servers on the compute use this endpoint to connect to the Amazon GameLift service.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.