#[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 get_enable_capture(&self) -> &Option<bool>
pub fn get_enable_capture(&self) -> &Option<bool>
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 get_capture_status(&self) -> &Option<CaptureStatus>
pub fn get_capture_status(&self) -> &Option<CaptureStatus>
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 get_current_sampling_percentage(&self) -> &Option<i32>
pub fn get_current_sampling_percentage(&self) -> &Option<i32>
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 get_destination_s3_uri(&self) -> &Option<String>
pub fn get_destination_s3_uri(&self) -> &Option<String>
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 get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DataCaptureConfigSummaryBuilder
impl Default for DataCaptureConfigSummaryBuilder
source§fn default() -> DataCaptureConfigSummaryBuilder
fn default() -> DataCaptureConfigSummaryBuilder
source§impl PartialEq<DataCaptureConfigSummaryBuilder> for DataCaptureConfigSummaryBuilder
impl PartialEq<DataCaptureConfigSummaryBuilder> for DataCaptureConfigSummaryBuilder
source§fn eq(&self, other: &DataCaptureConfigSummaryBuilder) -> bool
fn eq(&self, other: &DataCaptureConfigSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.