Struct aws_sdk_sfn::types::builders::LogDestinationBuilder
source · #[non_exhaustive]pub struct LogDestinationBuilder { /* private fields */ }Expand description
A builder for LogDestination.
Implementations§
source§impl LogDestinationBuilder
impl LogDestinationBuilder
sourcepub fn cloud_watch_logs_log_group(self, input: CloudWatchLogsLogGroup) -> Self
pub fn cloud_watch_logs_log_group(self, input: CloudWatchLogsLogGroup) -> Self
An object describing a CloudWatch log group. For more information, see AWS::Logs::LogGroup in the CloudFormation User Guide.
sourcepub fn set_cloud_watch_logs_log_group(
self,
input: Option<CloudWatchLogsLogGroup>
) -> Self
pub fn set_cloud_watch_logs_log_group( self, input: Option<CloudWatchLogsLogGroup> ) -> Self
An object describing a CloudWatch log group. For more information, see AWS::Logs::LogGroup in the CloudFormation User Guide.
sourcepub fn get_cloud_watch_logs_log_group(&self) -> &Option<CloudWatchLogsLogGroup>
pub fn get_cloud_watch_logs_log_group(&self) -> &Option<CloudWatchLogsLogGroup>
An object describing a CloudWatch log group. For more information, see AWS::Logs::LogGroup in the CloudFormation User Guide.
sourcepub fn build(self) -> LogDestination
pub fn build(self) -> LogDestination
Consumes the builder and constructs a LogDestination.
Trait Implementations§
source§impl Clone for LogDestinationBuilder
impl Clone for LogDestinationBuilder
source§fn clone(&self) -> LogDestinationBuilder
fn clone(&self) -> LogDestinationBuilder
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 Debug for LogDestinationBuilder
impl Debug for LogDestinationBuilder
source§impl Default for LogDestinationBuilder
impl Default for LogDestinationBuilder
source§fn default() -> LogDestinationBuilder
fn default() -> LogDestinationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LogDestinationBuilder
impl PartialEq for LogDestinationBuilder
source§fn eq(&self, other: &LogDestinationBuilder) -> bool
fn eq(&self, other: &LogDestinationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LogDestinationBuilder
Auto Trait Implementations§
impl Freeze for LogDestinationBuilder
impl RefUnwindSafe for LogDestinationBuilder
impl Send for LogDestinationBuilder
impl Sync for LogDestinationBuilder
impl Unpin for LogDestinationBuilder
impl UnwindSafe for LogDestinationBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.