Struct aws_sdk_deadline::types::builders::LogConfigurationBuilder
source · #[non_exhaustive]pub struct LogConfigurationBuilder { /* private fields */ }Expand description
A builder for LogConfiguration.
Implementations§
source§impl LogConfigurationBuilder
impl LogConfigurationBuilder
sourcepub fn log_driver(self, input: impl Into<String>) -> Self
pub fn log_driver(self, input: impl Into<String>) -> Self
The log drivers for worker related logs.
This field is required.sourcepub fn set_log_driver(self, input: Option<String>) -> Self
pub fn set_log_driver(self, input: Option<String>) -> Self
The log drivers for worker related logs.
sourcepub fn get_log_driver(&self) -> &Option<String>
pub fn get_log_driver(&self) -> &Option<String>
The log drivers for worker related logs.
sourcepub fn options(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn options(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to options.
To override the contents of this collection use set_options.
The options for a log driver.
sourcepub fn set_options(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_options(self, input: Option<HashMap<String, String>>) -> Self
The options for a log driver.
sourcepub fn parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to parameters.
To override the contents of this collection use set_parameters.
The parameters for the log configuration.
sourcepub fn set_parameters(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_parameters(self, input: Option<HashMap<String, String>>) -> Self
The parameters for the log configuration.
sourcepub fn get_parameters(&self) -> &Option<HashMap<String, String>>
pub fn get_parameters(&self) -> &Option<HashMap<String, String>>
The parameters for the log configuration.
sourcepub fn build(self) -> Result<LogConfiguration, BuildError>
pub fn build(self) -> Result<LogConfiguration, BuildError>
Consumes the builder and constructs a LogConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for LogConfigurationBuilder
impl Clone for LogConfigurationBuilder
source§fn clone(&self) -> LogConfigurationBuilder
fn clone(&self) -> LogConfigurationBuilder
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 LogConfigurationBuilder
impl Debug for LogConfigurationBuilder
source§impl Default for LogConfigurationBuilder
impl Default for LogConfigurationBuilder
source§fn default() -> LogConfigurationBuilder
fn default() -> LogConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LogConfigurationBuilder
impl PartialEq for LogConfigurationBuilder
source§fn eq(&self, other: &LogConfigurationBuilder) -> bool
fn eq(&self, other: &LogConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LogConfigurationBuilder
Auto Trait Implementations§
impl Freeze for LogConfigurationBuilder
impl RefUnwindSafe for LogConfigurationBuilder
impl Send for LogConfigurationBuilder
impl Sync for LogConfigurationBuilder
impl Unpin for LogConfigurationBuilder
impl UnwindSafe for LogConfigurationBuilder
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.