Struct aws_sdk_workspaces::operation::create_workspaces::builders::CreateWorkspacesInputBuilder
source · #[non_exhaustive]pub struct CreateWorkspacesInputBuilder { /* private fields */ }
Expand description
A builder for CreateWorkspacesInput
.
Implementations§
source§impl CreateWorkspacesInputBuilder
impl CreateWorkspacesInputBuilder
sourcepub fn workspaces(self, input: WorkspaceRequest) -> Self
pub fn workspaces(self, input: WorkspaceRequest) -> Self
Appends an item to workspaces
.
To override the contents of this collection use set_workspaces
.
The WorkSpaces to create. You can specify up to 25 WorkSpaces.
sourcepub fn set_workspaces(self, input: Option<Vec<WorkspaceRequest>>) -> Self
pub fn set_workspaces(self, input: Option<Vec<WorkspaceRequest>>) -> Self
The WorkSpaces to create. You can specify up to 25 WorkSpaces.
sourcepub fn get_workspaces(&self) -> &Option<Vec<WorkspaceRequest>>
pub fn get_workspaces(&self) -> &Option<Vec<WorkspaceRequest>>
The WorkSpaces to create. You can specify up to 25 WorkSpaces.
sourcepub fn build(self) -> Result<CreateWorkspacesInput, BuildError>
pub fn build(self) -> Result<CreateWorkspacesInput, BuildError>
Consumes the builder and constructs a CreateWorkspacesInput
.
source§impl CreateWorkspacesInputBuilder
impl CreateWorkspacesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateWorkspacesOutput, SdkError<CreateWorkspacesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateWorkspacesOutput, SdkError<CreateWorkspacesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateWorkspacesInputBuilder
impl Clone for CreateWorkspacesInputBuilder
source§fn clone(&self) -> CreateWorkspacesInputBuilder
fn clone(&self) -> CreateWorkspacesInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateWorkspacesInputBuilder
impl Debug for CreateWorkspacesInputBuilder
source§impl Default for CreateWorkspacesInputBuilder
impl Default for CreateWorkspacesInputBuilder
source§fn default() -> CreateWorkspacesInputBuilder
fn default() -> CreateWorkspacesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateWorkspacesInputBuilder
impl PartialEq for CreateWorkspacesInputBuilder
source§fn eq(&self, other: &CreateWorkspacesInputBuilder) -> bool
fn eq(&self, other: &CreateWorkspacesInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateWorkspacesInputBuilder
Auto Trait Implementations§
impl Freeze for CreateWorkspacesInputBuilder
impl RefUnwindSafe for CreateWorkspacesInputBuilder
impl Send for CreateWorkspacesInputBuilder
impl Sync for CreateWorkspacesInputBuilder
impl Unpin for CreateWorkspacesInputBuilder
impl UnwindSafe for CreateWorkspacesInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.