Struct aws_sdk_ec2::types::VerifiedAccessLogS3Destination
source · #[non_exhaustive]pub struct VerifiedAccessLogS3Destination {
pub enabled: Option<bool>,
pub delivery_status: Option<VerifiedAccessLogDeliveryStatus>,
pub bucket_name: Option<String>,
pub prefix: Option<String>,
pub bucket_owner: Option<String>,
}
Expand description
Options for Amazon S3 as a logging destination.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enabled: Option<bool>
Indicates whether logging is enabled.
delivery_status: Option<VerifiedAccessLogDeliveryStatus>
The delivery status.
bucket_name: Option<String>
The bucket name.
prefix: Option<String>
The bucket prefix.
bucket_owner: Option<String>
The Amazon Web Services account number that owns the bucket.
Implementations§
source§impl VerifiedAccessLogS3Destination
impl VerifiedAccessLogS3Destination
sourcepub fn delivery_status(&self) -> Option<&VerifiedAccessLogDeliveryStatus>
pub fn delivery_status(&self) -> Option<&VerifiedAccessLogDeliveryStatus>
The delivery status.
sourcepub fn bucket_name(&self) -> Option<&str>
pub fn bucket_name(&self) -> Option<&str>
The bucket name.
sourcepub fn bucket_owner(&self) -> Option<&str>
pub fn bucket_owner(&self) -> Option<&str>
The Amazon Web Services account number that owns the bucket.
source§impl VerifiedAccessLogS3Destination
impl VerifiedAccessLogS3Destination
sourcepub fn builder() -> VerifiedAccessLogS3DestinationBuilder
pub fn builder() -> VerifiedAccessLogS3DestinationBuilder
Creates a new builder-style object to manufacture VerifiedAccessLogS3Destination
.
Trait Implementations§
source§impl Clone for VerifiedAccessLogS3Destination
impl Clone for VerifiedAccessLogS3Destination
source§fn clone(&self) -> VerifiedAccessLogS3Destination
fn clone(&self) -> VerifiedAccessLogS3Destination
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<VerifiedAccessLogS3Destination> for VerifiedAccessLogS3Destination
impl PartialEq<VerifiedAccessLogS3Destination> for VerifiedAccessLogS3Destination
source§fn eq(&self, other: &VerifiedAccessLogS3Destination) -> bool
fn eq(&self, other: &VerifiedAccessLogS3Destination) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VerifiedAccessLogS3Destination
Auto Trait Implementations§
impl RefUnwindSafe for VerifiedAccessLogS3Destination
impl Send for VerifiedAccessLogS3Destination
impl Sync for VerifiedAccessLogS3Destination
impl Unpin for VerifiedAccessLogS3Destination
impl UnwindSafe for VerifiedAccessLogS3Destination
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
Mutably borrows from an owned value. Read more