#[non_exhaustive]pub struct LookupEventsInputBuilder { /* private fields */ }
Expand description
A builder for LookupEventsInput
.
Implementations§
source§impl LookupEventsInputBuilder
impl LookupEventsInputBuilder
sourcepub fn lookup_attributes(self, input: LookupAttribute) -> Self
pub fn lookup_attributes(self, input: LookupAttribute) -> Self
Appends an item to lookup_attributes
.
To override the contents of this collection use set_lookup_attributes
.
Contains a list of lookup attributes. Currently the list can contain only one item.
sourcepub fn set_lookup_attributes(self, input: Option<Vec<LookupAttribute>>) -> Self
pub fn set_lookup_attributes(self, input: Option<Vec<LookupAttribute>>) -> Self
Contains a list of lookup attributes. Currently the list can contain only one item.
sourcepub fn get_lookup_attributes(&self) -> &Option<Vec<LookupAttribute>>
pub fn get_lookup_attributes(&self) -> &Option<Vec<LookupAttribute>>
Contains a list of lookup attributes. Currently the list can contain only one item.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
sourcepub fn event_category(self, input: EventCategory) -> Self
pub fn event_category(self, input: EventCategory) -> Self
Specifies the event category. If you do not specify an event category, events of the category are not returned in the response. For example, if you do not specify insight
as the value of EventCategory
, no Insights events are returned.
sourcepub fn set_event_category(self, input: Option<EventCategory>) -> Self
pub fn set_event_category(self, input: Option<EventCategory>) -> Self
Specifies the event category. If you do not specify an event category, events of the category are not returned in the response. For example, if you do not specify insight
as the value of EventCategory
, no Insights events are returned.
sourcepub fn get_event_category(&self) -> &Option<EventCategory>
pub fn get_event_category(&self) -> &Option<EventCategory>
Specifies the event category. If you do not specify an event category, events of the category are not returned in the response. For example, if you do not specify insight
as the value of EventCategory
, no Insights events are returned.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The number of events to return. Possible values are 1 through 50. The default is 50.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The number of events to return. Possible values are 1 through 50. The default is 50.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The number of events to return. Possible values are 1 through 50. The default is 50.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
sourcepub fn build(self) -> Result<LookupEventsInput, BuildError>
pub fn build(self) -> Result<LookupEventsInput, BuildError>
Consumes the builder and constructs a LookupEventsInput
.
source§impl LookupEventsInputBuilder
impl LookupEventsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<LookupEventsOutput, SdkError<LookupEventsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<LookupEventsOutput, SdkError<LookupEventsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for LookupEventsInputBuilder
impl Clone for LookupEventsInputBuilder
source§fn clone(&self) -> LookupEventsInputBuilder
fn clone(&self) -> LookupEventsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LookupEventsInputBuilder
impl Debug for LookupEventsInputBuilder
source§impl Default for LookupEventsInputBuilder
impl Default for LookupEventsInputBuilder
source§fn default() -> LookupEventsInputBuilder
fn default() -> LookupEventsInputBuilder
source§impl PartialEq for LookupEventsInputBuilder
impl PartialEq for LookupEventsInputBuilder
source§fn eq(&self, other: &LookupEventsInputBuilder) -> bool
fn eq(&self, other: &LookupEventsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LookupEventsInputBuilder
Auto Trait Implementations§
impl Freeze for LookupEventsInputBuilder
impl RefUnwindSafe for LookupEventsInputBuilder
impl Send for LookupEventsInputBuilder
impl Sync for LookupEventsInputBuilder
impl Unpin for LookupEventsInputBuilder
impl UnwindSafe for LookupEventsInputBuilder
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