#[non_exhaustive]pub struct ListResourcePoliciesInputBuilder { /* private fields */ }Expand description
A builder for ListResourcePoliciesInput.
Implementations§
Source§impl ListResourcePoliciesInputBuilder
impl ListResourcePoliciesInputBuilder
Sourcepub fn secret_id(self, input: impl Into<String>) -> Self
pub fn secret_id(self, input: impl Into<String>) -> Self
The ARN or name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
This field is required.Sourcepub fn set_secret_id(self, input: Option<String>) -> Self
pub fn set_secret_id(self, input: Option<String>) -> Self
The ARN or name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
Sourcepub fn get_secret_id(&self) -> &Option<String>
pub fn get_secret_id(&self) -> &Option<String>
The ARN or name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
Sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The number of results to include in the response. If you don't specify this value, the service returns up to 100 results.
If there are more results available, in the response, Secrets Manager includes NextToken. To get the next results, call ListResourcePolicies again with the value from NextToken.
Sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The number of results to include in the response. If you don't specify this value, the service returns up to 100 results.
If there are more results available, in the response, Secrets Manager includes NextToken. To get the next results, call ListResourcePolicies again with the value from NextToken.
Sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The number of results to include in the response. If you don't specify this value, the service returns up to 100 results.
If there are more results available, in the response, Secrets Manager includes NextToken. To get the next results, call ListResourcePolicies again with the value from NextToken.
Sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that indicates where the output should continue from, if a previous call did not show all results. 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
A token that indicates where the output should continue from, if a previous call did not show all results. 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>
A token that indicates where the output should continue from, if a previous call did not show all results. To get the next results, call ListResourcePolicies again with this value.
Sourcepub fn build(self) -> Result<ListResourcePoliciesInput, BuildError>
pub fn build(self) -> Result<ListResourcePoliciesInput, BuildError>
Consumes the builder and constructs a ListResourcePoliciesInput.
Source§impl ListResourcePoliciesInputBuilder
impl ListResourcePoliciesInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListResourcePoliciesOutput, SdkError<ListResourcePoliciesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListResourcePoliciesOutput, SdkError<ListResourcePoliciesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for ListResourcePoliciesInputBuilder
impl Clone for ListResourcePoliciesInputBuilder
Source§fn clone(&self) -> ListResourcePoliciesInputBuilder
fn clone(&self) -> ListResourcePoliciesInputBuilder
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 ListResourcePoliciesInputBuilder
impl Default for ListResourcePoliciesInputBuilder
Source§fn default() -> ListResourcePoliciesInputBuilder
fn default() -> ListResourcePoliciesInputBuilder
impl StructuralPartialEq for ListResourcePoliciesInputBuilder
Auto Trait Implementations§
impl Freeze for ListResourcePoliciesInputBuilder
impl RefUnwindSafe for ListResourcePoliciesInputBuilder
impl Send for ListResourcePoliciesInputBuilder
impl Sync for ListResourcePoliciesInputBuilder
impl Unpin for ListResourcePoliciesInputBuilder
impl UnsafeUnpin for ListResourcePoliciesInputBuilder
impl UnwindSafe for ListResourcePoliciesInputBuilder
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