Struct aws_sdk_ec2::model::export_to_s3_task::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ExportToS3Task
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn container_format(self, input: ContainerFormat) -> Self
pub fn container_format(self, input: ContainerFormat) -> Self
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
sourcepub fn set_container_format(self, input: Option<ContainerFormat>) -> Self
pub fn set_container_format(self, input: Option<ContainerFormat>) -> Self
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
sourcepub fn disk_image_format(self, input: DiskImageFormat) -> Self
pub fn disk_image_format(self, input: DiskImageFormat) -> Self
The format for the exported image.
sourcepub fn set_disk_image_format(self, input: Option<DiskImageFormat>) -> Self
pub fn set_disk_image_format(self, input: Option<DiskImageFormat>) -> Self
The format for the exported image.
sourcepub fn s3_bucket(self, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
The Amazon S3 bucket for the destination image. The destination bucket must exist and have an access control list (ACL) attached that specifies the Region-specific canonical account ID for the Grantee
. For more information about the ACL to your S3 bucket, see Prerequisites in the VM Import/Export User Guide.
sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
The Amazon S3 bucket for the destination image. The destination bucket must exist and have an access control list (ACL) attached that specifies the Region-specific canonical account ID for the Grantee
. For more information about the ACL to your S3 bucket, see Prerequisites in the VM Import/Export User Guide.
sourcepub fn set_s3_key(self, input: Option<String>) -> Self
pub fn set_s3_key(self, input: Option<String>) -> Self
The encryption key for your S3 bucket.
sourcepub fn build(self) -> ExportToS3Task
pub fn build(self) -> ExportToS3Task
Consumes the builder and constructs a ExportToS3Task
.