Struct aws_sdk_eventbridge::operation::list_partner_event_sources::builders::ListPartnerEventSourcesOutputBuilder
source · #[non_exhaustive]pub struct ListPartnerEventSourcesOutputBuilder { /* private fields */ }
Expand description
A builder for ListPartnerEventSourcesOutput
.
Implementations§
source§impl ListPartnerEventSourcesOutputBuilder
impl ListPartnerEventSourcesOutputBuilder
sourcepub fn partner_event_sources(self, input: PartnerEventSource) -> Self
pub fn partner_event_sources(self, input: PartnerEventSource) -> Self
Appends an item to partner_event_sources
.
To override the contents of this collection use set_partner_event_sources
.
The list of partner event sources returned by the operation.
sourcepub fn set_partner_event_sources(
self,
input: Option<Vec<PartnerEventSource>>
) -> Self
pub fn set_partner_event_sources( self, input: Option<Vec<PartnerEventSource>> ) -> Self
The list of partner event sources returned by the operation.
sourcepub fn get_partner_event_sources(&self) -> &Option<Vec<PartnerEventSource>>
pub fn get_partner_event_sources(&self) -> &Option<Vec<PartnerEventSource>>
The list of partner event sources returned by the operation.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token you can use in a subsequent operation to retrieve the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token you can use in a subsequent operation to retrieve the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token you can use in a subsequent operation to retrieve the next set of results.
sourcepub fn build(self) -> ListPartnerEventSourcesOutput
pub fn build(self) -> ListPartnerEventSourcesOutput
Consumes the builder and constructs a ListPartnerEventSourcesOutput
.
Trait Implementations§
source§impl Clone for ListPartnerEventSourcesOutputBuilder
impl Clone for ListPartnerEventSourcesOutputBuilder
source§fn clone(&self) -> ListPartnerEventSourcesOutputBuilder
fn clone(&self) -> ListPartnerEventSourcesOutputBuilder
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 ListPartnerEventSourcesOutputBuilder
impl Default for ListPartnerEventSourcesOutputBuilder
source§fn default() -> ListPartnerEventSourcesOutputBuilder
fn default() -> ListPartnerEventSourcesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListPartnerEventSourcesOutputBuilder
impl PartialEq for ListPartnerEventSourcesOutputBuilder
source§fn eq(&self, other: &ListPartnerEventSourcesOutputBuilder) -> bool
fn eq(&self, other: &ListPartnerEventSourcesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListPartnerEventSourcesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListPartnerEventSourcesOutputBuilder
impl Send for ListPartnerEventSourcesOutputBuilder
impl Sync for ListPartnerEventSourcesOutputBuilder
impl Unpin for ListPartnerEventSourcesOutputBuilder
impl UnwindSafe for ListPartnerEventSourcesOutputBuilder
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>
Creates a shared type from an unshared type.