#[non_exhaustive]pub struct CopyImageInputBuilder { /* private fields */ }
Expand description
A builder for CopyImageInput
.
Implementations§
source§impl CopyImageInputBuilder
impl CopyImageInputBuilder
sourcepub fn source_image_name(self, input: impl Into<String>) -> Self
pub fn source_image_name(self, input: impl Into<String>) -> Self
The name of the image to copy.
sourcepub fn set_source_image_name(self, input: Option<String>) -> Self
pub fn set_source_image_name(self, input: Option<String>) -> Self
The name of the image to copy.
sourcepub fn destination_image_name(self, input: impl Into<String>) -> Self
pub fn destination_image_name(self, input: impl Into<String>) -> Self
The name that the image will have when it is copied to the destination.
sourcepub fn set_destination_image_name(self, input: Option<String>) -> Self
pub fn set_destination_image_name(self, input: Option<String>) -> Self
The name that the image will have when it is copied to the destination.
sourcepub fn destination_region(self, input: impl Into<String>) -> Self
pub fn destination_region(self, input: impl Into<String>) -> Self
The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.
sourcepub fn set_destination_region(self, input: Option<String>) -> Self
pub fn set_destination_region(self, input: Option<String>) -> Self
The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.
sourcepub fn destination_image_description(self, input: impl Into<String>) -> Self
pub fn destination_image_description(self, input: impl Into<String>) -> Self
The description that the image will have when it is copied to the destination.
sourcepub fn set_destination_image_description(self, input: Option<String>) -> Self
pub fn set_destination_image_description(self, input: Option<String>) -> Self
The description that the image will have when it is copied to the destination.
sourcepub fn build(self) -> Result<CopyImageInput, BuildError>
pub fn build(self) -> Result<CopyImageInput, BuildError>
Consumes the builder and constructs a CopyImageInput
.
Trait Implementations§
source§impl Clone for CopyImageInputBuilder
impl Clone for CopyImageInputBuilder
source§fn clone(&self) -> CopyImageInputBuilder
fn clone(&self) -> CopyImageInputBuilder
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 CopyImageInputBuilder
impl Debug for CopyImageInputBuilder
source§impl Default for CopyImageInputBuilder
impl Default for CopyImageInputBuilder
source§fn default() -> CopyImageInputBuilder
fn default() -> CopyImageInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CopyImageInputBuilder> for CopyImageInputBuilder
impl PartialEq<CopyImageInputBuilder> for CopyImageInputBuilder
source§fn eq(&self, other: &CopyImageInputBuilder) -> bool
fn eq(&self, other: &CopyImageInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.