Struct aws_sdk_gamelift::operation::update_game_server::builders::UpdateGameServerInputBuilder
source · #[non_exhaustive]pub struct UpdateGameServerInputBuilder { /* private fields */ }
Expand description
A builder for UpdateGameServerInput
.
Implementations§
source§impl UpdateGameServerInputBuilder
impl UpdateGameServerInputBuilder
sourcepub fn game_server_group_name(self, input: impl Into<String>) -> Self
pub fn game_server_group_name(self, input: impl Into<String>) -> Self
A unique identifier for the game server group where the game server is running.
This field is required.sourcepub fn set_game_server_group_name(self, input: Option<String>) -> Self
pub fn set_game_server_group_name(self, input: Option<String>) -> Self
A unique identifier for the game server group where the game server is running.
sourcepub fn get_game_server_group_name(&self) -> &Option<String>
pub fn get_game_server_group_name(&self) -> &Option<String>
A unique identifier for the game server group where the game server is running.
sourcepub fn game_server_id(self, input: impl Into<String>) -> Self
pub fn game_server_id(self, input: impl Into<String>) -> Self
A custom string that uniquely identifies the game server to update.
This field is required.sourcepub fn set_game_server_id(self, input: Option<String>) -> Self
pub fn set_game_server_id(self, input: Option<String>) -> Self
A custom string that uniquely identifies the game server to update.
sourcepub fn get_game_server_id(&self) -> &Option<String>
pub fn get_game_server_id(&self) -> &Option<String>
A custom string that uniquely identifies the game server to update.
sourcepub fn game_server_data(self, input: impl Into<String>) -> Self
pub fn game_server_data(self, input: impl Into<String>) -> Self
A set of custom game server properties, formatted as a single string value. This data is passed to a game client or service when it requests information on game servers.
sourcepub fn set_game_server_data(self, input: Option<String>) -> Self
pub fn set_game_server_data(self, input: Option<String>) -> Self
A set of custom game server properties, formatted as a single string value. This data is passed to a game client or service when it requests information on game servers.
sourcepub fn get_game_server_data(&self) -> &Option<String>
pub fn get_game_server_data(&self) -> &Option<String>
A set of custom game server properties, formatted as a single string value. This data is passed to a game client or service when it requests information on game servers.
sourcepub fn utilization_status(self, input: GameServerUtilizationStatus) -> Self
pub fn utilization_status(self, input: GameServerUtilizationStatus) -> Self
Indicates if the game server is available or is currently hosting gameplay. You can update a game server status from AVAILABLE
to UTILIZED
, but you can't change a the status from UTILIZED
to AVAILABLE
.
sourcepub fn set_utilization_status(
self,
input: Option<GameServerUtilizationStatus>
) -> Self
pub fn set_utilization_status( self, input: Option<GameServerUtilizationStatus> ) -> Self
Indicates if the game server is available or is currently hosting gameplay. You can update a game server status from AVAILABLE
to UTILIZED
, but you can't change a the status from UTILIZED
to AVAILABLE
.
sourcepub fn get_utilization_status(&self) -> &Option<GameServerUtilizationStatus>
pub fn get_utilization_status(&self) -> &Option<GameServerUtilizationStatus>
Indicates if the game server is available or is currently hosting gameplay. You can update a game server status from AVAILABLE
to UTILIZED
, but you can't change a the status from UTILIZED
to AVAILABLE
.
sourcepub fn health_check(self, input: GameServerHealthCheck) -> Self
pub fn health_check(self, input: GameServerHealthCheck) -> Self
Indicates health status of the game server. A request that includes this parameter updates the game server's LastHealthCheckTime timestamp.
sourcepub fn set_health_check(self, input: Option<GameServerHealthCheck>) -> Self
pub fn set_health_check(self, input: Option<GameServerHealthCheck>) -> Self
Indicates health status of the game server. A request that includes this parameter updates the game server's LastHealthCheckTime timestamp.
sourcepub fn get_health_check(&self) -> &Option<GameServerHealthCheck>
pub fn get_health_check(&self) -> &Option<GameServerHealthCheck>
Indicates health status of the game server. A request that includes this parameter updates the game server's LastHealthCheckTime timestamp.
sourcepub fn build(self) -> Result<UpdateGameServerInput, BuildError>
pub fn build(self) -> Result<UpdateGameServerInput, BuildError>
Consumes the builder and constructs a UpdateGameServerInput
.
source§impl UpdateGameServerInputBuilder
impl UpdateGameServerInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateGameServerOutput, SdkError<UpdateGameServerError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateGameServerOutput, SdkError<UpdateGameServerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateGameServerInputBuilder
impl Clone for UpdateGameServerInputBuilder
source§fn clone(&self) -> UpdateGameServerInputBuilder
fn clone(&self) -> UpdateGameServerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateGameServerInputBuilder
impl Debug for UpdateGameServerInputBuilder
source§impl Default for UpdateGameServerInputBuilder
impl Default for UpdateGameServerInputBuilder
source§fn default() -> UpdateGameServerInputBuilder
fn default() -> UpdateGameServerInputBuilder
source§impl PartialEq for UpdateGameServerInputBuilder
impl PartialEq for UpdateGameServerInputBuilder
source§fn eq(&self, other: &UpdateGameServerInputBuilder) -> bool
fn eq(&self, other: &UpdateGameServerInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.