#[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.
This field is required.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 get_source_image_name(&self) -> &Option<String>
pub fn get_source_image_name(&self) -> &Option<String>
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.
This field is required.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 get_destination_image_name(&self) -> &Option<String>
pub fn get_destination_image_name(&self) -> &Option<String>
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.
This field is required.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 get_destination_region(&self) -> &Option<String>
pub fn get_destination_region(&self) -> &Option<String>
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 get_destination_image_description(&self) -> &Option<String>
pub fn get_destination_image_description(&self) -> &Option<String>
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
.
source§impl CopyImageInputBuilder
impl CopyImageInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CopyImageOutput, SdkError<CopyImageError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CopyImageOutput, SdkError<CopyImageError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CopyImageInputBuilder
impl Clone for CopyImageInputBuilder
source§fn clone(&self) -> CopyImageInputBuilder
fn clone(&self) -> CopyImageInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for CopyImageInputBuilder
impl PartialEq for CopyImageInputBuilder
source§fn eq(&self, other: &CopyImageInputBuilder) -> bool
fn eq(&self, other: &CopyImageInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.