#[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.
This field is required.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 get_cloud_watch_log_group_arn(&self) -> &Option<String>
pub fn get_cloud_watch_log_group_arn(&self) -> &Option<String>
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
This field is required.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 get_log_prefix(&self) -> &Option<String>
pub fn get_log_prefix(&self) -> &Option<String>
The prefix of the log stream name within the log group that you specified
sourcepub fn build(self) -> Result<CloudWatchLogGroupLogDestination, BuildError>
pub fn build(self) -> Result<CloudWatchLogGroupLogDestination, BuildError>
Consumes the builder and constructs a CloudWatchLogGroupLogDestination.
This method will fail if any of the following fields are not set:
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 for CloudWatchLogGroupLogDestinationBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for CloudWatchLogGroupLogDestinationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CloudWatchLogGroupLogDestinationBuilder
impl Send for CloudWatchLogGroupLogDestinationBuilder
impl Sync for CloudWatchLogGroupLogDestinationBuilder
impl Unpin for CloudWatchLogGroupLogDestinationBuilder
impl UnwindSafe for CloudWatchLogGroupLogDestinationBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.