#[non_exhaustive]pub struct SubscriptionFilterBuilder { /* private fields */ }
Expand description
A builder for SubscriptionFilter
.
Implementations§
source§impl SubscriptionFilterBuilder
impl SubscriptionFilterBuilder
sourcepub fn filter_name(self, input: impl Into<String>) -> Self
pub fn filter_name(self, input: impl Into<String>) -> Self
The name of the subscription filter.
sourcepub fn set_filter_name(self, input: Option<String>) -> Self
pub fn set_filter_name(self, input: Option<String>) -> Self
The name of the subscription filter.
sourcepub fn get_filter_name(&self) -> &Option<String>
pub fn get_filter_name(&self) -> &Option<String>
The name of the subscription filter.
sourcepub fn log_group_name(self, input: impl Into<String>) -> Self
pub fn log_group_name(self, input: impl Into<String>) -> Self
The name of the log group.
sourcepub fn set_log_group_name(self, input: Option<String>) -> Self
pub fn set_log_group_name(self, input: Option<String>) -> Self
The name of the log group.
sourcepub fn get_log_group_name(&self) -> &Option<String>
pub fn get_log_group_name(&self) -> &Option<String>
The name of the log group.
sourcepub fn filter_pattern(self, input: impl Into<String>) -> Self
pub fn filter_pattern(self, input: impl Into<String>) -> Self
A symbolic description of how CloudWatch Logs should interpret the data in each log event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You use the filter pattern to specify what to look for in the log event message.
sourcepub fn set_filter_pattern(self, input: Option<String>) -> Self
pub fn set_filter_pattern(self, input: Option<String>) -> Self
A symbolic description of how CloudWatch Logs should interpret the data in each log event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You use the filter pattern to specify what to look for in the log event message.
sourcepub fn get_filter_pattern(&self) -> &Option<String>
pub fn get_filter_pattern(&self) -> &Option<String>
A symbolic description of how CloudWatch Logs should interpret the data in each log event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You use the filter pattern to specify what to look for in the log event message.
sourcepub fn destination_arn(self, input: impl Into<String>) -> Self
pub fn destination_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the destination.
sourcepub fn set_destination_arn(self, input: Option<String>) -> Self
pub fn set_destination_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the destination.
sourcepub fn get_destination_arn(&self) -> &Option<String>
pub fn get_destination_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the destination.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
sourcepub fn distribution(self, input: Distribution) -> Self
pub fn distribution(self, input: Distribution) -> Self
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
sourcepub fn set_distribution(self, input: Option<Distribution>) -> Self
pub fn set_distribution(self, input: Option<Distribution>) -> Self
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
sourcepub fn get_distribution(&self) -> &Option<Distribution>
pub fn get_distribution(&self) -> &Option<Distribution>
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
sourcepub fn creation_time(self, input: i64) -> Self
pub fn creation_time(self, input: i64) -> Self
The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC
.
sourcepub fn set_creation_time(self, input: Option<i64>) -> Self
pub fn set_creation_time(self, input: Option<i64>) -> Self
The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC
.
sourcepub fn get_creation_time(&self) -> &Option<i64>
pub fn get_creation_time(&self) -> &Option<i64>
The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC
.
sourcepub fn build(self) -> SubscriptionFilter
pub fn build(self) -> SubscriptionFilter
Consumes the builder and constructs a SubscriptionFilter
.
Trait Implementations§
source§impl Clone for SubscriptionFilterBuilder
impl Clone for SubscriptionFilterBuilder
source§fn clone(&self) -> SubscriptionFilterBuilder
fn clone(&self) -> SubscriptionFilterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SubscriptionFilterBuilder
impl Debug for SubscriptionFilterBuilder
source§impl Default for SubscriptionFilterBuilder
impl Default for SubscriptionFilterBuilder
source§fn default() -> SubscriptionFilterBuilder
fn default() -> SubscriptionFilterBuilder
source§impl PartialEq for SubscriptionFilterBuilder
impl PartialEq for SubscriptionFilterBuilder
source§fn eq(&self, other: &SubscriptionFilterBuilder) -> bool
fn eq(&self, other: &SubscriptionFilterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SubscriptionFilterBuilder
Auto Trait Implementations§
impl Freeze for SubscriptionFilterBuilder
impl RefUnwindSafe for SubscriptionFilterBuilder
impl Send for SubscriptionFilterBuilder
impl Sync for SubscriptionFilterBuilder
impl Unpin for SubscriptionFilterBuilder
impl UnwindSafe for SubscriptionFilterBuilder
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> 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