Struct aws_sdk_workspaces::operation::create_workspaces::builders::CreateWorkspacesOutputBuilder
source · #[non_exhaustive]pub struct CreateWorkspacesOutputBuilder { /* private fields */ }
Expand description
A builder for CreateWorkspacesOutput
.
Implementations§
source§impl CreateWorkspacesOutputBuilder
impl CreateWorkspacesOutputBuilder
sourcepub fn failed_requests(self, input: FailedCreateWorkspaceRequest) -> Self
pub fn failed_requests(self, input: FailedCreateWorkspaceRequest) -> Self
Appends an item to failed_requests
.
To override the contents of this collection use set_failed_requests
.
Information about the WorkSpaces that could not be created.
sourcepub fn set_failed_requests(
self,
input: Option<Vec<FailedCreateWorkspaceRequest>>
) -> Self
pub fn set_failed_requests( self, input: Option<Vec<FailedCreateWorkspaceRequest>> ) -> Self
Information about the WorkSpaces that could not be created.
sourcepub fn get_failed_requests(&self) -> &Option<Vec<FailedCreateWorkspaceRequest>>
pub fn get_failed_requests(&self) -> &Option<Vec<FailedCreateWorkspaceRequest>>
Information about the WorkSpaces that could not be created.
sourcepub fn pending_requests(self, input: Workspace) -> Self
pub fn pending_requests(self, input: Workspace) -> Self
Appends an item to pending_requests
.
To override the contents of this collection use set_pending_requests
.
Information about the WorkSpaces that were created.
Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces
before the WorkSpace is created, the information returned can be incomplete.
sourcepub fn set_pending_requests(self, input: Option<Vec<Workspace>>) -> Self
pub fn set_pending_requests(self, input: Option<Vec<Workspace>>) -> Self
Information about the WorkSpaces that were created.
Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces
before the WorkSpace is created, the information returned can be incomplete.
sourcepub fn get_pending_requests(&self) -> &Option<Vec<Workspace>>
pub fn get_pending_requests(&self) -> &Option<Vec<Workspace>>
Information about the WorkSpaces that were created.
Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces
before the WorkSpace is created, the information returned can be incomplete.
sourcepub fn build(self) -> CreateWorkspacesOutput
pub fn build(self) -> CreateWorkspacesOutput
Consumes the builder and constructs a CreateWorkspacesOutput
.
Trait Implementations§
source§impl Clone for CreateWorkspacesOutputBuilder
impl Clone for CreateWorkspacesOutputBuilder
source§fn clone(&self) -> CreateWorkspacesOutputBuilder
fn clone(&self) -> CreateWorkspacesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateWorkspacesOutputBuilder
impl Default for CreateWorkspacesOutputBuilder
source§fn default() -> CreateWorkspacesOutputBuilder
fn default() -> CreateWorkspacesOutputBuilder
source§impl PartialEq for CreateWorkspacesOutputBuilder
impl PartialEq for CreateWorkspacesOutputBuilder
source§fn eq(&self, other: &CreateWorkspacesOutputBuilder) -> bool
fn eq(&self, other: &CreateWorkspacesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateWorkspacesOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateWorkspacesOutputBuilder
impl RefUnwindSafe for CreateWorkspacesOutputBuilder
impl Send for CreateWorkspacesOutputBuilder
impl Sync for CreateWorkspacesOutputBuilder
impl Unpin for CreateWorkspacesOutputBuilder
impl UnwindSafe for CreateWorkspacesOutputBuilder
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