Struct aws_sdk_cloudwatchlogs::operation::get_log_record::builders::GetLogRecordInputBuilder
source · #[non_exhaustive]pub struct GetLogRecordInputBuilder { /* private fields */ }
Expand description
A builder for GetLogRecordInput
.
Implementations§
source§impl GetLogRecordInputBuilder
impl GetLogRecordInputBuilder
sourcepub fn log_record_pointer(self, input: impl Into<String>) -> Self
pub fn log_record_pointer(self, input: impl Into<String>) -> Self
The pointer corresponding to the log event record you want to retrieve. You get this from the response of a GetQueryResults
operation. In that response, the value of the @ptr
field for a log event is the value to use as logRecordPointer
to retrieve that complete log event record.
sourcepub fn set_log_record_pointer(self, input: Option<String>) -> Self
pub fn set_log_record_pointer(self, input: Option<String>) -> Self
The pointer corresponding to the log event record you want to retrieve. You get this from the response of a GetQueryResults
operation. In that response, the value of the @ptr
field for a log event is the value to use as logRecordPointer
to retrieve that complete log event record.
sourcepub fn get_log_record_pointer(&self) -> &Option<String>
pub fn get_log_record_pointer(&self) -> &Option<String>
The pointer corresponding to the log event record you want to retrieve. You get this from the response of a GetQueryResults
operation. In that response, the value of the @ptr
field for a log event is the value to use as logRecordPointer
to retrieve that complete log event record.
sourcepub fn unmask(self, input: bool) -> Self
pub fn unmask(self, input: bool) -> Self
Specify true
to display the log event fields with all sensitive data unmasked and visible. The default is false
.
To use this operation with this parameter, you must be signed into an account with the logs:Unmask
permission.
sourcepub fn set_unmask(self, input: Option<bool>) -> Self
pub fn set_unmask(self, input: Option<bool>) -> Self
Specify true
to display the log event fields with all sensitive data unmasked and visible. The default is false
.
To use this operation with this parameter, you must be signed into an account with the logs:Unmask
permission.
sourcepub fn get_unmask(&self) -> &Option<bool>
pub fn get_unmask(&self) -> &Option<bool>
Specify true
to display the log event fields with all sensitive data unmasked and visible. The default is false
.
To use this operation with this parameter, you must be signed into an account with the logs:Unmask
permission.
sourcepub fn build(self) -> Result<GetLogRecordInput, BuildError>
pub fn build(self) -> Result<GetLogRecordInput, BuildError>
Consumes the builder and constructs a GetLogRecordInput
.
source§impl GetLogRecordInputBuilder
impl GetLogRecordInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetLogRecordOutput, SdkError<GetLogRecordError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetLogRecordOutput, SdkError<GetLogRecordError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetLogRecordInputBuilder
impl Clone for GetLogRecordInputBuilder
source§fn clone(&self) -> GetLogRecordInputBuilder
fn clone(&self) -> GetLogRecordInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetLogRecordInputBuilder
impl Debug for GetLogRecordInputBuilder
source§impl Default for GetLogRecordInputBuilder
impl Default for GetLogRecordInputBuilder
source§fn default() -> GetLogRecordInputBuilder
fn default() -> GetLogRecordInputBuilder
source§impl PartialEq for GetLogRecordInputBuilder
impl PartialEq for GetLogRecordInputBuilder
source§fn eq(&self, other: &GetLogRecordInputBuilder) -> bool
fn eq(&self, other: &GetLogRecordInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetLogRecordInputBuilder
Auto Trait Implementations§
impl Freeze for GetLogRecordInputBuilder
impl RefUnwindSafe for GetLogRecordInputBuilder
impl Send for GetLogRecordInputBuilder
impl Sync for GetLogRecordInputBuilder
impl Unpin for GetLogRecordInputBuilder
impl UnwindSafe for GetLogRecordInputBuilder
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
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>
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>
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 more