Struct aws_sdk_chime::operation::update_proxy_session::builders::UpdateProxySessionInputBuilder
source · #[non_exhaustive]pub struct UpdateProxySessionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateProxySessionInput
.
Implementations§
source§impl UpdateProxySessionInputBuilder
impl UpdateProxySessionInputBuilder
sourcepub fn voice_connector_id(self, input: impl Into<String>) -> Self
pub fn voice_connector_id(self, input: impl Into<String>) -> Self
The Amazon Chime voice connector ID.
This field is required.sourcepub fn set_voice_connector_id(self, input: Option<String>) -> Self
pub fn set_voice_connector_id(self, input: Option<String>) -> Self
The Amazon Chime voice connector ID.
sourcepub fn get_voice_connector_id(&self) -> &Option<String>
pub fn get_voice_connector_id(&self) -> &Option<String>
The Amazon Chime voice connector ID.
sourcepub fn proxy_session_id(self, input: impl Into<String>) -> Self
pub fn proxy_session_id(self, input: impl Into<String>) -> Self
The proxy session ID.
This field is required.sourcepub fn set_proxy_session_id(self, input: Option<String>) -> Self
pub fn set_proxy_session_id(self, input: Option<String>) -> Self
The proxy session ID.
sourcepub fn get_proxy_session_id(&self) -> &Option<String>
pub fn get_proxy_session_id(&self) -> &Option<String>
The proxy session ID.
sourcepub fn capabilities(self, input: Capability) -> Self
pub fn capabilities(self, input: Capability) -> Self
Appends an item to capabilities
.
To override the contents of this collection use set_capabilities
.
The proxy session capabilities.
sourcepub fn set_capabilities(self, input: Option<Vec<Capability>>) -> Self
pub fn set_capabilities(self, input: Option<Vec<Capability>>) -> Self
The proxy session capabilities.
sourcepub fn get_capabilities(&self) -> &Option<Vec<Capability>>
pub fn get_capabilities(&self) -> &Option<Vec<Capability>>
The proxy session capabilities.
sourcepub fn expiry_minutes(self, input: i32) -> Self
pub fn expiry_minutes(self, input: i32) -> Self
The number of minutes allowed for the proxy session.
sourcepub fn set_expiry_minutes(self, input: Option<i32>) -> Self
pub fn set_expiry_minutes(self, input: Option<i32>) -> Self
The number of minutes allowed for the proxy session.
sourcepub fn get_expiry_minutes(&self) -> &Option<i32>
pub fn get_expiry_minutes(&self) -> &Option<i32>
The number of minutes allowed for the proxy session.
sourcepub fn build(self) -> Result<UpdateProxySessionInput, BuildError>
pub fn build(self) -> Result<UpdateProxySessionInput, BuildError>
Consumes the builder and constructs a UpdateProxySessionInput
.
source§impl UpdateProxySessionInputBuilder
impl UpdateProxySessionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateProxySessionOutput, SdkError<UpdateProxySessionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateProxySessionOutput, SdkError<UpdateProxySessionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateProxySessionInputBuilder
impl Clone for UpdateProxySessionInputBuilder
source§fn clone(&self) -> UpdateProxySessionInputBuilder
fn clone(&self) -> UpdateProxySessionInputBuilder
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 UpdateProxySessionInputBuilder
impl Default for UpdateProxySessionInputBuilder
source§fn default() -> UpdateProxySessionInputBuilder
fn default() -> UpdateProxySessionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateProxySessionInputBuilder
impl PartialEq for UpdateProxySessionInputBuilder
source§fn eq(&self, other: &UpdateProxySessionInputBuilder) -> bool
fn eq(&self, other: &UpdateProxySessionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateProxySessionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateProxySessionInputBuilder
impl RefUnwindSafe for UpdateProxySessionInputBuilder
impl Send for UpdateProxySessionInputBuilder
impl Sync for UpdateProxySessionInputBuilder
impl Unpin for UpdateProxySessionInputBuilder
impl UnwindSafe for UpdateProxySessionInputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.