Struct aws_sdk_cloudwatchlogs::operation::get_log_record::builders::GetLogRecordOutputBuilder
source · #[non_exhaustive]pub struct GetLogRecordOutputBuilder { /* private fields */ }
Expand description
A builder for GetLogRecordOutput
.
Implementations§
source§impl GetLogRecordOutputBuilder
impl GetLogRecordOutputBuilder
sourcepub fn log_record(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn log_record(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to log_record
.
To override the contents of this collection use set_log_record
.
The requested log event, as a JSON string.
sourcepub fn set_log_record(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_log_record(self, input: Option<HashMap<String, String>>) -> Self
The requested log event, as a JSON string.
sourcepub fn get_log_record(&self) -> &Option<HashMap<String, String>>
pub fn get_log_record(&self) -> &Option<HashMap<String, String>>
The requested log event, as a JSON string.
sourcepub fn build(self) -> GetLogRecordOutput
pub fn build(self) -> GetLogRecordOutput
Consumes the builder and constructs a GetLogRecordOutput
.
Trait Implementations§
source§impl Clone for GetLogRecordOutputBuilder
impl Clone for GetLogRecordOutputBuilder
source§fn clone(&self) -> GetLogRecordOutputBuilder
fn clone(&self) -> GetLogRecordOutputBuilder
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 GetLogRecordOutputBuilder
impl Debug for GetLogRecordOutputBuilder
source§impl Default for GetLogRecordOutputBuilder
impl Default for GetLogRecordOutputBuilder
source§fn default() -> GetLogRecordOutputBuilder
fn default() -> GetLogRecordOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetLogRecordOutputBuilder
impl PartialEq for GetLogRecordOutputBuilder
source§fn eq(&self, other: &GetLogRecordOutputBuilder) -> bool
fn eq(&self, other: &GetLogRecordOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetLogRecordOutputBuilder
Auto Trait Implementations§
impl Freeze for GetLogRecordOutputBuilder
impl RefUnwindSafe for GetLogRecordOutputBuilder
impl Send for GetLogRecordOutputBuilder
impl Sync for GetLogRecordOutputBuilder
impl Unpin for GetLogRecordOutputBuilder
impl UnwindSafe for GetLogRecordOutputBuilder
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.