@Generated(value="software.amazon.awssdk:codegen") public final class Build extends Object implements StructuredPojo, ToCopyableBuilder<Build.Builder,Build>
Properties describing a game build.
Build-related operations include:
Modifier and Type | Class and Description |
---|---|
static interface |
Build.Builder |
Modifier and Type | Method and Description |
---|---|
static Build.Builder |
builder() |
String |
buildId()
Unique identifier for a build.
|
Instant |
creationTime()
Time stamp indicating when this data object was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
Descriptive label that is 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.
|
static Class<? extends Build.Builder> |
serializableBuilderClass() |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
Version that is associated with this build.
|
copy
public String buildId()
Unique identifier for a build.
public String name()
Descriptive label that is associated with a build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
public String version()
Version that is associated with this build. Version strings do not need to be unique. This value can be set using CreateBuild or UpdateBuild.
public 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.
BuildStatus
public 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.
BuildStatus
public Long sizeOnDisk()
File size of the uploaded game build, expressed in bytes. When the build status is INITIALIZED
, this
value is 0.
INITIALIZED
, this value is 0.public 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()
.
OperatingSystem
public 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()
.
OperatingSystem
public Instant 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 Build.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Build.Builder,Build>
public static Build.Builder builder()
public static Class<? extends Build.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.