Struct aws_sdk_cloudwatchlogs::operation::get_log_events::builders::GetLogEventsOutputBuilder
source · #[non_exhaustive]pub struct GetLogEventsOutputBuilder { /* private fields */ }
Expand description
A builder for GetLogEventsOutput
.
Implementations§
source§impl GetLogEventsOutputBuilder
impl GetLogEventsOutputBuilder
sourcepub fn events(self, input: OutputLogEvent) -> Self
pub fn events(self, input: OutputLogEvent) -> Self
sourcepub fn set_events(self, input: Option<Vec<OutputLogEvent>>) -> Self
pub fn set_events(self, input: Option<Vec<OutputLogEvent>>) -> Self
The events.
sourcepub fn get_events(&self) -> &Option<Vec<OutputLogEvent>>
pub fn get_events(&self) -> &Option<Vec<OutputLogEvent>>
The events.
sourcepub fn next_forward_token(self, input: impl Into<String>) -> Self
pub fn next_forward_token(self, input: impl Into<String>) -> Self
The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it returns the same token you passed in.
sourcepub fn set_next_forward_token(self, input: Option<String>) -> Self
pub fn set_next_forward_token(self, input: Option<String>) -> Self
The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it returns the same token you passed in.
sourcepub fn get_next_forward_token(&self) -> &Option<String>
pub fn get_next_forward_token(&self) -> &Option<String>
The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it returns the same token you passed in.
sourcepub fn next_backward_token(self, input: impl Into<String>) -> Self
pub fn next_backward_token(self, input: impl Into<String>) -> Self
The token for the next set of items in the backward direction. The token expires after 24 hours. This token is not null. If you have reached the end of the stream, it returns the same token you passed in.
sourcepub fn set_next_backward_token(self, input: Option<String>) -> Self
pub fn set_next_backward_token(self, input: Option<String>) -> Self
The token for the next set of items in the backward direction. The token expires after 24 hours. This token is not null. If you have reached the end of the stream, it returns the same token you passed in.
sourcepub fn get_next_backward_token(&self) -> &Option<String>
pub fn get_next_backward_token(&self) -> &Option<String>
The token for the next set of items in the backward direction. The token expires after 24 hours. This token is not null. If you have reached the end of the stream, it returns the same token you passed in.
sourcepub fn build(self) -> GetLogEventsOutput
pub fn build(self) -> GetLogEventsOutput
Consumes the builder and constructs a GetLogEventsOutput
.
Trait Implementations§
source§impl Clone for GetLogEventsOutputBuilder
impl Clone for GetLogEventsOutputBuilder
source§fn clone(&self) -> GetLogEventsOutputBuilder
fn clone(&self) -> GetLogEventsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetLogEventsOutputBuilder
impl Debug for GetLogEventsOutputBuilder
source§impl Default for GetLogEventsOutputBuilder
impl Default for GetLogEventsOutputBuilder
source§fn default() -> GetLogEventsOutputBuilder
fn default() -> GetLogEventsOutputBuilder
source§impl PartialEq for GetLogEventsOutputBuilder
impl PartialEq for GetLogEventsOutputBuilder
source§fn eq(&self, other: &GetLogEventsOutputBuilder) -> bool
fn eq(&self, other: &GetLogEventsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetLogEventsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetLogEventsOutputBuilder
impl RefUnwindSafe for GetLogEventsOutputBuilder
impl Send for GetLogEventsOutputBuilder
impl Sync for GetLogEventsOutputBuilder
impl Unpin for GetLogEventsOutputBuilder
impl UnwindSafe for GetLogEventsOutputBuilder
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