#[non_exhaustive]pub struct RuntimeConfigurationBuilder { /* private fields */ }Expand description
A builder for RuntimeConfiguration.
Implementations§
source§impl RuntimeConfigurationBuilder
impl RuntimeConfigurationBuilder
sourcepub fn server_processes(self, input: ServerProcess) -> Self
pub fn server_processes(self, input: ServerProcess) -> Self
Appends an item to server_processes.
To override the contents of this collection use set_server_processes.
A collection of server process configurations that identify what server processes to run on each instance in a fleet.
sourcepub fn set_server_processes(self, input: Option<Vec<ServerProcess>>) -> Self
pub fn set_server_processes(self, input: Option<Vec<ServerProcess>>) -> Self
A collection of server process configurations that identify what server processes to run on each instance in a fleet.
sourcepub fn get_server_processes(&self) -> &Option<Vec<ServerProcess>>
pub fn get_server_processes(&self) -> &Option<Vec<ServerProcess>>
A collection of server process configurations that identify what server processes to run on each instance in a fleet.
sourcepub fn max_concurrent_game_session_activations(self, input: i32) -> Self
pub fn max_concurrent_game_session_activations(self, input: i32) -> Self
The number of game sessions in status ACTIVATING to allow on an instance. This setting limits the instance resources that can be used for new game activations at any one time.
sourcepub fn set_max_concurrent_game_session_activations(
self,
input: Option<i32>
) -> Self
pub fn set_max_concurrent_game_session_activations( self, input: Option<i32> ) -> Self
The number of game sessions in status ACTIVATING to allow on an instance. This setting limits the instance resources that can be used for new game activations at any one time.
sourcepub fn get_max_concurrent_game_session_activations(&self) -> &Option<i32>
pub fn get_max_concurrent_game_session_activations(&self) -> &Option<i32>
The number of game sessions in status ACTIVATING to allow on an instance. This setting limits the instance resources that can be used for new game activations at any one time.
sourcepub fn game_session_activation_timeout_seconds(self, input: i32) -> Self
pub fn game_session_activation_timeout_seconds(self, input: i32) -> Self
The maximum amount of time (in seconds) allowed to launch a new game session and have it report ready to host players. During this time, the game session is in status ACTIVATING. If the game session does not become active before the timeout, it is ended and the game session status is changed to TERMINATED.
sourcepub fn set_game_session_activation_timeout_seconds(
self,
input: Option<i32>
) -> Self
pub fn set_game_session_activation_timeout_seconds( self, input: Option<i32> ) -> Self
The maximum amount of time (in seconds) allowed to launch a new game session and have it report ready to host players. During this time, the game session is in status ACTIVATING. If the game session does not become active before the timeout, it is ended and the game session status is changed to TERMINATED.
sourcepub fn get_game_session_activation_timeout_seconds(&self) -> &Option<i32>
pub fn get_game_session_activation_timeout_seconds(&self) -> &Option<i32>
The maximum amount of time (in seconds) allowed to launch a new game session and have it report ready to host players. During this time, the game session is in status ACTIVATING. If the game session does not become active before the timeout, it is ended and the game session status is changed to TERMINATED.
sourcepub fn build(self) -> RuntimeConfiguration
pub fn build(self) -> RuntimeConfiguration
Consumes the builder and constructs a RuntimeConfiguration.
Trait Implementations§
source§impl Clone for RuntimeConfigurationBuilder
impl Clone for RuntimeConfigurationBuilder
source§fn clone(&self) -> RuntimeConfigurationBuilder
fn clone(&self) -> RuntimeConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RuntimeConfigurationBuilder
impl Debug for RuntimeConfigurationBuilder
source§impl Default for RuntimeConfigurationBuilder
impl Default for RuntimeConfigurationBuilder
source§fn default() -> RuntimeConfigurationBuilder
fn default() -> RuntimeConfigurationBuilder
source§impl PartialEq for RuntimeConfigurationBuilder
impl PartialEq for RuntimeConfigurationBuilder
source§fn eq(&self, other: &RuntimeConfigurationBuilder) -> bool
fn eq(&self, other: &RuntimeConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.