Struct aws_sdk_gamelift::types::builders::BuildBuilder
source · #[non_exhaustive]pub struct BuildBuilder { /* private fields */ }Expand description
A builder for Build.
Implementations§
source§impl BuildBuilder
impl BuildBuilder
sourcepub fn set_build_id(self, input: Option<String>) -> Self
pub fn set_build_id(self, input: Option<String>) -> Self
A unique identifier for the build.
sourcepub fn get_build_id(&self) -> &Option<String>
pub fn get_build_id(&self) -> &Option<String>
A unique identifier for the build.
sourcepub fn build_arn(self, input: impl Into<String>) -> Self
pub fn build_arn(self, input: impl Into<String>) -> Self
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 set_build_arn(self, input: Option<String>) -> Self
pub fn set_build_arn(self, input: Option<String>) -> Self
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 get_build_arn(&self) -> &Option<String>
pub fn get_build_arn(&self) -> &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.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
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 set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
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 get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &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.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
Version information associated with a build or script. Version strings don't need to be unique.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
Version information associated with a build or script. Version strings don't need to be unique.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
Version information associated with a build or script. Version strings don't need to be unique.
sourcepub fn status(self, input: BuildStatus) -> Self
pub fn status(self, input: BuildStatus) -> Self
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 set_status(self, input: Option<BuildStatus>) -> Self
pub fn set_status(self, input: Option<BuildStatus>) -> Self
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 get_status(&self) -> &Option<BuildStatus>
pub fn get_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, input: i64) -> Self
pub fn size_on_disk(self, input: i64) -> Self
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 set_size_on_disk(self, input: Option<i64>) -> Self
pub fn set_size_on_disk(self, input: Option<i64>) -> Self
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 get_size_on_disk(&self) -> &Option<i64>
pub fn get_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, input: OperatingSystem) -> Self
pub fn operating_system(self, input: OperatingSystem) -> Self
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 set_operating_system(self, input: Option<OperatingSystem>) -> Self
pub fn set_operating_system(self, input: Option<OperatingSystem>) -> Self
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 get_operating_system(&self) -> &Option<OperatingSystem>
pub fn get_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, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
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 set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
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 get_creation_time(&self) -> &Option<DateTime>
pub fn get_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, input: impl Into<String>) -> Self
pub fn server_sdk_version(self, input: impl Into<String>) -> Self
The Amazon GameLift Server SDK version used to develop your game server.
sourcepub fn set_server_sdk_version(self, input: Option<String>) -> Self
pub fn set_server_sdk_version(self, input: Option<String>) -> Self
The Amazon GameLift Server SDK version used to develop your game server.
sourcepub fn get_server_sdk_version(&self) -> &Option<String>
pub fn get_server_sdk_version(&self) -> &Option<String>
The Amazon GameLift Server SDK version used to develop your game server.
Trait Implementations§
source§impl Clone for BuildBuilder
impl Clone for BuildBuilder
source§fn clone(&self) -> BuildBuilder
fn clone(&self) -> BuildBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BuildBuilder
impl Debug for BuildBuilder
source§impl Default for BuildBuilder
impl Default for BuildBuilder
source§fn default() -> BuildBuilder
fn default() -> BuildBuilder
source§impl PartialEq<BuildBuilder> for BuildBuilder
impl PartialEq<BuildBuilder> for BuildBuilder
source§fn eq(&self, other: &BuildBuilder) -> bool
fn eq(&self, other: &BuildBuilder) -> bool
self and other values to be equal, and is used
by ==.