Struct aws_sdk_ec2::types::ExportToS3Task
source · #[non_exhaustive]pub struct ExportToS3Task {
pub container_format: Option<ContainerFormat>,
pub disk_image_format: Option<DiskImageFormat>,
pub s3_bucket: Option<String>,
pub s3_key: Option<String>,
}
Expand description
Describes the format and location for the export task.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.container_format: Option<ContainerFormat>
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
disk_image_format: Option<DiskImageFormat>
The format for the exported image.
s3_bucket: Option<String>
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.
s3_key: Option<String>
The encryption key for your S3 bucket.
Implementations§
source§impl ExportToS3Task
impl ExportToS3Task
sourcepub fn container_format(&self) -> Option<&ContainerFormat>
pub fn container_format(&self) -> Option<&ContainerFormat>
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) -> Option<&DiskImageFormat>
pub fn disk_image_format(&self) -> Option<&DiskImageFormat>
The format for the exported image.
sourcepub fn s3_bucket(&self) -> Option<&str>
pub fn s3_bucket(&self) -> Option<&str>
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.
source§impl ExportToS3Task
impl ExportToS3Task
sourcepub fn builder() -> ExportToS3TaskBuilder
pub fn builder() -> ExportToS3TaskBuilder
Creates a new builder-style object to manufacture ExportToS3Task
.
Trait Implementations§
source§impl Clone for ExportToS3Task
impl Clone for ExportToS3Task
source§fn clone(&self) -> ExportToS3Task
fn clone(&self) -> ExportToS3Task
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportToS3Task
impl Debug for ExportToS3Task
source§impl PartialEq for ExportToS3Task
impl PartialEq for ExportToS3Task
source§fn eq(&self, other: &ExportToS3Task) -> bool
fn eq(&self, other: &ExportToS3Task) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportToS3Task
Auto Trait Implementations§
impl Freeze for ExportToS3Task
impl RefUnwindSafe for ExportToS3Task
impl Send for ExportToS3Task
impl Sync for ExportToS3Task
impl Unpin for ExportToS3Task
impl UnwindSafe for ExportToS3Task
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more