#[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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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 for DataCaptureConfigSummaryBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for DataCaptureConfigSummaryBuilder
Auto Trait Implementations§
impl Freeze for DataCaptureConfigSummaryBuilder
impl RefUnwindSafe for DataCaptureConfigSummaryBuilder
impl Send for DataCaptureConfigSummaryBuilder
impl Sync for DataCaptureConfigSummaryBuilder
impl Unpin for DataCaptureConfigSummaryBuilder
impl UnwindSafe for DataCaptureConfigSummaryBuilder
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
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more