Struct aws_sdk_osis::types::builders::LogPublishingOptionsBuilder
source · #[non_exhaustive]pub struct LogPublishingOptionsBuilder { /* private fields */ }Expand description
A builder for LogPublishingOptions.
Implementations§
source§impl LogPublishingOptionsBuilder
impl LogPublishingOptionsBuilder
sourcepub fn is_logging_enabled(self, input: bool) -> Self
pub fn is_logging_enabled(self, input: bool) -> Self
Whether logs should be published.
sourcepub fn set_is_logging_enabled(self, input: Option<bool>) -> Self
pub fn set_is_logging_enabled(self, input: Option<bool>) -> Self
Whether logs should be published.
sourcepub fn get_is_logging_enabled(&self) -> &Option<bool>
pub fn get_is_logging_enabled(&self) -> &Option<bool>
Whether logs should be published.
sourcepub fn cloud_watch_log_destination(
self,
input: CloudWatchLogDestination
) -> Self
pub fn cloud_watch_log_destination( self, input: CloudWatchLogDestination ) -> Self
The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is required if IsLoggingEnabled is set to true.
sourcepub fn set_cloud_watch_log_destination(
self,
input: Option<CloudWatchLogDestination>
) -> Self
pub fn set_cloud_watch_log_destination( self, input: Option<CloudWatchLogDestination> ) -> Self
The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is required if IsLoggingEnabled is set to true.
sourcepub fn get_cloud_watch_log_destination(
&self
) -> &Option<CloudWatchLogDestination>
pub fn get_cloud_watch_log_destination( &self ) -> &Option<CloudWatchLogDestination>
The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is required if IsLoggingEnabled is set to true.
sourcepub fn build(self) -> LogPublishingOptions
pub fn build(self) -> LogPublishingOptions
Consumes the builder and constructs a LogPublishingOptions.
Trait Implementations§
source§impl Clone for LogPublishingOptionsBuilder
impl Clone for LogPublishingOptionsBuilder
source§fn clone(&self) -> LogPublishingOptionsBuilder
fn clone(&self) -> LogPublishingOptionsBuilder
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 Debug for LogPublishingOptionsBuilder
impl Debug for LogPublishingOptionsBuilder
source§impl Default for LogPublishingOptionsBuilder
impl Default for LogPublishingOptionsBuilder
source§fn default() -> LogPublishingOptionsBuilder
fn default() -> LogPublishingOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<LogPublishingOptionsBuilder> for LogPublishingOptionsBuilder
impl PartialEq<LogPublishingOptionsBuilder> for LogPublishingOptionsBuilder
source§fn eq(&self, other: &LogPublishingOptionsBuilder) -> bool
fn eq(&self, other: &LogPublishingOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LogPublishingOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LogPublishingOptionsBuilder
impl Send for LogPublishingOptionsBuilder
impl Sync for LogPublishingOptionsBuilder
impl Unpin for LogPublishingOptionsBuilder
impl UnwindSafe for LogPublishingOptionsBuilder
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