Struct aws_sdk_gamelift::operation::create_game_session::builders::CreateGameSessionOutputBuilder
source · #[non_exhaustive]pub struct CreateGameSessionOutputBuilder { /* private fields */ }Expand description
A builder for CreateGameSessionOutput.
Implementations§
source§impl CreateGameSessionOutputBuilder
impl CreateGameSessionOutputBuilder
sourcepub fn game_session(self, input: GameSession) -> Self
pub fn game_session(self, input: GameSession) -> Self
Object that describes the newly created game session record.
sourcepub fn set_game_session(self, input: Option<GameSession>) -> Self
pub fn set_game_session(self, input: Option<GameSession>) -> Self
Object that describes the newly created game session record.
sourcepub fn get_game_session(&self) -> &Option<GameSession>
pub fn get_game_session(&self) -> &Option<GameSession>
Object that describes the newly created game session record.
sourcepub fn build(self) -> CreateGameSessionOutput
pub fn build(self) -> CreateGameSessionOutput
Consumes the builder and constructs a CreateGameSessionOutput.
Trait Implementations§
source§impl Clone for CreateGameSessionOutputBuilder
impl Clone for CreateGameSessionOutputBuilder
source§fn clone(&self) -> CreateGameSessionOutputBuilder
fn clone(&self) -> CreateGameSessionOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for CreateGameSessionOutputBuilder
impl Default for CreateGameSessionOutputBuilder
source§fn default() -> CreateGameSessionOutputBuilder
fn default() -> CreateGameSessionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateGameSessionOutputBuilder
impl PartialEq for CreateGameSessionOutputBuilder
source§fn eq(&self, other: &CreateGameSessionOutputBuilder) -> bool
fn eq(&self, other: &CreateGameSessionOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateGameSessionOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateGameSessionOutputBuilder
impl Send for CreateGameSessionOutputBuilder
impl Sync for CreateGameSessionOutputBuilder
impl Unpin for CreateGameSessionOutputBuilder
impl UnwindSafe for CreateGameSessionOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.