Struct aws_sdk_s3::types::TargetObjectKeyFormat
source · #[non_exhaustive]pub struct TargetObjectKeyFormat {
pub simple_prefix: Option<SimplePrefix>,
pub partitioned_prefix: Option<PartitionedPrefix>,
}
Expand description
Amazon S3 key format for log objects. Only one format, PartitionedPrefix or SimplePrefix, is allowed.
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.simple_prefix: Option<SimplePrefix>
To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set SimplePrefix to {}.
partitioned_prefix: Option<PartitionedPrefix>
Partitioned S3 key for log objects.
Implementations§
source§impl TargetObjectKeyFormat
impl TargetObjectKeyFormat
sourcepub fn simple_prefix(&self) -> Option<&SimplePrefix>
pub fn simple_prefix(&self) -> Option<&SimplePrefix>
To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set SimplePrefix to {}.
sourcepub fn partitioned_prefix(&self) -> Option<&PartitionedPrefix>
pub fn partitioned_prefix(&self) -> Option<&PartitionedPrefix>
Partitioned S3 key for log objects.
source§impl TargetObjectKeyFormat
impl TargetObjectKeyFormat
sourcepub fn builder() -> TargetObjectKeyFormatBuilder
pub fn builder() -> TargetObjectKeyFormatBuilder
Creates a new builder-style object to manufacture TargetObjectKeyFormat
.
Trait Implementations§
source§impl Clone for TargetObjectKeyFormat
impl Clone for TargetObjectKeyFormat
source§fn clone(&self) -> TargetObjectKeyFormat
fn clone(&self) -> TargetObjectKeyFormat
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 Debug for TargetObjectKeyFormat
impl Debug for TargetObjectKeyFormat
source§impl PartialEq for TargetObjectKeyFormat
impl PartialEq for TargetObjectKeyFormat
source§fn eq(&self, other: &TargetObjectKeyFormat) -> bool
fn eq(&self, other: &TargetObjectKeyFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TargetObjectKeyFormat
Auto Trait Implementations§
impl RefUnwindSafe for TargetObjectKeyFormat
impl Send for TargetObjectKeyFormat
impl Sync for TargetObjectKeyFormat
impl Unpin for TargetObjectKeyFormat
impl UnwindSafe for TargetObjectKeyFormat
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
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>
Creates a shared type from an unshared type.