Struct aws_sdk_ec2::types::builders::CloudWatchLogOptionsBuilder
source · #[non_exhaustive]pub struct CloudWatchLogOptionsBuilder { /* private fields */ }
Expand description
A builder for CloudWatchLogOptions
.
Implementations§
source§impl CloudWatchLogOptionsBuilder
impl CloudWatchLogOptionsBuilder
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 get_log_enabled(&self) -> &Option<bool>
pub fn get_log_enabled(&self) -> &Option<bool>
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 get_log_group_arn(&self) -> &Option<String>
pub fn get_log_group_arn(&self) -> &Option<String>
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 get_log_output_format(&self) -> &Option<String>
pub fn get_log_output_format(&self) -> &Option<String>
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
.
Trait Implementations§
source§impl Clone for CloudWatchLogOptionsBuilder
impl Clone for CloudWatchLogOptionsBuilder
source§fn clone(&self) -> CloudWatchLogOptionsBuilder
fn clone(&self) -> CloudWatchLogOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CloudWatchLogOptionsBuilder
impl Debug for CloudWatchLogOptionsBuilder
source§impl Default for CloudWatchLogOptionsBuilder
impl Default for CloudWatchLogOptionsBuilder
source§fn default() -> CloudWatchLogOptionsBuilder
fn default() -> CloudWatchLogOptionsBuilder
source§impl PartialEq for CloudWatchLogOptionsBuilder
impl PartialEq for CloudWatchLogOptionsBuilder
source§fn eq(&self, other: &CloudWatchLogOptionsBuilder) -> bool
fn eq(&self, other: &CloudWatchLogOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CloudWatchLogOptionsBuilder
Auto Trait Implementations§
impl Freeze for CloudWatchLogOptionsBuilder
impl RefUnwindSafe for CloudWatchLogOptionsBuilder
impl Send for CloudWatchLogOptionsBuilder
impl Sync for CloudWatchLogOptionsBuilder
impl Unpin for CloudWatchLogOptionsBuilder
impl UnwindSafe for CloudWatchLogOptionsBuilder
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
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>
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>
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 more