Struct aws_sdk_securityhub::types::builders::AwsOpenSearchServiceDomainLogPublishingOptionBuilder
source · #[non_exhaustive]pub struct AwsOpenSearchServiceDomainLogPublishingOptionBuilder { /* private fields */ }
Expand description
A builder for AwsOpenSearchServiceDomainLogPublishingOption
.
Implementations§
source§impl AwsOpenSearchServiceDomainLogPublishingOptionBuilder
impl AwsOpenSearchServiceDomainLogPublishingOptionBuilder
sourcepub fn cloud_watch_logs_log_group_arn(self, input: impl Into<String>) -> Self
pub fn cloud_watch_logs_log_group_arn(self, input: impl Into<String>) -> Self
The ARN of the CloudWatch Logs group to publish the logs to.
sourcepub fn set_cloud_watch_logs_log_group_arn(self, input: Option<String>) -> Self
pub fn set_cloud_watch_logs_log_group_arn(self, input: Option<String>) -> Self
The ARN of the CloudWatch Logs group to publish the logs to.
sourcepub fn get_cloud_watch_logs_log_group_arn(&self) -> &Option<String>
pub fn get_cloud_watch_logs_log_group_arn(&self) -> &Option<String>
The ARN of the CloudWatch Logs group to publish the logs to.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Whether the log publishing is enabled.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Whether the log publishing is enabled.
sourcepub fn build(self) -> AwsOpenSearchServiceDomainLogPublishingOption
pub fn build(self) -> AwsOpenSearchServiceDomainLogPublishingOption
Consumes the builder and constructs a AwsOpenSearchServiceDomainLogPublishingOption
.
Trait Implementations§
source§impl Clone for AwsOpenSearchServiceDomainLogPublishingOptionBuilder
impl Clone for AwsOpenSearchServiceDomainLogPublishingOptionBuilder
source§fn clone(&self) -> AwsOpenSearchServiceDomainLogPublishingOptionBuilder
fn clone(&self) -> AwsOpenSearchServiceDomainLogPublishingOptionBuilder
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 AwsOpenSearchServiceDomainLogPublishingOptionBuilder
impl Default for AwsOpenSearchServiceDomainLogPublishingOptionBuilder
source§fn default() -> AwsOpenSearchServiceDomainLogPublishingOptionBuilder
fn default() -> AwsOpenSearchServiceDomainLogPublishingOptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsOpenSearchServiceDomainLogPublishingOptionBuilder
impl PartialEq for AwsOpenSearchServiceDomainLogPublishingOptionBuilder
source§fn eq(
&self,
other: &AwsOpenSearchServiceDomainLogPublishingOptionBuilder
) -> bool
fn eq( &self, other: &AwsOpenSearchServiceDomainLogPublishingOptionBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsOpenSearchServiceDomainLogPublishingOptionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsOpenSearchServiceDomainLogPublishingOptionBuilder
impl Send for AwsOpenSearchServiceDomainLogPublishingOptionBuilder
impl Sync for AwsOpenSearchServiceDomainLogPublishingOptionBuilder
impl Unpin for AwsOpenSearchServiceDomainLogPublishingOptionBuilder
impl UnwindSafe for AwsOpenSearchServiceDomainLogPublishingOptionBuilder
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.