#[non_exhaustive]pub struct VerifiedAccessLogCloudWatchLogsDestinationBuilder { /* private fields */ }
Expand description
A builder for VerifiedAccessLogCloudWatchLogsDestination
.
Implementations§
source§impl VerifiedAccessLogCloudWatchLogsDestinationBuilder
impl VerifiedAccessLogCloudWatchLogsDestinationBuilder
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 delivery_status(self, input: VerifiedAccessLogDeliveryStatus) -> Self
pub fn delivery_status(self, input: VerifiedAccessLogDeliveryStatus) -> Self
The delivery status for access logs.
sourcepub fn set_delivery_status(
self,
input: Option<VerifiedAccessLogDeliveryStatus>
) -> Self
pub fn set_delivery_status( self, input: Option<VerifiedAccessLogDeliveryStatus> ) -> Self
The delivery status for access logs.
sourcepub fn get_delivery_status(&self) -> &Option<VerifiedAccessLogDeliveryStatus>
pub fn get_delivery_status(&self) -> &Option<VerifiedAccessLogDeliveryStatus>
The delivery status for access logs.
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) -> VerifiedAccessLogCloudWatchLogsDestination
pub fn build(self) -> VerifiedAccessLogCloudWatchLogsDestination
Consumes the builder and constructs a VerifiedAccessLogCloudWatchLogsDestination
.
Trait Implementations§
source§impl Clone for VerifiedAccessLogCloudWatchLogsDestinationBuilder
impl Clone for VerifiedAccessLogCloudWatchLogsDestinationBuilder
source§fn clone(&self) -> VerifiedAccessLogCloudWatchLogsDestinationBuilder
fn clone(&self) -> VerifiedAccessLogCloudWatchLogsDestinationBuilder
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 VerifiedAccessLogCloudWatchLogsDestinationBuilder
impl Default for VerifiedAccessLogCloudWatchLogsDestinationBuilder
source§fn default() -> VerifiedAccessLogCloudWatchLogsDestinationBuilder
fn default() -> VerifiedAccessLogCloudWatchLogsDestinationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VerifiedAccessLogCloudWatchLogsDestinationBuilder
impl PartialEq for VerifiedAccessLogCloudWatchLogsDestinationBuilder
source§fn eq(&self, other: &VerifiedAccessLogCloudWatchLogsDestinationBuilder) -> bool
fn eq(&self, other: &VerifiedAccessLogCloudWatchLogsDestinationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VerifiedAccessLogCloudWatchLogsDestinationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for VerifiedAccessLogCloudWatchLogsDestinationBuilder
impl Send for VerifiedAccessLogCloudWatchLogsDestinationBuilder
impl Sync for VerifiedAccessLogCloudWatchLogsDestinationBuilder
impl Unpin for VerifiedAccessLogCloudWatchLogsDestinationBuilder
impl UnwindSafe for VerifiedAccessLogCloudWatchLogsDestinationBuilder
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.