#[non_exhaustive]pub struct CloudWatchLogGroupLogDestinationBuilder { /* private fields */ }Expand description
A builder for CloudWatchLogGroupLogDestination.
Implementations§
source§impl CloudWatchLogGroupLogDestinationBuilder
impl CloudWatchLogGroupLogDestinationBuilder
sourcepub fn cloud_watch_log_group_arn(self, input: impl Into<String>) -> Self
pub fn cloud_watch_log_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.
sourcepub fn set_cloud_watch_log_group_arn(self, input: Option<String>) -> Self
pub fn set_cloud_watch_log_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.
sourcepub fn log_prefix(self, input: impl Into<String>) -> Self
pub fn log_prefix(self, input: impl Into<String>) -> Self
The prefix of the log stream name within the log group that you specified
sourcepub fn set_log_prefix(self, input: Option<String>) -> Self
pub fn set_log_prefix(self, input: Option<String>) -> Self
The prefix of the log stream name within the log group that you specified
sourcepub fn build(self) -> CloudWatchLogGroupLogDestination
pub fn build(self) -> CloudWatchLogGroupLogDestination
Consumes the builder and constructs a CloudWatchLogGroupLogDestination.
Trait Implementations§
source§impl Clone for CloudWatchLogGroupLogDestinationBuilder
impl Clone for CloudWatchLogGroupLogDestinationBuilder
source§fn clone(&self) -> CloudWatchLogGroupLogDestinationBuilder
fn clone(&self) -> CloudWatchLogGroupLogDestinationBuilder
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 CloudWatchLogGroupLogDestinationBuilder
impl Default for CloudWatchLogGroupLogDestinationBuilder
source§fn default() -> CloudWatchLogGroupLogDestinationBuilder
fn default() -> CloudWatchLogGroupLogDestinationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CloudWatchLogGroupLogDestinationBuilder> for CloudWatchLogGroupLogDestinationBuilder
impl PartialEq<CloudWatchLogGroupLogDestinationBuilder> for CloudWatchLogGroupLogDestinationBuilder
source§fn eq(&self, other: &CloudWatchLogGroupLogDestinationBuilder) -> bool
fn eq(&self, other: &CloudWatchLogGroupLogDestinationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.