Struct aws_sdk_datazone::operation::list_subscriptions::builders::ListSubscriptionsOutputBuilder
source · #[non_exhaustive]pub struct ListSubscriptionsOutputBuilder { /* private fields */ }
Expand description
A builder for ListSubscriptionsOutput
.
Implementations§
source§impl ListSubscriptionsOutputBuilder
impl ListSubscriptionsOutputBuilder
sourcepub fn items(self, input: SubscriptionSummary) -> Self
pub fn items(self, input: SubscriptionSummary) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
The results of the ListSubscriptions
action.
sourcepub fn set_items(self, input: Option<Vec<SubscriptionSummary>>) -> Self
pub fn set_items(self, input: Option<Vec<SubscriptionSummary>>) -> Self
The results of the ListSubscriptions
action.
sourcepub fn get_items(&self) -> &Option<Vec<SubscriptionSummary>>
pub fn get_items(&self) -> &Option<Vec<SubscriptionSummary>>
The results of the ListSubscriptions
action.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When the number of subscriptions is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of subscriptions, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListSubscriptions
to list the next set of subscriptions.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When the number of subscriptions is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of subscriptions, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListSubscriptions
to list the next set of subscriptions.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When the number of subscriptions is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of subscriptions, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListSubscriptions
to list the next set of subscriptions.
sourcepub fn build(self) -> Result<ListSubscriptionsOutput, BuildError>
pub fn build(self) -> Result<ListSubscriptionsOutput, BuildError>
Consumes the builder and constructs a ListSubscriptionsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListSubscriptionsOutputBuilder
impl Clone for ListSubscriptionsOutputBuilder
source§fn clone(&self) -> ListSubscriptionsOutputBuilder
fn clone(&self) -> ListSubscriptionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListSubscriptionsOutputBuilder
impl Default for ListSubscriptionsOutputBuilder
source§fn default() -> ListSubscriptionsOutputBuilder
fn default() -> ListSubscriptionsOutputBuilder
source§impl PartialEq for ListSubscriptionsOutputBuilder
impl PartialEq for ListSubscriptionsOutputBuilder
source§fn eq(&self, other: &ListSubscriptionsOutputBuilder) -> bool
fn eq(&self, other: &ListSubscriptionsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.