pub struct Builder { /* private fields */ }
Expand description
A builder for DataCaptureConfigSummary
.
Implementations§
source§impl Builder
impl Builder
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
.