Struct aws_sdk_ram::operation::get_resource_policies::builders::GetResourcePoliciesOutputBuilder
source · #[non_exhaustive]pub struct GetResourcePoliciesOutputBuilder { /* private fields */ }Expand description
A builder for GetResourcePoliciesOutput.
Implementations§
source§impl GetResourcePoliciesOutputBuilder
impl GetResourcePoliciesOutputBuilder
sourcepub fn policies(self, input: impl Into<String>) -> Self
pub fn policies(self, input: impl Into<String>) -> Self
Appends an item to policies.
To override the contents of this collection use set_policies.
An array of resource policy documents in JSON format.
sourcepub fn set_policies(self, input: Option<Vec<String>>) -> Self
pub fn set_policies(self, input: Option<Vec<String>>) -> Self
An array of resource policy documents in JSON format.
sourcepub fn get_policies(&self) -> &Option<Vec<String>>
pub fn get_policies(&self) -> &Option<Vec<String>>
An array of resource policy documents in JSON format.
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 build(self) -> GetResourcePoliciesOutput
pub fn build(self) -> GetResourcePoliciesOutput
Consumes the builder and constructs a GetResourcePoliciesOutput.
Trait Implementations§
source§impl Clone for GetResourcePoliciesOutputBuilder
impl Clone for GetResourcePoliciesOutputBuilder
source§fn clone(&self) -> GetResourcePoliciesOutputBuilder
fn clone(&self) -> GetResourcePoliciesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetResourcePoliciesOutputBuilder
impl Default for GetResourcePoliciesOutputBuilder
source§fn default() -> GetResourcePoliciesOutputBuilder
fn default() -> GetResourcePoliciesOutputBuilder
source§impl PartialEq for GetResourcePoliciesOutputBuilder
impl PartialEq for GetResourcePoliciesOutputBuilder
source§fn eq(&self, other: &GetResourcePoliciesOutputBuilder) -> bool
fn eq(&self, other: &GetResourcePoliciesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.