Struct aws_sdk_workspaces::operation::describe_workspaces::builders::DescribeWorkspacesOutputBuilder
source · #[non_exhaustive]pub struct DescribeWorkspacesOutputBuilder { /* private fields */ }Expand description
A builder for DescribeWorkspacesOutput.
Implementations§
source§impl DescribeWorkspacesOutputBuilder
impl DescribeWorkspacesOutputBuilder
sourcepub fn workspaces(self, input: Workspace) -> Self
pub fn workspaces(self, input: Workspace) -> Self
Appends an item to workspaces.
To override the contents of this collection use set_workspaces.
Information about the WorkSpaces.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
sourcepub fn set_workspaces(self, input: Option<Vec<Workspace>>) -> Self
pub fn set_workspaces(self, input: Option<Vec<Workspace>>) -> Self
Information about the WorkSpaces.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
sourcepub fn get_workspaces(&self) -> &Option<Vec<Workspace>>
pub fn get_workspaces(&self) -> &Option<Vec<Workspace>>
Information about the WorkSpaces.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
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. This value is null when there are no more results to return.
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. This value is null when there are no more results to return.
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. This value is null when there are no more results to return.
sourcepub fn build(self) -> DescribeWorkspacesOutput
pub fn build(self) -> DescribeWorkspacesOutput
Consumes the builder and constructs a DescribeWorkspacesOutput.
Trait Implementations§
source§impl Clone for DescribeWorkspacesOutputBuilder
impl Clone for DescribeWorkspacesOutputBuilder
source§fn clone(&self) -> DescribeWorkspacesOutputBuilder
fn clone(&self) -> DescribeWorkspacesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeWorkspacesOutputBuilder
impl Default for DescribeWorkspacesOutputBuilder
source§fn default() -> DescribeWorkspacesOutputBuilder
fn default() -> DescribeWorkspacesOutputBuilder
source§impl PartialEq for DescribeWorkspacesOutputBuilder
impl PartialEq for DescribeWorkspacesOutputBuilder
source§fn eq(&self, other: &DescribeWorkspacesOutputBuilder) -> bool
fn eq(&self, other: &DescribeWorkspacesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeWorkspacesOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeWorkspacesOutputBuilder
impl RefUnwindSafe for DescribeWorkspacesOutputBuilder
impl Send for DescribeWorkspacesOutputBuilder
impl Sync for DescribeWorkspacesOutputBuilder
impl Unpin for DescribeWorkspacesOutputBuilder
impl UnwindSafe for DescribeWorkspacesOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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