Struct aws_sdk_health::operation::describe_events_for_organization::builders::DescribeEventsForOrganizationOutputBuilder
source · #[non_exhaustive]pub struct DescribeEventsForOrganizationOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeEventsForOrganizationOutput
.
Implementations§
source§impl DescribeEventsForOrganizationOutputBuilder
impl DescribeEventsForOrganizationOutputBuilder
sourcepub fn events(self, input: OrganizationEvent) -> Self
pub fn events(self, input: OrganizationEvent) -> Self
Appends an item to events
.
To override the contents of this collection use set_events
.
The events that match the specified filter criteria.
sourcepub fn set_events(self, input: Option<Vec<OrganizationEvent>>) -> Self
pub fn set_events(self, input: Option<Vec<OrganizationEvent>>) -> Self
The events that match the specified filter criteria.
sourcepub fn get_events(&self) -> &Option<Vec<OrganizationEvent>>
pub fn get_events(&self) -> &Option<Vec<OrganizationEvent>>
The events that match the specified filter criteria.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
sourcepub fn build(self) -> DescribeEventsForOrganizationOutput
pub fn build(self) -> DescribeEventsForOrganizationOutput
Consumes the builder and constructs a DescribeEventsForOrganizationOutput
.
Trait Implementations§
source§impl Clone for DescribeEventsForOrganizationOutputBuilder
impl Clone for DescribeEventsForOrganizationOutputBuilder
source§fn clone(&self) -> DescribeEventsForOrganizationOutputBuilder
fn clone(&self) -> DescribeEventsForOrganizationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeEventsForOrganizationOutputBuilder
impl Default for DescribeEventsForOrganizationOutputBuilder
source§fn default() -> DescribeEventsForOrganizationOutputBuilder
fn default() -> DescribeEventsForOrganizationOutputBuilder
source§impl PartialEq for DescribeEventsForOrganizationOutputBuilder
impl PartialEq for DescribeEventsForOrganizationOutputBuilder
source§fn eq(&self, other: &DescribeEventsForOrganizationOutputBuilder) -> bool
fn eq(&self, other: &DescribeEventsForOrganizationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeEventsForOrganizationOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeEventsForOrganizationOutputBuilder
impl RefUnwindSafe for DescribeEventsForOrganizationOutputBuilder
impl Send for DescribeEventsForOrganizationOutputBuilder
impl Sync for DescribeEventsForOrganizationOutputBuilder
impl Unpin for DescribeEventsForOrganizationOutputBuilder
impl UnwindSafe for DescribeEventsForOrganizationOutputBuilder
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