#[non_exhaustive]pub struct DataCaptureConfigSummaryBuilder { /* private fields */ }
Expand description
A builder for DataCaptureConfigSummary
.
Implementations§
source§impl DataCaptureConfigSummaryBuilder
impl DataCaptureConfigSummaryBuilder
sourcepub fn enable_capture(self, input: bool) -> Self
pub fn enable_capture(self, input: bool) -> Self
Whether data capture is enabled or disabled.
sourcepub fn set_enable_capture(self, input: Option<bool>) -> Self
pub fn set_enable_capture(self, input: Option<bool>) -> Self
Whether data capture is enabled or disabled.
sourcepub fn capture_status(self, input: CaptureStatus) -> Self
pub fn capture_status(self, input: CaptureStatus) -> Self
Whether data capture is currently functional.
sourcepub fn set_capture_status(self, input: Option<CaptureStatus>) -> Self
pub fn set_capture_status(self, input: Option<CaptureStatus>) -> Self
Whether data capture is currently functional.
sourcepub fn current_sampling_percentage(self, input: i32) -> Self
pub fn current_sampling_percentage(self, input: i32) -> Self
The percentage of requests being captured by your Endpoint.
sourcepub fn set_current_sampling_percentage(self, input: Option<i32>) -> Self
pub fn set_current_sampling_percentage(self, input: Option<i32>) -> Self
The percentage of requests being captured by your Endpoint.
sourcepub fn destination_s3_uri(self, input: impl Into<String>) -> Self
pub fn destination_s3_uri(self, input: impl Into<String>) -> Self
The Amazon S3 location being used to capture the data.
sourcepub fn set_destination_s3_uri(self, input: Option<String>) -> Self
pub fn set_destination_s3_uri(self, input: Option<String>) -> Self
The Amazon S3 location being used to capture the data.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The KMS key being used to encrypt the data in Amazon S3.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The KMS key being used to encrypt the data in Amazon S3.
sourcepub fn build(self) -> DataCaptureConfigSummary
pub fn build(self) -> DataCaptureConfigSummary
Consumes the builder and constructs a DataCaptureConfigSummary
.
Trait Implementations§
source§impl Clone for DataCaptureConfigSummaryBuilder
impl Clone for DataCaptureConfigSummaryBuilder
source§fn clone(&self) -> DataCaptureConfigSummaryBuilder
fn clone(&self) -> DataCaptureConfigSummaryBuilder
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 Default for DataCaptureConfigSummaryBuilder
impl Default for DataCaptureConfigSummaryBuilder
source§fn default() -> DataCaptureConfigSummaryBuilder
fn default() -> DataCaptureConfigSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DataCaptureConfigSummaryBuilder> for DataCaptureConfigSummaryBuilder
impl PartialEq<DataCaptureConfigSummaryBuilder> for DataCaptureConfigSummaryBuilder
source§fn eq(&self, other: &DataCaptureConfigSummaryBuilder) -> bool
fn eq(&self, other: &DataCaptureConfigSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.