Struct aws_sdk_chime::operation::list_proxy_sessions::builders::ListProxySessionsInputBuilder
source · #[non_exhaustive]pub struct ListProxySessionsInputBuilder { /* private fields */ }
Expand description
A builder for ListProxySessionsInput
.
Implementations§
source§impl ListProxySessionsInputBuilder
impl ListProxySessionsInputBuilder
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 status(self, input: ProxySessionStatus) -> Self
pub fn status(self, input: ProxySessionStatus) -> Self
The proxy session status.
sourcepub fn set_status(self, input: Option<ProxySessionStatus>) -> Self
pub fn set_status(self, input: Option<ProxySessionStatus>) -> Self
The proxy session status.
sourcepub fn get_status(&self) -> &Option<ProxySessionStatus>
pub fn get_status(&self) -> &Option<ProxySessionStatus>
The proxy session status.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to retrieve the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to retrieve the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to retrieve the next page of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in a single call.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return in a single call.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in a single call.
sourcepub fn build(self) -> Result<ListProxySessionsInput, BuildError>
pub fn build(self) -> Result<ListProxySessionsInput, BuildError>
Consumes the builder and constructs a ListProxySessionsInput
.
source§impl ListProxySessionsInputBuilder
impl ListProxySessionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListProxySessionsOutput, SdkError<ListProxySessionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListProxySessionsOutput, SdkError<ListProxySessionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListProxySessionsInputBuilder
impl Clone for ListProxySessionsInputBuilder
source§fn clone(&self) -> ListProxySessionsInputBuilder
fn clone(&self) -> ListProxySessionsInputBuilder
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 ListProxySessionsInputBuilder
impl Default for ListProxySessionsInputBuilder
source§fn default() -> ListProxySessionsInputBuilder
fn default() -> ListProxySessionsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListProxySessionsInputBuilder
impl PartialEq for ListProxySessionsInputBuilder
source§fn eq(&self, other: &ListProxySessionsInputBuilder) -> bool
fn eq(&self, other: &ListProxySessionsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListProxySessionsInputBuilder
Auto Trait Implementations§
impl Freeze for ListProxySessionsInputBuilder
impl RefUnwindSafe for ListProxySessionsInputBuilder
impl Send for ListProxySessionsInputBuilder
impl Sync for ListProxySessionsInputBuilder
impl Unpin for ListProxySessionsInputBuilder
impl UnwindSafe for ListProxySessionsInputBuilder
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.