Struct aws_sdk_ssm::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 next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of items to return. Use this token to get the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of items to return. Use this token to get the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of items to return. Use this token to get the next set of results.
sourcepub fn policies(self, input: GetResourcePoliciesResponseEntry) -> Self
pub fn policies(self, input: GetResourcePoliciesResponseEntry) -> Self
Appends an item to policies
.
To override the contents of this collection use set_policies
.
An array of the Policy
object.
sourcepub fn set_policies(
self,
input: Option<Vec<GetResourcePoliciesResponseEntry>>
) -> Self
pub fn set_policies( self, input: Option<Vec<GetResourcePoliciesResponseEntry>> ) -> Self
An array of the Policy
object.
sourcepub fn get_policies(&self) -> &Option<Vec<GetResourcePoliciesResponseEntry>>
pub fn get_policies(&self) -> &Option<Vec<GetResourcePoliciesResponseEntry>>
An array of the Policy
object.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GetResourcePoliciesOutputBuilder
impl Default for GetResourcePoliciesOutputBuilder
source§fn default() -> GetResourcePoliciesOutputBuilder
fn default() -> GetResourcePoliciesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetResourcePoliciesOutputBuilder> for GetResourcePoliciesOutputBuilder
impl PartialEq<GetResourcePoliciesOutputBuilder> for GetResourcePoliciesOutputBuilder
source§fn eq(&self, other: &GetResourcePoliciesOutputBuilder) -> bool
fn eq(&self, other: &GetResourcePoliciesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetResourcePoliciesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetResourcePoliciesOutputBuilder
impl Send for GetResourcePoliciesOutputBuilder
impl Sync for GetResourcePoliciesOutputBuilder
impl Unpin for GetResourcePoliciesOutputBuilder
impl UnwindSafe for GetResourcePoliciesOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more