Struct aws_sdk_gamelift::types::builders::PlayerLatencyBuilder
source · #[non_exhaustive]pub struct PlayerLatencyBuilder { /* private fields */ }Expand description
A builder for PlayerLatency.
Implementations§
source§impl PlayerLatencyBuilder
impl PlayerLatencyBuilder
sourcepub fn player_id(self, input: impl Into<String>) -> Self
pub fn player_id(self, input: impl Into<String>) -> Self
A unique identifier for a player associated with the latency data.
sourcepub fn set_player_id(self, input: Option<String>) -> Self
pub fn set_player_id(self, input: Option<String>) -> Self
A unique identifier for a player associated with the latency data.
sourcepub fn get_player_id(&self) -> &Option<String>
pub fn get_player_id(&self) -> &Option<String>
A unique identifier for a player associated with the latency data.
sourcepub fn region_identifier(self, input: impl Into<String>) -> Self
pub fn region_identifier(self, input: impl Into<String>) -> Self
Name of the Region that is associated with the latency value.
sourcepub fn set_region_identifier(self, input: Option<String>) -> Self
pub fn set_region_identifier(self, input: Option<String>) -> Self
Name of the Region that is associated with the latency value.
sourcepub fn get_region_identifier(&self) -> &Option<String>
pub fn get_region_identifier(&self) -> &Option<String>
Name of the Region that is associated with the latency value.
sourcepub fn latency_in_milliseconds(self, input: f32) -> Self
pub fn latency_in_milliseconds(self, input: f32) -> Self
Amount of time that represents the time lag experienced by the player when connected to the specified Region.
sourcepub fn set_latency_in_milliseconds(self, input: Option<f32>) -> Self
pub fn set_latency_in_milliseconds(self, input: Option<f32>) -> Self
Amount of time that represents the time lag experienced by the player when connected to the specified Region.
sourcepub fn get_latency_in_milliseconds(&self) -> &Option<f32>
pub fn get_latency_in_milliseconds(&self) -> &Option<f32>
Amount of time that represents the time lag experienced by the player when connected to the specified Region.
sourcepub fn build(self) -> PlayerLatency
pub fn build(self) -> PlayerLatency
Consumes the builder and constructs a PlayerLatency.
Trait Implementations§
source§impl Clone for PlayerLatencyBuilder
impl Clone for PlayerLatencyBuilder
source§fn clone(&self) -> PlayerLatencyBuilder
fn clone(&self) -> PlayerLatencyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PlayerLatencyBuilder
impl Debug for PlayerLatencyBuilder
source§impl Default for PlayerLatencyBuilder
impl Default for PlayerLatencyBuilder
source§fn default() -> PlayerLatencyBuilder
fn default() -> PlayerLatencyBuilder
source§impl PartialEq for PlayerLatencyBuilder
impl PartialEq for PlayerLatencyBuilder
source§fn eq(&self, other: &PlayerLatencyBuilder) -> bool
fn eq(&self, other: &PlayerLatencyBuilder) -> bool
self and other values to be equal, and is used
by ==.