Struct aws_sdk_pipes::types::builders::S3LogDestinationBuilder
source · #[non_exhaustive]pub struct S3LogDestinationBuilder { /* private fields */ }
Expand description
A builder for S3LogDestination
.
Implementations§
source§impl S3LogDestinationBuilder
impl S3LogDestinationBuilder
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
sourcepub fn get_bucket_name(&self) -> &Option<String>
pub fn get_bucket_name(&self) -> &Option<String>
The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
sourcepub fn prefix(self, input: impl Into<String>) -> Self
pub fn prefix(self, input: impl Into<String>) -> Self
The prefix text with which to begin Amazon S3 log object names.
For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
sourcepub fn set_prefix(self, input: Option<String>) -> Self
pub fn set_prefix(self, input: Option<String>) -> Self
The prefix text with which to begin Amazon S3 log object names.
For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
sourcepub fn get_prefix(&self) -> &Option<String>
pub fn get_prefix(&self) -> &Option<String>
The prefix text with which to begin Amazon S3 log object names.
For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
sourcepub fn bucket_owner(self, input: impl Into<String>) -> Self
pub fn bucket_owner(self, input: impl Into<String>) -> Self
The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
sourcepub fn set_bucket_owner(self, input: Option<String>) -> Self
pub fn set_bucket_owner(self, input: Option<String>) -> Self
The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
sourcepub fn get_bucket_owner(&self) -> &Option<String>
pub fn get_bucket_owner(&self) -> &Option<String>
The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
sourcepub fn output_format(self, input: S3OutputFormat) -> Self
pub fn output_format(self, input: S3OutputFormat) -> Self
The format EventBridge uses for the log records.
-
json
: JSON -
plain
: Plain text
sourcepub fn set_output_format(self, input: Option<S3OutputFormat>) -> Self
pub fn set_output_format(self, input: Option<S3OutputFormat>) -> Self
The format EventBridge uses for the log records.
-
json
: JSON -
plain
: Plain text
sourcepub fn get_output_format(&self) -> &Option<S3OutputFormat>
pub fn get_output_format(&self) -> &Option<S3OutputFormat>
The format EventBridge uses for the log records.
-
json
: JSON -
plain
: Plain text
sourcepub fn build(self) -> S3LogDestination
pub fn build(self) -> S3LogDestination
Consumes the builder and constructs a S3LogDestination
.
Trait Implementations§
source§impl Clone for S3LogDestinationBuilder
impl Clone for S3LogDestinationBuilder
source§fn clone(&self) -> S3LogDestinationBuilder
fn clone(&self) -> S3LogDestinationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3LogDestinationBuilder
impl Debug for S3LogDestinationBuilder
source§impl Default for S3LogDestinationBuilder
impl Default for S3LogDestinationBuilder
source§fn default() -> S3LogDestinationBuilder
fn default() -> S3LogDestinationBuilder
source§impl PartialEq for S3LogDestinationBuilder
impl PartialEq for S3LogDestinationBuilder
source§fn eq(&self, other: &S3LogDestinationBuilder) -> bool
fn eq(&self, other: &S3LogDestinationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.