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 set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
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<AwsOpenSearchServiceDomainLogPublishingOptionBuilder> for AwsOpenSearchServiceDomainLogPublishingOptionBuilder
impl PartialEq<AwsOpenSearchServiceDomainLogPublishingOptionBuilder> 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 ==.