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<ConnectionLogOptionsBuilder> for ConnectionLogOptionsBuilder
impl PartialEq<ConnectionLogOptionsBuilder> 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 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