#[non_exhaustive]pub struct CloudWatchLogOptionsSpecificationBuilder { /* private fields */ }
Expand description
A builder for CloudWatchLogOptionsSpecification
.
Implementations§
source§impl CloudWatchLogOptionsSpecificationBuilder
impl CloudWatchLogOptionsSpecificationBuilder
sourcepub fn log_enabled(self, input: bool) -> Self
pub fn log_enabled(self, input: bool) -> Self
Enable or disable 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
Enable or disable 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
Set 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
Set log format. Default format is json
.
Valid values: json
| text
sourcepub fn build(self) -> CloudWatchLogOptionsSpecification
pub fn build(self) -> CloudWatchLogOptionsSpecification
Consumes the builder and constructs a CloudWatchLogOptionsSpecification
.
Trait Implementations§
source§impl Clone for CloudWatchLogOptionsSpecificationBuilder
impl Clone for CloudWatchLogOptionsSpecificationBuilder
source§fn clone(&self) -> CloudWatchLogOptionsSpecificationBuilder
fn clone(&self) -> CloudWatchLogOptionsSpecificationBuilder
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 Default for CloudWatchLogOptionsSpecificationBuilder
impl Default for CloudWatchLogOptionsSpecificationBuilder
source§fn default() -> CloudWatchLogOptionsSpecificationBuilder
fn default() -> CloudWatchLogOptionsSpecificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CloudWatchLogOptionsSpecificationBuilder> for CloudWatchLogOptionsSpecificationBuilder
impl PartialEq<CloudWatchLogOptionsSpecificationBuilder> for CloudWatchLogOptionsSpecificationBuilder
source§fn eq(&self, other: &CloudWatchLogOptionsSpecificationBuilder) -> bool
fn eq(&self, other: &CloudWatchLogOptionsSpecificationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CloudWatchLogOptionsSpecificationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CloudWatchLogOptionsSpecificationBuilder
impl Send for CloudWatchLogOptionsSpecificationBuilder
impl Sync for CloudWatchLogOptionsSpecificationBuilder
impl Unpin for CloudWatchLogOptionsSpecificationBuilder
impl UnwindSafe for CloudWatchLogOptionsSpecificationBuilder
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