#[non_exhaustive]pub struct S3LogDestinationParametersBuilder { /* private fields */ }
Expand description
A builder for S3LogDestinationParameters
.
Implementations§
source§impl S3LogDestinationParametersBuilder
impl S3LogDestinationParametersBuilder
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
Specifies the name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
This field is required.sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
Specifies 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>
Specifies the name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
sourcepub fn bucket_owner(self, input: impl Into<String>) -> Self
pub fn bucket_owner(self, input: impl Into<String>) -> Self
Specifies the Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
This field is required.sourcepub fn set_bucket_owner(self, input: Option<String>) -> Self
pub fn set_bucket_owner(self, input: Option<String>) -> Self
Specifies 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>
Specifies 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
How EventBridge should format 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
How EventBridge should format the log records.
-
json
: JSON -
plain
: Plain text
sourcepub fn get_output_format(&self) -> &Option<S3OutputFormat>
pub fn get_output_format(&self) -> &Option<S3OutputFormat>
How EventBridge should format the log records.
-
json
: JSON -
plain
: Plain text
sourcepub fn prefix(self, input: impl Into<String>) -> Self
pub fn prefix(self, input: impl Into<String>) -> Self
Specifies any prefix text with which to begin Amazon S3 log object names.
You can use prefixes to organize the data that you store in Amazon S3 buckets. A prefix is a string of characters at the beginning of the object key name. A prefix can be any length, subject to the maximum length of the object key name (1,024 bytes). 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
Specifies any prefix text with which to begin Amazon S3 log object names.
You can use prefixes to organize the data that you store in Amazon S3 buckets. A prefix is a string of characters at the beginning of the object key name. A prefix can be any length, subject to the maximum length of the object key name (1,024 bytes). 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>
Specifies any prefix text with which to begin Amazon S3 log object names.
You can use prefixes to organize the data that you store in Amazon S3 buckets. A prefix is a string of characters at the beginning of the object key name. A prefix can be any length, subject to the maximum length of the object key name (1,024 bytes). For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
sourcepub fn build(self) -> Result<S3LogDestinationParameters, BuildError>
pub fn build(self) -> Result<S3LogDestinationParameters, BuildError>
Consumes the builder and constructs a S3LogDestinationParameters
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for S3LogDestinationParametersBuilder
impl Clone for S3LogDestinationParametersBuilder
source§fn clone(&self) -> S3LogDestinationParametersBuilder
fn clone(&self) -> S3LogDestinationParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for S3LogDestinationParametersBuilder
impl Default for S3LogDestinationParametersBuilder
source§fn default() -> S3LogDestinationParametersBuilder
fn default() -> S3LogDestinationParametersBuilder
source§impl PartialEq for S3LogDestinationParametersBuilder
impl PartialEq for S3LogDestinationParametersBuilder
source§fn eq(&self, other: &S3LogDestinationParametersBuilder) -> bool
fn eq(&self, other: &S3LogDestinationParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.