Struct aws_sdk_datazone::operation::list_subscription_targets::builders::ListSubscriptionTargetsInputBuilder
source · #[non_exhaustive]pub struct ListSubscriptionTargetsInputBuilder { /* private fields */ }
Expand description
A builder for ListSubscriptionTargetsInput
.
Implementations§
source§impl ListSubscriptionTargetsInputBuilder
impl ListSubscriptionTargetsInputBuilder
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone domain where you want to list subscription targets.
This field is required.sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone domain where you want to list subscription targets.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The identifier of the Amazon DataZone domain where you want to list subscription targets.
sourcepub fn environment_identifier(self, input: impl Into<String>) -> Self
pub fn environment_identifier(self, input: impl Into<String>) -> Self
The identifier of the environment where you want to list subscription targets.
This field is required.sourcepub fn set_environment_identifier(self, input: Option<String>) -> Self
pub fn set_environment_identifier(self, input: Option<String>) -> Self
The identifier of the environment where you want to list subscription targets.
sourcepub fn get_environment_identifier(&self) -> &Option<String>
pub fn get_environment_identifier(&self) -> &Option<String>
The identifier of the environment where you want to list subscription targets.
sourcepub fn sort_by(self, input: SortKey) -> Self
pub fn sort_by(self, input: SortKey) -> Self
Specifies the way in which the results of this action are to be sorted.
sourcepub fn set_sort_by(self, input: Option<SortKey>) -> Self
pub fn set_sort_by(self, input: Option<SortKey>) -> Self
Specifies the way in which the results of this action are to be sorted.
sourcepub fn get_sort_by(&self) -> &Option<SortKey>
pub fn get_sort_by(&self) -> &Option<SortKey>
Specifies the way in which the results of this action are to be sorted.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
Specifies the sort order for the results of this action.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
Specifies the sort order for the results of this action.
sourcepub fn get_sort_order(&self) -> &Option<SortOrder>
pub fn get_sort_order(&self) -> &Option<SortOrder>
Specifies the sort order for the results of this action.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of subscription targets to return in a single call to ListSubscriptionTargets
. When the number of subscription targets to be listed is greater than the value of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to ListSubscriptionTargets
to list the next set of subscription targets.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of subscription targets to return in a single call to ListSubscriptionTargets
. When the number of subscription targets to be listed is greater than the value of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to ListSubscriptionTargets
to list the next set of subscription targets.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of subscription targets to return in a single call to ListSubscriptionTargets
. When the number of subscription targets to be listed is greater than the value of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to ListSubscriptionTargets
to list the next set of subscription targets.
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 targets 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 targets, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListSubscriptionTargets
to list the next set of subscription targets.
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 targets 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 targets, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListSubscriptionTargets
to list the next set of subscription targets.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When the number of subscription targets 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 targets, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListSubscriptionTargets
to list the next set of subscription targets.
sourcepub fn build(self) -> Result<ListSubscriptionTargetsInput, BuildError>
pub fn build(self) -> Result<ListSubscriptionTargetsInput, BuildError>
Consumes the builder and constructs a ListSubscriptionTargetsInput
.
source§impl ListSubscriptionTargetsInputBuilder
impl ListSubscriptionTargetsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListSubscriptionTargetsOutput, SdkError<ListSubscriptionTargetsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListSubscriptionTargetsOutput, SdkError<ListSubscriptionTargetsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListSubscriptionTargetsInputBuilder
impl Clone for ListSubscriptionTargetsInputBuilder
source§fn clone(&self) -> ListSubscriptionTargetsInputBuilder
fn clone(&self) -> ListSubscriptionTargetsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListSubscriptionTargetsInputBuilder
impl Default for ListSubscriptionTargetsInputBuilder
source§fn default() -> ListSubscriptionTargetsInputBuilder
fn default() -> ListSubscriptionTargetsInputBuilder
source§impl PartialEq for ListSubscriptionTargetsInputBuilder
impl PartialEq for ListSubscriptionTargetsInputBuilder
source§fn eq(&self, other: &ListSubscriptionTargetsInputBuilder) -> bool
fn eq(&self, other: &ListSubscriptionTargetsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.