Struct aws_sdk_datazone::operation::list_subscription_requests::builders::ListSubscriptionRequestsOutputBuilder
source · #[non_exhaustive]pub struct ListSubscriptionRequestsOutputBuilder { /* private fields */ }
Expand description
A builder for ListSubscriptionRequestsOutput
.
Implementations§
source§impl ListSubscriptionRequestsOutputBuilder
impl ListSubscriptionRequestsOutputBuilder
sourcepub fn items(self, input: SubscriptionRequestSummary) -> Self
pub fn items(self, input: SubscriptionRequestSummary) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
The results of the ListSubscriptionRequests
action.
sourcepub fn set_items(self, input: Option<Vec<SubscriptionRequestSummary>>) -> Self
pub fn set_items(self, input: Option<Vec<SubscriptionRequestSummary>>) -> Self
The results of the ListSubscriptionRequests
action.
sourcepub fn get_items(&self) -> &Option<Vec<SubscriptionRequestSummary>>
pub fn get_items(&self) -> &Option<Vec<SubscriptionRequestSummary>>
The results of the ListSubscriptionRequests
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 subscription requests 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 subscription requests, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListSubscriptionRequests
to list the next set of subscription requests.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When the number of subscription requests 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 subscription requests, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListSubscriptionRequests
to list the next set of subscription requests.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When the number of subscription requests 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 subscription requests, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListSubscriptionRequests
to list the next set of subscription requests.
sourcepub fn build(self) -> ListSubscriptionRequestsOutput
pub fn build(self) -> ListSubscriptionRequestsOutput
Consumes the builder and constructs a ListSubscriptionRequestsOutput
.
Trait Implementations§
source§impl Clone for ListSubscriptionRequestsOutputBuilder
impl Clone for ListSubscriptionRequestsOutputBuilder
source§fn clone(&self) -> ListSubscriptionRequestsOutputBuilder
fn clone(&self) -> ListSubscriptionRequestsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListSubscriptionRequestsOutputBuilder
impl Default for ListSubscriptionRequestsOutputBuilder
source§fn default() -> ListSubscriptionRequestsOutputBuilder
fn default() -> ListSubscriptionRequestsOutputBuilder
source§impl PartialEq for ListSubscriptionRequestsOutputBuilder
impl PartialEq for ListSubscriptionRequestsOutputBuilder
source§fn eq(&self, other: &ListSubscriptionRequestsOutputBuilder) -> bool
fn eq(&self, other: &ListSubscriptionRequestsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.