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 ==
.