Struct aws_sdk_qconnect::types::builders::SessionDataBuilder
source · #[non_exhaustive]pub struct SessionDataBuilder { /* private fields */ }Expand description
A builder for SessionData.
Implementations§
source§impl SessionDataBuilder
impl SessionDataBuilder
sourcepub fn session_arn(self, input: impl Into<String>) -> Self
pub fn session_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the session.
This field is required.sourcepub fn set_session_arn(self, input: Option<String>) -> Self
pub fn set_session_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the session.
sourcepub fn get_session_arn(&self) -> &Option<String>
pub fn get_session_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the session.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The identifier of the session.
This field is required.sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The identifier of the session.
sourcepub fn get_session_id(&self) -> &Option<String>
pub fn get_session_id(&self) -> &Option<String>
The identifier of the session.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the session.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the session.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the session.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the session.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
sourcepub fn integration_configuration(
self,
input: SessionIntegrationConfiguration
) -> Self
pub fn integration_configuration( self, input: SessionIntegrationConfiguration ) -> Self
The configuration information for the session integration.
sourcepub fn set_integration_configuration(
self,
input: Option<SessionIntegrationConfiguration>
) -> Self
pub fn set_integration_configuration( self, input: Option<SessionIntegrationConfiguration> ) -> Self
The configuration information for the session integration.
sourcepub fn get_integration_configuration(
&self
) -> &Option<SessionIntegrationConfiguration>
pub fn get_integration_configuration( &self ) -> &Option<SessionIntegrationConfiguration>
The configuration information for the session integration.
sourcepub fn tag_filter(self, input: TagFilter) -> Self
pub fn tag_filter(self, input: TagFilter) -> Self
An object that can be used to specify Tag conditions.
sourcepub fn set_tag_filter(self, input: Option<TagFilter>) -> Self
pub fn set_tag_filter(self, input: Option<TagFilter>) -> Self
An object that can be used to specify Tag conditions.
sourcepub fn get_tag_filter(&self) -> &Option<TagFilter>
pub fn get_tag_filter(&self) -> &Option<TagFilter>
An object that can be used to specify Tag conditions.
sourcepub fn build(self) -> Result<SessionData, BuildError>
pub fn build(self) -> Result<SessionData, BuildError>
Consumes the builder and constructs a SessionData.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SessionDataBuilder
impl Clone for SessionDataBuilder
source§fn clone(&self) -> SessionDataBuilder
fn clone(&self) -> SessionDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SessionDataBuilder
impl Debug for SessionDataBuilder
source§impl Default for SessionDataBuilder
impl Default for SessionDataBuilder
source§fn default() -> SessionDataBuilder
fn default() -> SessionDataBuilder
source§impl PartialEq for SessionDataBuilder
impl PartialEq for SessionDataBuilder
source§fn eq(&self, other: &SessionDataBuilder) -> bool
fn eq(&self, other: &SessionDataBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SessionDataBuilder
Auto Trait Implementations§
impl Freeze for SessionDataBuilder
impl RefUnwindSafe for SessionDataBuilder
impl Send for SessionDataBuilder
impl Sync for SessionDataBuilder
impl Unpin for SessionDataBuilder
impl UnwindSafe for SessionDataBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more