Struct aws_sdk_ec2::model::cloud_watch_log_options::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CloudWatchLogOptions
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn log_enabled(self, input: bool) -> Self
pub fn log_enabled(self, input: bool) -> Self
Status of VPN tunnel logging feature. Default value is False
.
Valid values: True
| False
sourcepub fn set_log_enabled(self, input: Option<bool>) -> Self
pub fn set_log_enabled(self, input: Option<bool>) -> Self
Status of VPN tunnel logging feature. Default value is False
.
Valid values: True
| False
sourcepub fn log_group_arn(self, input: impl Into<String>) -> Self
pub fn log_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
sourcepub fn set_log_group_arn(self, input: Option<String>) -> Self
pub fn set_log_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
sourcepub fn log_output_format(self, input: impl Into<String>) -> Self
pub fn log_output_format(self, input: impl Into<String>) -> Self
Configured log format. Default format is json
.
Valid values: json
| text
sourcepub fn set_log_output_format(self, input: Option<String>) -> Self
pub fn set_log_output_format(self, input: Option<String>) -> Self
Configured log format. Default format is json
.
Valid values: json
| text
sourcepub fn build(self) -> CloudWatchLogOptions
pub fn build(self) -> CloudWatchLogOptions
Consumes the builder and constructs a CloudWatchLogOptions
.