Struct aws_sdk_verifiedpermissions::operation::list_policies::builders::ListPoliciesOutputBuilder
source · #[non_exhaustive]pub struct ListPoliciesOutputBuilder { /* private fields */ }Expand description
A builder for ListPoliciesOutput.
Implementations§
source§impl ListPoliciesOutputBuilder
impl ListPoliciesOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.
sourcepub fn policies(self, input: PolicyItem) -> Self
pub fn policies(self, input: PolicyItem) -> Self
Appends an item to policies.
To override the contents of this collection use set_policies.
Lists all policies that are available in the specified policy store.
sourcepub fn set_policies(self, input: Option<Vec<PolicyItem>>) -> Self
pub fn set_policies(self, input: Option<Vec<PolicyItem>>) -> Self
Lists all policies that are available in the specified policy store.
sourcepub fn get_policies(&self) -> &Option<Vec<PolicyItem>>
pub fn get_policies(&self) -> &Option<Vec<PolicyItem>>
Lists all policies that are available in the specified policy store.
sourcepub fn build(self) -> Result<ListPoliciesOutput, BuildError>
pub fn build(self) -> Result<ListPoliciesOutput, BuildError>
Consumes the builder and constructs a ListPoliciesOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListPoliciesOutputBuilder
impl Clone for ListPoliciesOutputBuilder
source§fn clone(&self) -> ListPoliciesOutputBuilder
fn clone(&self) -> ListPoliciesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListPoliciesOutputBuilder
impl Debug for ListPoliciesOutputBuilder
source§impl Default for ListPoliciesOutputBuilder
impl Default for ListPoliciesOutputBuilder
source§fn default() -> ListPoliciesOutputBuilder
fn default() -> ListPoliciesOutputBuilder
source§impl PartialEq for ListPoliciesOutputBuilder
impl PartialEq for ListPoliciesOutputBuilder
source§fn eq(&self, other: &ListPoliciesOutputBuilder) -> bool
fn eq(&self, other: &ListPoliciesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.