Struct aws_sdk_workspaces::operation::copy_workspace_image::builders::CopyWorkspaceImageInputBuilder
source · #[non_exhaustive]pub struct CopyWorkspaceImageInputBuilder { /* private fields */ }
Expand description
A builder for CopyWorkspaceImageInput
.
Implementations§
source§impl CopyWorkspaceImageInputBuilder
impl CopyWorkspaceImageInputBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the image.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the image.
sourcepub fn source_image_id(self, input: impl Into<String>) -> Self
pub fn source_image_id(self, input: impl Into<String>) -> Self
The identifier of the source image.
sourcepub fn set_source_image_id(self, input: Option<String>) -> Self
pub fn set_source_image_id(self, input: Option<String>) -> Self
The identifier of the source image.
sourcepub fn source_region(self, input: impl Into<String>) -> Self
pub fn source_region(self, input: impl Into<String>) -> Self
The identifier of the source Region.
sourcepub fn set_source_region(self, input: Option<String>) -> Self
pub fn set_source_region(self, input: Option<String>) -> Self
The identifier of the source Region.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags for the image.
The tags for the image.
sourcepub fn build(self) -> Result<CopyWorkspaceImageInput, BuildError>
pub fn build(self) -> Result<CopyWorkspaceImageInput, BuildError>
Consumes the builder and constructs a CopyWorkspaceImageInput
.
Trait Implementations§
source§impl Clone for CopyWorkspaceImageInputBuilder
impl Clone for CopyWorkspaceImageInputBuilder
source§fn clone(&self) -> CopyWorkspaceImageInputBuilder
fn clone(&self) -> CopyWorkspaceImageInputBuilder
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 Default for CopyWorkspaceImageInputBuilder
impl Default for CopyWorkspaceImageInputBuilder
source§fn default() -> CopyWorkspaceImageInputBuilder
fn default() -> CopyWorkspaceImageInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CopyWorkspaceImageInputBuilder> for CopyWorkspaceImageInputBuilder
impl PartialEq<CopyWorkspaceImageInputBuilder> for CopyWorkspaceImageInputBuilder
source§fn eq(&self, other: &CopyWorkspaceImageInputBuilder) -> bool
fn eq(&self, other: &CopyWorkspaceImageInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CopyWorkspaceImageInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CopyWorkspaceImageInputBuilder
impl Send for CopyWorkspaceImageInputBuilder
impl Sync for CopyWorkspaceImageInputBuilder
impl Unpin for CopyWorkspaceImageInputBuilder
impl UnwindSafe for CopyWorkspaceImageInputBuilder
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