pub struct CopyImageFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CopyImage
.
Copies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.
Implementations§
source§impl CopyImageFluentBuilder
impl CopyImageFluentBuilder
sourcepub fn as_input(&self) -> &CopyImageInputBuilder
pub fn as_input(&self) -> &CopyImageInputBuilder
Access the CopyImage as a reference.
sourcepub async fn send(
self
) -> Result<CopyImageOutput, SdkError<CopyImageError, HttpResponse>>
pub async fn send( self ) -> Result<CopyImageOutput, SdkError<CopyImageError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CopyImageOutput, CopyImageError, Self>
pub fn customize( self ) -> CustomizableOperation<CopyImageOutput, CopyImageError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 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.
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.
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.
Trait Implementations§
source§impl Clone for CopyImageFluentBuilder
impl Clone for CopyImageFluentBuilder
source§fn clone(&self) -> CopyImageFluentBuilder
fn clone(&self) -> CopyImageFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more