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 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 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 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 ==.