@Generated(value="software.amazon.awssdk:codegen") public final class Build extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Build.Builder,Build>
Properties describing a custom game build.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Build.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
buildArn()
The Amazon Resource Name (ARN)
assigned to a GameLift build resource and uniquely identifies it.
|
static Build.Builder |
builder() |
String |
buildId()
A unique identifier for the build.
|
Instant |
creationTime()
A time stamp indicating when this data object was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
A descriptive label associated with a build.
|
OperatingSystem |
operatingSystem()
Operating system that the game server binaries are built to run on.
|
String |
operatingSystemAsString()
Operating system that the game server binaries are built to run on.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Build.Builder> |
serializableBuilderClass() |
String |
serverSdkVersion()
The GameLift Server SDK version used to develop your game server.
|
Long |
sizeOnDisk()
File size of the uploaded game build, expressed in bytes.
|
BuildStatus |
status()
Current status of the build.
|
String |
statusAsString()
Current status of the build.
|
Build.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
Version information associated with a build or script.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String buildId()
A unique identifier for the build.
public final String buildArn()
The Amazon Resource Name (ARN)
assigned to a GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a GameLift
build ARN, the resource ID matches the BuildId value.
arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a
GameLift build ARN, the resource ID matches the BuildId value.public final String name()
A descriptive label associated with a build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
public final String version()
Version information associated with a build or script. Version strings do not need to be unique.
public final BuildStatus status()
Current status of the build.
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
If the service returns an enum value that is not available in the current SDK version, status will
return BuildStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
BuildStatuspublic final String statusAsString()
Current status of the build.
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
If the service returns an enum value that is not available in the current SDK version, status will
return BuildStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
BuildStatuspublic final Long sizeOnDisk()
File size of the uploaded game build, expressed in bytes. When the build status is INITIALIZED or
when using a custom Amazon S3 storage location, this value is 0.
INITIALIZED or when using a custom Amazon S3 storage location, this value is 0.public final OperatingSystem operatingSystem()
Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.
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()
Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.
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 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 String serverSdkVersion()
The GameLift Server SDK version used to develop your game server.
public Build.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Build.Builder,Build>public static Build.Builder builder()
public static Class<? extends Build.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.