@Generated(value="software.amazon.awssdk:codegen") public final class Compute extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Compute.Builder,Compute>
Resources used to host your game servers. A compute resource can be managed GameLift Amazon EC2 instances or your own resources.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Compute.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Compute.Builder |
builder() |
String |
computeArn()
The ARN that is assigned to the compute resource and uniquely identifies it.
|
String |
computeName()
A descriptive label that is associated with the compute resource registered to your fleet.
|
ComputeStatus |
computeStatus()
Current status of the compute.
|
String |
computeStatusAsString()
Current status of the compute.
|
Instant |
creationTime()
A time stamp indicating when this data object was created.
|
String |
dnsName()
The DNS name of the compute resource.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fleetArn()
The Amazon Resource Name (ARN) of the fleet that the compute is registered to.
|
String |
fleetId()
A unique identifier for the fleet that the compute is registered to.
|
String |
gameLiftServiceSdkEndpoint()
The endpoint connection details of the GameLift SDK endpoint that your game server connects to.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ipAddress()
The IP address of the compute resource.
|
String |
location()
The name of the custom location you added to the fleet that this compute resource resides in.
|
OperatingSystem |
operatingSystem()
The type of operating system on your compute resource.
|
String |
operatingSystemAsString()
The type of operating system on your compute resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Compute.Builder> |
serializableBuilderClass() |
Compute.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
EC2InstanceType |
type()
Which compute type that the fleet uses.
|
String |
typeAsString()
Which compute type that the fleet uses.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String fleetId()
A unique identifier for the fleet that the compute is registered to.
public final String fleetArn()
The Amazon Resource Name (ARN) of the fleet that the compute is registered to.
public final String computeName()
A descriptive label that is associated with the compute resource registered to your fleet.
public final String computeArn()
The ARN that is assigned to the compute resource and uniquely identifies it. ARNs are unique across locations.
public final String ipAddress()
The IP address of the compute resource. GameLift requires the DNS name or IP address to manage your compute resource.
public final String dnsName()
The DNS name of the compute resource. GameLift requires the DNS name or IP address to manage your compute resource.
public final ComputeStatus computeStatus()
Current status of the compute. A compute must have an ACTIVE status to host game sessions.
If the service returns an enum value that is not available in the current SDK version, computeStatus
will return ComputeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
computeStatusAsString().
ACTIVE status to host game sessions.ComputeStatuspublic final String computeStatusAsString()
Current status of the compute. A compute must have an ACTIVE status to host game sessions.
If the service returns an enum value that is not available in the current SDK version, computeStatus
will return ComputeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
computeStatusAsString().
ACTIVE status to host game sessions.ComputeStatuspublic final String location()
The name of the custom location you added to the fleet that this compute resource resides in.
public final Instant 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").
"1469498468.057").public final OperatingSystem operatingSystem()
The type of operating system on your compute resource.
If the service returns an enum value that is not available in the current SDK version, operatingSystem
will return OperatingSystem.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from operatingSystemAsString().
OperatingSystempublic final String operatingSystemAsString()
The type of operating system on your compute resource.
If the service returns an enum value that is not available in the current SDK version, operatingSystem
will return OperatingSystem.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from operatingSystemAsString().
OperatingSystempublic final EC2InstanceType type()
Which compute type that the fleet uses. A fleet can use Anywhere compute resources owned by you or managed Amazon EC2 instances.
If the service returns an enum value that is not available in the current SDK version, type will return
EC2InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
EC2InstanceTypepublic final String typeAsString()
Which compute type that the fleet uses. A fleet can use Anywhere compute resources owned by you or managed Amazon EC2 instances.
If the service returns an enum value that is not available in the current SDK version, type will return
EC2InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
EC2InstanceTypepublic final String gameLiftServiceSdkEndpoint()
The endpoint connection details of the GameLift SDK endpoint that your game server connects to.
public Compute.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Compute.Builder,Compute>public static Compute.Builder builder()
public static Class<? extends Compute.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.