#[non_exhaustive]pub struct UpdateGameServerInput {
pub game_server_group_name: Option<String>,
pub game_server_id: Option<String>,
pub game_server_data: Option<String>,
pub utilization_status: Option<GameServerUtilizationStatus>,
pub health_check: Option<GameServerHealthCheck>,
}
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.game_server_group_name: Option<String>
A unique identifier for the game server group where the game server is running.
game_server_id: Option<String>
A custom string that uniquely identifies the game server to update.
game_server_data: 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.
utilization_status: 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
.
health_check: Option<GameServerHealthCheck>
Indicates health status of the game server. A request that includes this parameter updates the game server's LastHealthCheckTime timestamp.
Implementations§
source§impl UpdateGameServerInput
impl UpdateGameServerInput
sourcepub fn game_server_group_name(&self) -> Option<&str>
pub fn game_server_group_name(&self) -> Option<&str>
A unique identifier for the game server group where the game server is running.
sourcepub fn game_server_id(&self) -> Option<&str>
pub fn game_server_id(&self) -> Option<&str>
A custom string that uniquely identifies the game server to update.
sourcepub fn game_server_data(&self) -> Option<&str>
pub fn game_server_data(&self) -> Option<&str>
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) -> Option<&GameServerUtilizationStatus>
pub fn 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) -> Option<&GameServerHealthCheck>
pub fn 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.
source§impl UpdateGameServerInput
impl UpdateGameServerInput
sourcepub fn builder() -> UpdateGameServerInputBuilder
pub fn builder() -> UpdateGameServerInputBuilder
Creates a new builder-style object to manufacture UpdateGameServerInput
.
Trait Implementations§
source§impl Clone for UpdateGameServerInput
impl Clone for UpdateGameServerInput
source§fn clone(&self) -> UpdateGameServerInput
fn clone(&self) -> UpdateGameServerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateGameServerInput
impl Debug for UpdateGameServerInput
source§impl PartialEq for UpdateGameServerInput
impl PartialEq for UpdateGameServerInput
source§fn eq(&self, other: &UpdateGameServerInput) -> bool
fn eq(&self, other: &UpdateGameServerInput) -> bool
self
and other
values to be equal, and is used
by ==
.