Struct aws_sdk_gamelift::types::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>,
pub server_sdk_version: Option<String>,
}
Expand description
Properties describing a custom game build.
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) assigned to a Amazon 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 associated with a build. Build names don't need to be unique. It can be set using CreateBuild or UpdateBuild.
version: Option<String>
Version information associated with a build or script. Version strings don't need to be unique.
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"
).
server_sdk_version: Option<String>
The Amazon GameLift Server SDK version used to develop your game server.
Implementations§
source§impl Build
impl Build
sourcepub fn build_arn(&self) -> Option<&str>
pub fn build_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) assigned to a Amazon 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 associated with a build. Build names don't 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 associated with a build or script. Version strings don't need to be unique.
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"
).
sourcepub fn server_sdk_version(&self) -> Option<&str>
pub fn server_sdk_version(&self) -> Option<&str>
The Amazon GameLift Server SDK version used to develop your game server.
Trait Implementations§
source§impl PartialEq for Build
impl PartialEq for Build
impl StructuralPartialEq for Build
Auto Trait Implementations§
impl Freeze for Build
impl RefUnwindSafe for Build
impl Send for Build
impl Sync for Build
impl Unpin for Build
impl UnwindSafe for Build
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more