#[non_exhaustive]pub struct ListResourcePoliciesOutputBuilder { /* private fields */ }Expand description
A builder for ListResourcePoliciesOutput.
Implementations§
Source§impl ListResourcePoliciesOutputBuilder
impl ListResourcePoliciesOutputBuilder
Sourcepub fn resource_policies(self, input: ResourcePolicySummary) -> Self
pub fn resource_policies(self, input: ResourcePolicySummary) -> Self
Appends an item to resource_policies.
To override the contents of this collection use set_resource_policies.
A list of the resource policies attached to the secret.
Sourcepub fn set_resource_policies(
self,
input: Option<Vec<ResourcePolicySummary>>,
) -> Self
pub fn set_resource_policies( self, input: Option<Vec<ResourcePolicySummary>>, ) -> Self
A list of the resource policies attached to the secret.
Sourcepub fn get_resource_policies(&self) -> &Option<Vec<ResourcePolicySummary>>
pub fn get_resource_policies(&self) -> &Option<Vec<ResourcePolicySummary>>
A list of the resource policies attached to the secret.
Sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Secrets Manager includes this value if there's more output available than what is included in the current response. To get the next results, call ListResourcePolicies again with this value.
Sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Secrets Manager includes this value if there's more output available than what is included in the current response. To get the next results, call ListResourcePolicies again with this value.
Sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Secrets Manager includes this value if there's more output available than what is included in the current response. To get the next results, call ListResourcePolicies again with this value.
Sourcepub fn build(self) -> Result<ListResourcePoliciesOutput, BuildError>
pub fn build(self) -> Result<ListResourcePoliciesOutput, BuildError>
Consumes the builder and constructs a ListResourcePoliciesOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
Source§impl Clone for ListResourcePoliciesOutputBuilder
impl Clone for ListResourcePoliciesOutputBuilder
Source§fn clone(&self) -> ListResourcePoliciesOutputBuilder
fn clone(&self) -> ListResourcePoliciesOutputBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ListResourcePoliciesOutputBuilder
impl Default for ListResourcePoliciesOutputBuilder
Source§fn default() -> ListResourcePoliciesOutputBuilder
fn default() -> ListResourcePoliciesOutputBuilder
impl StructuralPartialEq for ListResourcePoliciesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListResourcePoliciesOutputBuilder
impl RefUnwindSafe for ListResourcePoliciesOutputBuilder
impl Send for ListResourcePoliciesOutputBuilder
impl Sync for ListResourcePoliciesOutputBuilder
impl Unpin for ListResourcePoliciesOutputBuilder
impl UnsafeUnpin for ListResourcePoliciesOutputBuilder
impl UnwindSafe for ListResourcePoliciesOutputBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more