Struct aws_sdk_secretsmanager::operation::batch_get_secret_value::builders::BatchGetSecretValueInputBuilder
source · #[non_exhaustive]pub struct BatchGetSecretValueInputBuilder { /* private fields */ }
Expand description
A builder for BatchGetSecretValueInput
.
Implementations§
source§impl BatchGetSecretValueInputBuilder
impl BatchGetSecretValueInputBuilder
sourcepub fn secret_id_list(self, input: impl Into<String>) -> Self
pub fn secret_id_list(self, input: impl Into<String>) -> Self
Appends an item to secret_id_list
.
To override the contents of this collection use set_secret_id_list
.
The ARN or names of the secrets to retrieve. You must include Filters
or SecretIdList
, but not both.
sourcepub fn set_secret_id_list(self, input: Option<Vec<String>>) -> Self
pub fn set_secret_id_list(self, input: Option<Vec<String>>) -> Self
The ARN or names of the secrets to retrieve. You must include Filters
or SecretIdList
, but not both.
sourcepub fn get_secret_id_list(&self) -> &Option<Vec<String>>
pub fn get_secret_id_list(&self) -> &Option<Vec<String>>
The ARN or names of the secrets to retrieve. You must include Filters
or SecretIdList
, but not both.
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
The filters to choose which secrets to retrieve. You must include Filters
or SecretIdList
, but not both.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
The filters to choose which secrets to retrieve. You must include Filters
or SecretIdList
, but not both.
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
The filters to choose which secrets to retrieve. You must include Filters
or SecretIdList
, but not both.
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 there are more results available, in the response, Secrets Manager includes NextToken
. To get the next results, call BatchGetSecretValue
again with the value from NextToken
. To use this parameter, you must also use the Filters
parameter.
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 there are more results available, in the response, Secrets Manager includes NextToken
. To get the next results, call BatchGetSecretValue
again with the value from NextToken
. To use this parameter, you must also use the Filters
parameter.
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 there are more results available, in the response, Secrets Manager includes NextToken
. To get the next results, call BatchGetSecretValue
again with the value from NextToken
. To use this parameter, you must also use the Filters
parameter.
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 BatchGetSecretValue
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 BatchGetSecretValue
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 BatchGetSecretValue
again with this value.
sourcepub fn build(self) -> Result<BatchGetSecretValueInput, BuildError>
pub fn build(self) -> Result<BatchGetSecretValueInput, BuildError>
Consumes the builder and constructs a BatchGetSecretValueInput
.
source§impl BatchGetSecretValueInputBuilder
impl BatchGetSecretValueInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<BatchGetSecretValueOutput, SdkError<BatchGetSecretValueError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<BatchGetSecretValueOutput, SdkError<BatchGetSecretValueError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetSecretValueInputBuilder
impl Clone for BatchGetSecretValueInputBuilder
source§fn clone(&self) -> BatchGetSecretValueInputBuilder
fn clone(&self) -> BatchGetSecretValueInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchGetSecretValueInputBuilder
impl Default for BatchGetSecretValueInputBuilder
source§fn default() -> BatchGetSecretValueInputBuilder
fn default() -> BatchGetSecretValueInputBuilder
source§impl PartialEq for BatchGetSecretValueInputBuilder
impl PartialEq for BatchGetSecretValueInputBuilder
source§fn eq(&self, other: &BatchGetSecretValueInputBuilder) -> bool
fn eq(&self, other: &BatchGetSecretValueInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for BatchGetSecretValueInputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetSecretValueInputBuilder
impl RefUnwindSafe for BatchGetSecretValueInputBuilder
impl Send for BatchGetSecretValueInputBuilder
impl Sync for BatchGetSecretValueInputBuilder
impl Unpin for BatchGetSecretValueInputBuilder
impl UnwindSafe for BatchGetSecretValueInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)