Struct aws_sdk_gamelift::model::Build
source · [−]#[non_exhaustive]pub struct Build {
pub build_id: Option<String>,
pub build_arn: Option<String>,
pub name: Option<String>,
pub version: Option<String>,
pub status: Option<BuildStatus>,
pub size_on_disk: Option<i64>,
pub operating_system: Option<OperatingSystem>,
pub creation_time: Option<DateTime>,
}
Expand description
Properties describing a custom game build.
Related actions
CreateBuild
| ListBuilds
| DescribeBuild
| UpdateBuild
| DeleteBuild
| All APIs by task
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.build_id: Option<String>
A unique identifier for the build.
build_arn: Option<String>
The Amazon Resource Name (ARN) that is assigned to a GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
. In a GameLift build ARN, the resource ID matches the BuildId value.
name: Option<String>
A descriptive label that is associated with a build. Build names do not need to be unique. It can be set using CreateBuild
or UpdateBuild
.
version: Option<String>
Version information that is associated with a build or script. Version strings do not need to be unique. This value can be set using CreateBuild
or UpdateBuild
.
status: Option<BuildStatus>
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.
size_on_disk: Option<i64>
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.
operating_system: Option<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.
creation_time: Option<DateTime>
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
Implementations
sourceimpl Build
impl Build
sourcepub fn build_arn(&self) -> Option<&str>
pub fn build_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that is assigned to a GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
. In a GameLift build ARN, the resource ID matches the BuildId value.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A descriptive label that is associated with a build. Build names do not need to be unique. It can be set using CreateBuild
or UpdateBuild
.
sourcepub fn version(&self) -> Option<&str>
pub fn version(&self) -> Option<&str>
Version information that is associated with a build or script. Version strings do not need to be unique. This value can be set using CreateBuild
or UpdateBuild
.
sourcepub fn status(&self) -> Option<&BuildStatus>
pub fn status(&self) -> Option<&BuildStatus>
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.
sourcepub fn size_on_disk(&self) -> Option<i64>
pub fn size_on_disk(&self) -> Option<i64>
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.
sourcepub fn operating_system(&self) -> Option<&OperatingSystem>
pub fn operating_system(&self) -> Option<&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.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
Trait Implementations
impl StructuralPartialEq for Build
Auto Trait Implementations
impl RefUnwindSafe for Build
impl Send for Build
impl Sync for Build
impl Unpin for Build
impl UnwindSafe for Build
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more