Struct aws_sdk_chatbot::operation::describe_slack_workspaces::builders::DescribeSlackWorkspacesInputBuilder
source · #[non_exhaustive]pub struct DescribeSlackWorkspacesInputBuilder { /* private fields */ }Expand description
A builder for DescribeSlackWorkspacesInput.
Implementations§
source§impl DescribeSlackWorkspacesInputBuilder
impl DescribeSlackWorkspacesInputBuilder
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
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 include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
sourcepub fn build(self) -> Result<DescribeSlackWorkspacesInput, BuildError>
pub fn build(self) -> Result<DescribeSlackWorkspacesInput, BuildError>
Consumes the builder and constructs a DescribeSlackWorkspacesInput.
source§impl DescribeSlackWorkspacesInputBuilder
impl DescribeSlackWorkspacesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeSlackWorkspacesOutput, SdkError<DescribeSlackWorkspacesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeSlackWorkspacesOutput, SdkError<DescribeSlackWorkspacesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeSlackWorkspacesInputBuilder
impl Clone for DescribeSlackWorkspacesInputBuilder
source§fn clone(&self) -> DescribeSlackWorkspacesInputBuilder
fn clone(&self) -> DescribeSlackWorkspacesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeSlackWorkspacesInputBuilder
impl Default for DescribeSlackWorkspacesInputBuilder
source§fn default() -> DescribeSlackWorkspacesInputBuilder
fn default() -> DescribeSlackWorkspacesInputBuilder
source§impl PartialEq for DescribeSlackWorkspacesInputBuilder
impl PartialEq for DescribeSlackWorkspacesInputBuilder
source§fn eq(&self, other: &DescribeSlackWorkspacesInputBuilder) -> bool
fn eq(&self, other: &DescribeSlackWorkspacesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeSlackWorkspacesInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeSlackWorkspacesInputBuilder
impl RefUnwindSafe for DescribeSlackWorkspacesInputBuilder
impl Send for DescribeSlackWorkspacesInputBuilder
impl Sync for DescribeSlackWorkspacesInputBuilder
impl Unpin for DescribeSlackWorkspacesInputBuilder
impl UnwindSafe for DescribeSlackWorkspacesInputBuilder
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