Struct aws_sdk_ec2::types::ExportToS3TaskSpecification
source · #[non_exhaustive]pub struct ExportToS3TaskSpecification {
pub container_format: Option<ContainerFormat>,
pub disk_image_format: Option<DiskImageFormat>,
pub s3_bucket: Option<String>,
pub s3_prefix: Option<String>,
}
Expand description
Describes an export instance 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_prefix: Option<String>
The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.
Implementations§
source§impl ExportToS3TaskSpecification
impl ExportToS3TaskSpecification
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 ExportToS3TaskSpecification
impl ExportToS3TaskSpecification
sourcepub fn builder() -> ExportToS3TaskSpecificationBuilder
pub fn builder() -> ExportToS3TaskSpecificationBuilder
Creates a new builder-style object to manufacture ExportToS3TaskSpecification
.
Trait Implementations§
source§impl Clone for ExportToS3TaskSpecification
impl Clone for ExportToS3TaskSpecification
source§fn clone(&self) -> ExportToS3TaskSpecification
fn clone(&self) -> ExportToS3TaskSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportToS3TaskSpecification
impl Debug for ExportToS3TaskSpecification
source§impl PartialEq for ExportToS3TaskSpecification
impl PartialEq for ExportToS3TaskSpecification
source§fn eq(&self, other: &ExportToS3TaskSpecification) -> bool
fn eq(&self, other: &ExportToS3TaskSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportToS3TaskSpecification
Auto Trait Implementations§
impl Freeze for ExportToS3TaskSpecification
impl RefUnwindSafe for ExportToS3TaskSpecification
impl Send for ExportToS3TaskSpecification
impl Sync for ExportToS3TaskSpecification
impl Unpin for ExportToS3TaskSpecification
impl UnwindSafe for ExportToS3TaskSpecification
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