Struct aws_sdk_workspaces::operation::describe_workspace_directories::builders::DescribeWorkspaceDirectoriesFluentBuilder
source · pub struct DescribeWorkspaceDirectoriesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeWorkspaceDirectories
.
Describes the available directories that are registered with Amazon WorkSpaces.
Implementations§
source§impl DescribeWorkspaceDirectoriesFluentBuilder
impl DescribeWorkspaceDirectoriesFluentBuilder
sourcepub fn as_input(&self) -> &DescribeWorkspaceDirectoriesInputBuilder
pub fn as_input(&self) -> &DescribeWorkspaceDirectoriesInputBuilder
Access the DescribeWorkspaceDirectories as a reference.
sourcepub async fn send(
self,
) -> Result<DescribeWorkspaceDirectoriesOutput, SdkError<DescribeWorkspaceDirectoriesError, HttpResponse>>
pub async fn send( self, ) -> Result<DescribeWorkspaceDirectoriesOutput, SdkError<DescribeWorkspaceDirectoriesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<DescribeWorkspaceDirectoriesOutput, DescribeWorkspaceDirectoriesError, Self>
pub fn customize( self, ) -> CustomizableOperation<DescribeWorkspaceDirectoriesOutput, DescribeWorkspaceDirectoriesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> DescribeWorkspaceDirectoriesPaginator
pub fn into_paginator(self) -> DescribeWorkspaceDirectoriesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn directory_ids(self, input: impl Into<String>) -> Self
pub fn directory_ids(self, input: impl Into<String>) -> Self
Appends an item to DirectoryIds
.
To override the contents of this collection use set_directory_ids
.
The identifiers of the directories. If the value is null, all directories are retrieved.
sourcepub fn set_directory_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_directory_ids(self, input: Option<Vec<String>>) -> Self
The identifiers of the directories. If the value is null, all directories are retrieved.
sourcepub fn get_directory_ids(&self) -> &Option<Vec<String>>
pub fn get_directory_ids(&self) -> &Option<Vec<String>>
The identifiers of the directories. If the value is null, all directories are retrieved.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of directories to return.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
Trait Implementations§
source§impl Clone for DescribeWorkspaceDirectoriesFluentBuilder
impl Clone for DescribeWorkspaceDirectoriesFluentBuilder
source§fn clone(&self) -> DescribeWorkspaceDirectoriesFluentBuilder
fn clone(&self) -> DescribeWorkspaceDirectoriesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DescribeWorkspaceDirectoriesFluentBuilder
impl !RefUnwindSafe for DescribeWorkspaceDirectoriesFluentBuilder
impl Send for DescribeWorkspaceDirectoriesFluentBuilder
impl Sync for DescribeWorkspaceDirectoriesFluentBuilder
impl Unpin for DescribeWorkspaceDirectoriesFluentBuilder
impl !UnwindSafe for DescribeWorkspaceDirectoriesFluentBuilder
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