Struct aws_sdk_gamelift::input::UpdateGameServerInput
source · [−]#[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. Use either the GameServerGroup
name or ARN value.
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 using ListGameServers
or ClaimGameServer
.
utilization_status: Option<GameServerUtilizationStatus>
Indicates whether the game server is available or is currently hosting gameplay.
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
sourceimpl UpdateGameServerInput
impl UpdateGameServerInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateGameServer, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateGameServer, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateGameServer
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateGameServerInput
sourceimpl 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. Use either the GameServerGroup
name or ARN value.
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 using ListGameServers
or ClaimGameServer
.
sourcepub fn utilization_status(&self) -> Option<&GameServerUtilizationStatus>
pub fn utilization_status(&self) -> Option<&GameServerUtilizationStatus>
Indicates whether the game server is available or is currently hosting gameplay.
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.
Trait Implementations
sourceimpl Clone for UpdateGameServerInput
impl Clone for UpdateGameServerInput
sourcefn clone(&self) -> UpdateGameServerInput
fn clone(&self) -> UpdateGameServerInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateGameServerInput
impl Debug for UpdateGameServerInput
sourceimpl PartialEq<UpdateGameServerInput> for UpdateGameServerInput
impl PartialEq<UpdateGameServerInput> for UpdateGameServerInput
sourcefn eq(&self, other: &UpdateGameServerInput) -> bool
fn eq(&self, other: &UpdateGameServerInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateGameServerInput) -> bool
fn ne(&self, other: &UpdateGameServerInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateGameServerInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateGameServerInput
impl Send for UpdateGameServerInput
impl Sync for UpdateGameServerInput
impl Unpin for UpdateGameServerInput
impl UnwindSafe for UpdateGameServerInput
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