Struct aws_sdk_ec2::types::builders::ConnectionLogOptionsBuilder
source · #[non_exhaustive]pub struct ConnectionLogOptionsBuilder { /* private fields */ }
Expand description
A builder for ConnectionLogOptions
.
Implementations§
source§impl ConnectionLogOptionsBuilder
impl ConnectionLogOptionsBuilder
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Indicates whether connection logging is enabled.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Indicates whether connection logging is enabled.
sourcepub fn cloudwatch_log_group(self, input: impl Into<String>) -> Self
pub fn cloudwatch_log_group(self, input: impl Into<String>) -> Self
The name of the CloudWatch Logs log group. Required if connection logging is enabled.
sourcepub fn set_cloudwatch_log_group(self, input: Option<String>) -> Self
pub fn set_cloudwatch_log_group(self, input: Option<String>) -> Self
The name of the CloudWatch Logs log group. Required if connection logging is enabled.
sourcepub fn get_cloudwatch_log_group(&self) -> &Option<String>
pub fn get_cloudwatch_log_group(&self) -> &Option<String>
The name of the CloudWatch Logs log group. Required if connection logging is enabled.
sourcepub fn cloudwatch_log_stream(self, input: impl Into<String>) -> Self
pub fn cloudwatch_log_stream(self, input: impl Into<String>) -> Self
The name of the CloudWatch Logs log stream to which the connection data is published.
sourcepub fn set_cloudwatch_log_stream(self, input: Option<String>) -> Self
pub fn set_cloudwatch_log_stream(self, input: Option<String>) -> Self
The name of the CloudWatch Logs log stream to which the connection data is published.
sourcepub fn get_cloudwatch_log_stream(&self) -> &Option<String>
pub fn get_cloudwatch_log_stream(&self) -> &Option<String>
The name of the CloudWatch Logs log stream to which the connection data is published.
sourcepub fn build(self) -> ConnectionLogOptions
pub fn build(self) -> ConnectionLogOptions
Consumes the builder and constructs a ConnectionLogOptions
.
Trait Implementations§
source§impl Clone for ConnectionLogOptionsBuilder
impl Clone for ConnectionLogOptionsBuilder
source§fn clone(&self) -> ConnectionLogOptionsBuilder
fn clone(&self) -> ConnectionLogOptionsBuilder
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 ConnectionLogOptionsBuilder
impl Debug for ConnectionLogOptionsBuilder
source§impl Default for ConnectionLogOptionsBuilder
impl Default for ConnectionLogOptionsBuilder
source§fn default() -> ConnectionLogOptionsBuilder
fn default() -> ConnectionLogOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConnectionLogOptionsBuilder
impl PartialEq for ConnectionLogOptionsBuilder
source§fn eq(&self, other: &ConnectionLogOptionsBuilder) -> bool
fn eq(&self, other: &ConnectionLogOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionLogOptionsBuilder
Auto Trait Implementations§
impl Freeze for ConnectionLogOptionsBuilder
impl RefUnwindSafe for ConnectionLogOptionsBuilder
impl Send for ConnectionLogOptionsBuilder
impl Sync for ConnectionLogOptionsBuilder
impl Unpin for ConnectionLogOptionsBuilder
impl UnwindSafe for ConnectionLogOptionsBuilder
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.