Struct aws_sdk_ec2::types::builders::VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
source · #[non_exhaustive]pub struct VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder { /* private fields */ }
Expand description
A builder for VerifiedAccessLogCloudWatchLogsDestinationOptions
.
Implementations§
source§impl VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
impl VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Indicates whether logging is enabled.
This field is required.sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Indicates whether logging is enabled.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Indicates whether logging is enabled.
sourcepub fn log_group(self, input: impl Into<String>) -> Self
pub fn log_group(self, input: impl Into<String>) -> Self
The ID of the CloudWatch Logs log group.
sourcepub fn set_log_group(self, input: Option<String>) -> Self
pub fn set_log_group(self, input: Option<String>) -> Self
The ID of the CloudWatch Logs log group.
sourcepub fn get_log_group(&self) -> &Option<String>
pub fn get_log_group(&self) -> &Option<String>
The ID of the CloudWatch Logs log group.
sourcepub fn build(self) -> VerifiedAccessLogCloudWatchLogsDestinationOptions
pub fn build(self) -> VerifiedAccessLogCloudWatchLogsDestinationOptions
Consumes the builder and constructs a VerifiedAccessLogCloudWatchLogsDestinationOptions
.
Trait Implementations§
source§impl Clone for VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
impl Clone for VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
source§fn clone(&self) -> VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
fn clone(&self) -> VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
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 VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
impl Default for VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
source§fn default() -> VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
fn default() -> VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
impl PartialEq for VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
source§fn eq(
&self,
other: &VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
) -> bool
fn eq( &self, other: &VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
impl Send for VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
impl Sync for VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
impl Unpin for VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
impl UnwindSafe for VerifiedAccessLogCloudWatchLogsDestinationOptionsBuilder
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
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>
Creates a shared type from an unshared type.