Struct aws_sdk_eventbridge::operation::list_partner_event_sources::builders::ListPartnerEventSourcesInputBuilder
source · #[non_exhaustive]pub struct ListPartnerEventSourcesInputBuilder { /* private fields */ }Expand description
A builder for ListPartnerEventSourcesInput.
Implementations§
source§impl ListPartnerEventSourcesInputBuilder
impl ListPartnerEventSourcesInputBuilder
sourcepub fn name_prefix(self, input: impl Into<String>) -> Self
pub fn name_prefix(self, input: impl Into<String>) -> Self
If you specify this, the results are limited to only those partner event sources that start with the string you specify.
This field is required.sourcepub fn set_name_prefix(self, input: Option<String>) -> Self
pub fn set_name_prefix(self, input: Option<String>) -> Self
If you specify this, the results are limited to only those partner event sources that start with the string you specify.
sourcepub fn get_name_prefix(&self) -> &Option<String>
pub fn get_name_prefix(&self) -> &Option<String>
If you specify this, the results are limited to only those partner event sources that start with the string you specify.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token returned by a previous call to this operation. Specifying this retrieves 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
The token returned by a previous call to this operation. Specifying this retrieves the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token returned by a previous call to this operation. Specifying this retrieves the next set of results.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
pecifying this limits the number of results returned by this operation. The operation also returns a NextToken which you can use in a subsequent operation to retrieve the next set of results.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
pecifying this limits the number of results returned by this operation. The operation also returns a NextToken which you can use in a subsequent operation to retrieve the next set of results.
sourcepub fn get_limit(&self) -> &Option<i32>
pub fn get_limit(&self) -> &Option<i32>
pecifying this limits the number of results returned by this operation. The operation also returns a NextToken which you can use in a subsequent operation to retrieve the next set of results.
sourcepub fn build(self) -> Result<ListPartnerEventSourcesInput, BuildError>
pub fn build(self) -> Result<ListPartnerEventSourcesInput, BuildError>
Consumes the builder and constructs a ListPartnerEventSourcesInput.
source§impl ListPartnerEventSourcesInputBuilder
impl ListPartnerEventSourcesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListPartnerEventSourcesOutput, SdkError<ListPartnerEventSourcesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListPartnerEventSourcesOutput, SdkError<ListPartnerEventSourcesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListPartnerEventSourcesInputBuilder
impl Clone for ListPartnerEventSourcesInputBuilder
source§fn clone(&self) -> ListPartnerEventSourcesInputBuilder
fn clone(&self) -> ListPartnerEventSourcesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListPartnerEventSourcesInputBuilder
impl Default for ListPartnerEventSourcesInputBuilder
source§fn default() -> ListPartnerEventSourcesInputBuilder
fn default() -> ListPartnerEventSourcesInputBuilder
source§impl PartialEq for ListPartnerEventSourcesInputBuilder
impl PartialEq for ListPartnerEventSourcesInputBuilder
source§fn eq(&self, other: &ListPartnerEventSourcesInputBuilder) -> bool
fn eq(&self, other: &ListPartnerEventSourcesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.