Struct aws_sdk_verifiedpermissions::operation::list_policies::builders::ListPoliciesInputBuilder
source · #[non_exhaustive]pub struct ListPoliciesInputBuilder { /* private fields */ }Expand description
A builder for ListPoliciesInput.
Implementations§
source§impl ListPoliciesInputBuilder
impl ListPoliciesInputBuilder
sourcepub fn policy_store_id(self, input: impl Into<String>) -> Self
pub fn policy_store_id(self, input: impl Into<String>) -> Self
Specifies the ID of the policy store you want to list policies from.
This field is required.sourcepub fn set_policy_store_id(self, input: Option<String>) -> Self
pub fn set_policy_store_id(self, input: Option<String>) -> Self
Specifies the ID of the policy store you want to list policies from.
sourcepub fn get_policy_store_id(&self) -> &Option<String>
pub fn get_policy_store_id(&self) -> &Option<String>
Specifies the ID of the policy store you want to list policies from.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.
If you do not specify this parameter, the operation defaults to 10 policies per response. You can specify a maximum of 50 policies per response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.
If you do not specify this parameter, the operation defaults to 10 policies per response. You can specify a maximum of 50 policies per response.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.
If you do not specify this parameter, the operation defaults to 10 policies per response. You can specify a maximum of 50 policies per response.
sourcepub fn filter(self, input: PolicyFilter) -> Self
pub fn filter(self, input: PolicyFilter) -> Self
Specifies a filter that limits the response to only policies that match the specified criteria. For example, you list only the policies that reference a specified principal.
sourcepub fn set_filter(self, input: Option<PolicyFilter>) -> Self
pub fn set_filter(self, input: Option<PolicyFilter>) -> Self
Specifies a filter that limits the response to only policies that match the specified criteria. For example, you list only the policies that reference a specified principal.
sourcepub fn get_filter(&self) -> &Option<PolicyFilter>
pub fn get_filter(&self) -> &Option<PolicyFilter>
Specifies a filter that limits the response to only policies that match the specified criteria. For example, you list only the policies that reference a specified principal.
sourcepub fn build(self) -> Result<ListPoliciesInput, BuildError>
pub fn build(self) -> Result<ListPoliciesInput, BuildError>
Consumes the builder and constructs a ListPoliciesInput.
source§impl ListPoliciesInputBuilder
impl ListPoliciesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListPoliciesOutput, SdkError<ListPoliciesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListPoliciesOutput, SdkError<ListPoliciesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListPoliciesInputBuilder
impl Clone for ListPoliciesInputBuilder
source§fn clone(&self) -> ListPoliciesInputBuilder
fn clone(&self) -> ListPoliciesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListPoliciesInputBuilder
impl Debug for ListPoliciesInputBuilder
source§impl Default for ListPoliciesInputBuilder
impl Default for ListPoliciesInputBuilder
source§fn default() -> ListPoliciesInputBuilder
fn default() -> ListPoliciesInputBuilder
source§impl PartialEq for ListPoliciesInputBuilder
impl PartialEq for ListPoliciesInputBuilder
source§fn eq(&self, other: &ListPoliciesInputBuilder) -> bool
fn eq(&self, other: &ListPoliciesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.