#[non_exhaustive]pub struct AnalyticsS3BucketDestinationBuilder { /* private fields */ }
Expand description
A builder for AnalyticsS3BucketDestination
.
Implementations§
source§impl AnalyticsS3BucketDestinationBuilder
impl AnalyticsS3BucketDestinationBuilder
sourcepub fn format(self, input: AnalyticsS3ExportFileFormat) -> Self
pub fn format(self, input: AnalyticsS3ExportFileFormat) -> Self
Specifies the file format used when exporting data to Amazon S3.
This field is required.sourcepub fn set_format(self, input: Option<AnalyticsS3ExportFileFormat>) -> Self
pub fn set_format(self, input: Option<AnalyticsS3ExportFileFormat>) -> Self
Specifies the file format used when exporting data to Amazon S3.
sourcepub fn get_format(&self) -> &Option<AnalyticsS3ExportFileFormat>
pub fn get_format(&self) -> &Option<AnalyticsS3ExportFileFormat>
Specifies the file format used when exporting data to Amazon S3.
sourcepub fn bucket_account_id(self, input: impl Into<String>) -> Self
pub fn bucket_account_id(self, input: impl Into<String>) -> Self
The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
sourcepub fn set_bucket_account_id(self, input: Option<String>) -> Self
pub fn set_bucket_account_id(self, input: Option<String>) -> Self
The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
sourcepub fn get_bucket_account_id(&self) -> &Option<String>
pub fn get_bucket_account_id(&self) -> &Option<String>
The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the bucket to which data is exported.
This field is required.sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the bucket to which data is exported.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the bucket to which data is exported.
sourcepub fn prefix(self, input: impl Into<String>) -> Self
pub fn prefix(self, input: impl Into<String>) -> Self
The prefix to use when exporting data. The prefix is prepended to all results.
sourcepub fn set_prefix(self, input: Option<String>) -> Self
pub fn set_prefix(self, input: Option<String>) -> Self
The prefix to use when exporting data. The prefix is prepended to all results.
sourcepub fn get_prefix(&self) -> &Option<String>
pub fn get_prefix(&self) -> &Option<String>
The prefix to use when exporting data. The prefix is prepended to all results.
sourcepub fn build(self) -> Result<AnalyticsS3BucketDestination, BuildError>
pub fn build(self) -> Result<AnalyticsS3BucketDestination, BuildError>
Consumes the builder and constructs a AnalyticsS3BucketDestination
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AnalyticsS3BucketDestinationBuilder
impl Clone for AnalyticsS3BucketDestinationBuilder
source§fn clone(&self) -> AnalyticsS3BucketDestinationBuilder
fn clone(&self) -> AnalyticsS3BucketDestinationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AnalyticsS3BucketDestinationBuilder
impl Default for AnalyticsS3BucketDestinationBuilder
source§fn default() -> AnalyticsS3BucketDestinationBuilder
fn default() -> AnalyticsS3BucketDestinationBuilder
source§impl PartialEq for AnalyticsS3BucketDestinationBuilder
impl PartialEq for AnalyticsS3BucketDestinationBuilder
source§fn eq(&self, other: &AnalyticsS3BucketDestinationBuilder) -> bool
fn eq(&self, other: &AnalyticsS3BucketDestinationBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AnalyticsS3BucketDestinationBuilder
Auto Trait Implementations§
impl Freeze for AnalyticsS3BucketDestinationBuilder
impl RefUnwindSafe for AnalyticsS3BucketDestinationBuilder
impl Send for AnalyticsS3BucketDestinationBuilder
impl Sync for AnalyticsS3BucketDestinationBuilder
impl Unpin for AnalyticsS3BucketDestinationBuilder
impl UnwindSafe for AnalyticsS3BucketDestinationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)