Struct aws_sdk_backup::types::ReportDeliveryChannel
source · #[non_exhaustive]pub struct ReportDeliveryChannel {
pub s3_bucket_name: String,
pub s3_key_prefix: Option<String>,
pub formats: Option<Vec<String>>,
}
Expand description
Contains information from your report plan about where to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
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.s3_bucket_name: String
The unique name of the S3 bucket that receives your reports.
s3_key_prefix: Option<String>
The prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix
/Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.
formats: Option<Vec<String>>
A list of the format of your reports: CSV
, JSON
, or both. If not specified, the default format is CSV
.
Implementations§
source§impl ReportDeliveryChannel
impl ReportDeliveryChannel
sourcepub fn s3_bucket_name(&self) -> &str
pub fn s3_bucket_name(&self) -> &str
The unique name of the S3 bucket that receives your reports.
sourcepub fn s3_key_prefix(&self) -> Option<&str>
pub fn s3_key_prefix(&self) -> Option<&str>
The prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix
/Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.
source§impl ReportDeliveryChannel
impl ReportDeliveryChannel
sourcepub fn builder() -> ReportDeliveryChannelBuilder
pub fn builder() -> ReportDeliveryChannelBuilder
Creates a new builder-style object to manufacture ReportDeliveryChannel
.
Trait Implementations§
source§impl Clone for ReportDeliveryChannel
impl Clone for ReportDeliveryChannel
source§fn clone(&self) -> ReportDeliveryChannel
fn clone(&self) -> ReportDeliveryChannel
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReportDeliveryChannel
impl Debug for ReportDeliveryChannel
source§impl PartialEq for ReportDeliveryChannel
impl PartialEq for ReportDeliveryChannel
source§fn eq(&self, other: &ReportDeliveryChannel) -> bool
fn eq(&self, other: &ReportDeliveryChannel) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReportDeliveryChannel
Auto Trait Implementations§
impl Freeze for ReportDeliveryChannel
impl RefUnwindSafe for ReportDeliveryChannel
impl Send for ReportDeliveryChannel
impl Sync for ReportDeliveryChannel
impl Unpin for ReportDeliveryChannel
impl UnwindSafe for ReportDeliveryChannel
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