Struct aws_sdk_cloudwatchlogs::operation::get_log_group_fields::builders::GetLogGroupFieldsOutputBuilder
source · #[non_exhaustive]pub struct GetLogGroupFieldsOutputBuilder { /* private fields */ }
Expand description
A builder for GetLogGroupFieldsOutput
.
Implementations§
source§impl GetLogGroupFieldsOutputBuilder
impl GetLogGroupFieldsOutputBuilder
sourcepub fn log_group_fields(self, input: LogGroupField) -> Self
pub fn log_group_fields(self, input: LogGroupField) -> Self
Appends an item to log_group_fields
.
To override the contents of this collection use set_log_group_fields
.
The array of fields found in the query. Each object in the array contains the name of the field, along with the percentage of time it appeared in the log events that were queried.
sourcepub fn set_log_group_fields(self, input: Option<Vec<LogGroupField>>) -> Self
pub fn set_log_group_fields(self, input: Option<Vec<LogGroupField>>) -> Self
The array of fields found in the query. Each object in the array contains the name of the field, along with the percentage of time it appeared in the log events that were queried.
sourcepub fn get_log_group_fields(&self) -> &Option<Vec<LogGroupField>>
pub fn get_log_group_fields(&self) -> &Option<Vec<LogGroupField>>
The array of fields found in the query. Each object in the array contains the name of the field, along with the percentage of time it appeared in the log events that were queried.
sourcepub fn build(self) -> GetLogGroupFieldsOutput
pub fn build(self) -> GetLogGroupFieldsOutput
Consumes the builder and constructs a GetLogGroupFieldsOutput
.
Trait Implementations§
source§impl Clone for GetLogGroupFieldsOutputBuilder
impl Clone for GetLogGroupFieldsOutputBuilder
source§fn clone(&self) -> GetLogGroupFieldsOutputBuilder
fn clone(&self) -> GetLogGroupFieldsOutputBuilder
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 GetLogGroupFieldsOutputBuilder
impl Default for GetLogGroupFieldsOutputBuilder
source§fn default() -> GetLogGroupFieldsOutputBuilder
fn default() -> GetLogGroupFieldsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetLogGroupFieldsOutputBuilder
impl PartialEq for GetLogGroupFieldsOutputBuilder
source§fn eq(&self, other: &GetLogGroupFieldsOutputBuilder) -> bool
fn eq(&self, other: &GetLogGroupFieldsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetLogGroupFieldsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetLogGroupFieldsOutputBuilder
impl RefUnwindSafe for GetLogGroupFieldsOutputBuilder
impl Send for GetLogGroupFieldsOutputBuilder
impl Sync for GetLogGroupFieldsOutputBuilder
impl Unpin for GetLogGroupFieldsOutputBuilder
impl UnwindSafe for GetLogGroupFieldsOutputBuilder
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.