pub struct Builder { /* private fields */ }
Expand description
A builder for CreateGameSessionQueueInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
sourcepub fn timeout_in_seconds(self, input: i32) -> Self
pub fn timeout_in_seconds(self, input: i32) -> Self
The maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a TIMED_OUT
status.
sourcepub fn set_timeout_in_seconds(self, input: Option<i32>) -> Self
pub fn set_timeout_in_seconds(self, input: Option<i32>) -> Self
The maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a TIMED_OUT
status.
sourcepub fn player_latency_policies(self, input: PlayerLatencyPolicy) -> Self
pub fn player_latency_policies(self, input: PlayerLatencyPolicy) -> Self
Appends an item to player_latency_policies
.
To override the contents of this collection use set_player_latency_policies
.
A set of policies that act as a sliding cap on player latency. FleetIQ works to deliver low latency for most players in a game session. These policies ensure that no individual player can be placed into a game with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest value.
sourcepub fn set_player_latency_policies(
self,
input: Option<Vec<PlayerLatencyPolicy>>
) -> Self
pub fn set_player_latency_policies(
self,
input: Option<Vec<PlayerLatencyPolicy>>
) -> Self
A set of policies that act as a sliding cap on player latency. FleetIQ works to deliver low latency for most players in a game session. These policies ensure that no individual player can be placed into a game with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest value.
sourcepub fn destinations(self, input: GameSessionQueueDestination) -> Self
pub fn destinations(self, input: GameSessionQueueDestination) -> Self
Appends an item to destinations
.
To override the contents of this collection use set_destinations
.
A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue. Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference.
sourcepub fn set_destinations(
self,
input: Option<Vec<GameSessionQueueDestination>>
) -> Self
pub fn set_destinations(
self,
input: Option<Vec<GameSessionQueueDestination>>
) -> Self
A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue. Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference.
sourcepub fn filter_configuration(self, input: FilterConfiguration) -> Self
pub fn filter_configuration(self, input: FilterConfiguration) -> Self
A list of locations where a queue is allowed to place new game sessions. Locations are specified in the form of Amazon Web Services Region codes, such as us-west-2
. If this parameter is not set, game sessions can be placed in any queue location.
sourcepub fn set_filter_configuration(
self,
input: Option<FilterConfiguration>
) -> Self
pub fn set_filter_configuration(
self,
input: Option<FilterConfiguration>
) -> Self
A list of locations where a queue is allowed to place new game sessions. Locations are specified in the form of Amazon Web Services Region codes, such as us-west-2
. If this parameter is not set, game sessions can be placed in any queue location.
sourcepub fn priority_configuration(self, input: PriorityConfiguration) -> Self
pub fn priority_configuration(self, input: PriorityConfiguration) -> Self
Custom settings to use when prioritizing destinations and locations for game session placements. This configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly named will be automatically applied at the end of the prioritization process.
sourcepub fn set_priority_configuration(
self,
input: Option<PriorityConfiguration>
) -> Self
pub fn set_priority_configuration(
self,
input: Option<PriorityConfiguration>
) -> Self
Custom settings to use when prioritizing destinations and locations for game session placements. This configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly named will be automatically applied at the end of the prioritization process.
sourcepub fn custom_event_data(self, input: impl Into<String>) -> Self
pub fn custom_event_data(self, input: impl Into<String>) -> Self
Information to be added to all events that are related to this game session queue.
sourcepub fn set_custom_event_data(self, input: Option<String>) -> Self
pub fn set_custom_event_data(self, input: Option<String>) -> Self
Information to be added to all events that are related to this game session queue.
sourcepub fn notification_target(self, input: impl Into<String>) -> Self
pub fn notification_target(self, input: impl Into<String>) -> Self
An SNS topic ARN that is set up to receive game session placement notifications. See Setting up notifications for game session placement.
sourcepub fn set_notification_target(self, input: Option<String>) -> Self
pub fn set_notification_target(self, input: Option<String>) -> Self
An SNS topic ARN that is set up to receive game session placement notifications. See Setting up notifications for game session placement.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of labels to assign to the new game session queue resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource
, UntagResource
, and ListTagsForResource
to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.
A list of labels to assign to the new game session queue resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource
, UntagResource
, and ListTagsForResource
to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.
sourcepub fn build(self) -> Result<CreateGameSessionQueueInput, BuildError>
pub fn build(self) -> Result<CreateGameSessionQueueInput, BuildError>
Consumes the builder and constructs a CreateGameSessionQueueInput
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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