Struct aws_sdk_securityhub::types::builders::AwsElasticsearchDomainLogPublishingOptionsBuilder
source · #[non_exhaustive]pub struct AwsElasticsearchDomainLogPublishingOptionsBuilder { /* private fields */ }
Expand description
A builder for AwsElasticsearchDomainLogPublishingOptions
.
Implementations§
source§impl AwsElasticsearchDomainLogPublishingOptionsBuilder
impl AwsElasticsearchDomainLogPublishingOptionsBuilder
sourcepub fn index_slow_logs(
self,
input: AwsElasticsearchDomainLogPublishingOptionsLogConfig
) -> Self
pub fn index_slow_logs( self, input: AwsElasticsearchDomainLogPublishingOptionsLogConfig ) -> Self
Configures the OpenSearch index logs publishing.
sourcepub fn set_index_slow_logs(
self,
input: Option<AwsElasticsearchDomainLogPublishingOptionsLogConfig>
) -> Self
pub fn set_index_slow_logs( self, input: Option<AwsElasticsearchDomainLogPublishingOptionsLogConfig> ) -> Self
Configures the OpenSearch index logs publishing.
sourcepub fn get_index_slow_logs(
&self
) -> &Option<AwsElasticsearchDomainLogPublishingOptionsLogConfig>
pub fn get_index_slow_logs( &self ) -> &Option<AwsElasticsearchDomainLogPublishingOptionsLogConfig>
Configures the OpenSearch index logs publishing.
sourcepub fn search_slow_logs(
self,
input: AwsElasticsearchDomainLogPublishingOptionsLogConfig
) -> Self
pub fn search_slow_logs( self, input: AwsElasticsearchDomainLogPublishingOptionsLogConfig ) -> Self
Configures the OpenSearch search slow log publishing.
sourcepub fn set_search_slow_logs(
self,
input: Option<AwsElasticsearchDomainLogPublishingOptionsLogConfig>
) -> Self
pub fn set_search_slow_logs( self, input: Option<AwsElasticsearchDomainLogPublishingOptionsLogConfig> ) -> Self
Configures the OpenSearch search slow log publishing.
sourcepub fn get_search_slow_logs(
&self
) -> &Option<AwsElasticsearchDomainLogPublishingOptionsLogConfig>
pub fn get_search_slow_logs( &self ) -> &Option<AwsElasticsearchDomainLogPublishingOptionsLogConfig>
Configures the OpenSearch search slow log publishing.
sourcepub fn audit_logs(
self,
input: AwsElasticsearchDomainLogPublishingOptionsLogConfig
) -> Self
pub fn audit_logs( self, input: AwsElasticsearchDomainLogPublishingOptionsLogConfig ) -> Self
The log configuration.
sourcepub fn set_audit_logs(
self,
input: Option<AwsElasticsearchDomainLogPublishingOptionsLogConfig>
) -> Self
pub fn set_audit_logs( self, input: Option<AwsElasticsearchDomainLogPublishingOptionsLogConfig> ) -> Self
The log configuration.
sourcepub fn get_audit_logs(
&self
) -> &Option<AwsElasticsearchDomainLogPublishingOptionsLogConfig>
pub fn get_audit_logs( &self ) -> &Option<AwsElasticsearchDomainLogPublishingOptionsLogConfig>
The log configuration.
sourcepub fn build(self) -> AwsElasticsearchDomainLogPublishingOptions
pub fn build(self) -> AwsElasticsearchDomainLogPublishingOptions
Consumes the builder and constructs a AwsElasticsearchDomainLogPublishingOptions
.
Trait Implementations§
source§impl Clone for AwsElasticsearchDomainLogPublishingOptionsBuilder
impl Clone for AwsElasticsearchDomainLogPublishingOptionsBuilder
source§fn clone(&self) -> AwsElasticsearchDomainLogPublishingOptionsBuilder
fn clone(&self) -> AwsElasticsearchDomainLogPublishingOptionsBuilder
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 AwsElasticsearchDomainLogPublishingOptionsBuilder
impl Default for AwsElasticsearchDomainLogPublishingOptionsBuilder
source§fn default() -> AwsElasticsearchDomainLogPublishingOptionsBuilder
fn default() -> AwsElasticsearchDomainLogPublishingOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsElasticsearchDomainLogPublishingOptionsBuilder
impl PartialEq for AwsElasticsearchDomainLogPublishingOptionsBuilder
source§fn eq(&self, other: &AwsElasticsearchDomainLogPublishingOptionsBuilder) -> bool
fn eq(&self, other: &AwsElasticsearchDomainLogPublishingOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsElasticsearchDomainLogPublishingOptionsBuilder
Auto Trait Implementations§
impl Freeze for AwsElasticsearchDomainLogPublishingOptionsBuilder
impl RefUnwindSafe for AwsElasticsearchDomainLogPublishingOptionsBuilder
impl Send for AwsElasticsearchDomainLogPublishingOptionsBuilder
impl Sync for AwsElasticsearchDomainLogPublishingOptionsBuilder
impl Unpin for AwsElasticsearchDomainLogPublishingOptionsBuilder
impl UnwindSafe for AwsElasticsearchDomainLogPublishingOptionsBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.