#[non_exhaustive]pub struct ExperimentLogConfigurationBuilder { /* private fields */ }Expand description
A builder for ExperimentLogConfiguration.
Implementations§
source§impl ExperimentLogConfigurationBuilder
impl ExperimentLogConfigurationBuilder
sourcepub fn cloud_watch_logs_configuration(
self,
input: ExperimentCloudWatchLogsLogConfiguration
) -> Self
pub fn cloud_watch_logs_configuration( self, input: ExperimentCloudWatchLogsLogConfiguration ) -> Self
The configuration for experiment logging to Amazon CloudWatch Logs.
sourcepub fn set_cloud_watch_logs_configuration(
self,
input: Option<ExperimentCloudWatchLogsLogConfiguration>
) -> Self
pub fn set_cloud_watch_logs_configuration( self, input: Option<ExperimentCloudWatchLogsLogConfiguration> ) -> Self
The configuration for experiment logging to Amazon CloudWatch Logs.
sourcepub fn get_cloud_watch_logs_configuration(
&self
) -> &Option<ExperimentCloudWatchLogsLogConfiguration>
pub fn get_cloud_watch_logs_configuration( &self ) -> &Option<ExperimentCloudWatchLogsLogConfiguration>
The configuration for experiment logging to Amazon CloudWatch Logs.
sourcepub fn s3_configuration(self, input: ExperimentS3LogConfiguration) -> Self
pub fn s3_configuration(self, input: ExperimentS3LogConfiguration) -> Self
The configuration for experiment logging to Amazon S3.
sourcepub fn set_s3_configuration(
self,
input: Option<ExperimentS3LogConfiguration>
) -> Self
pub fn set_s3_configuration( self, input: Option<ExperimentS3LogConfiguration> ) -> Self
The configuration for experiment logging to Amazon S3.
sourcepub fn get_s3_configuration(&self) -> &Option<ExperimentS3LogConfiguration>
pub fn get_s3_configuration(&self) -> &Option<ExperimentS3LogConfiguration>
The configuration for experiment logging to Amazon S3.
sourcepub fn log_schema_version(self, input: i32) -> Self
pub fn log_schema_version(self, input: i32) -> Self
The schema version.
sourcepub fn set_log_schema_version(self, input: Option<i32>) -> Self
pub fn set_log_schema_version(self, input: Option<i32>) -> Self
The schema version.
sourcepub fn get_log_schema_version(&self) -> &Option<i32>
pub fn get_log_schema_version(&self) -> &Option<i32>
The schema version.
sourcepub fn build(self) -> ExperimentLogConfiguration
pub fn build(self) -> ExperimentLogConfiguration
Consumes the builder and constructs a ExperimentLogConfiguration.
Trait Implementations§
source§impl Clone for ExperimentLogConfigurationBuilder
impl Clone for ExperimentLogConfigurationBuilder
source§fn clone(&self) -> ExperimentLogConfigurationBuilder
fn clone(&self) -> ExperimentLogConfigurationBuilder
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 ExperimentLogConfigurationBuilder
impl Default for ExperimentLogConfigurationBuilder
source§fn default() -> ExperimentLogConfigurationBuilder
fn default() -> ExperimentLogConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExperimentLogConfigurationBuilder
impl PartialEq for ExperimentLogConfigurationBuilder
source§fn eq(&self, other: &ExperimentLogConfigurationBuilder) -> bool
fn eq(&self, other: &ExperimentLogConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExperimentLogConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ExperimentLogConfigurationBuilder
impl RefUnwindSafe for ExperimentLogConfigurationBuilder
impl Send for ExperimentLogConfigurationBuilder
impl Sync for ExperimentLogConfigurationBuilder
impl Unpin for ExperimentLogConfigurationBuilder
impl UnwindSafe for ExperimentLogConfigurationBuilder
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.