Struct aws_sdk_ec2::model::connection_log_options::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ConnectionLogOptions
.
Implementations§
source§impl Builder
impl Builder
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
.