Struct aws_sdk_secretsmanager::input::list_secrets_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ListSecretsInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn include_planned_deletion(self, input: bool) -> Self
pub fn include_planned_deletion(self, input: bool) -> Self
Specifies whether to include secrets scheduled for deletion.
sourcepub fn set_include_planned_deletion(self, input: Option<bool>) -> Self
pub fn set_include_planned_deletion(self, input: Option<bool>) -> Self
Specifies whether to include secrets scheduled for deletion.
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 ListSecrets 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 there are more results available, in the response, Secrets Manager includes NextToken. To get the next results, call ListSecrets 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 ListSecrets 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 ListSecrets again with this value.
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 apply to the list of secrets.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
The filters to apply to the list of secrets.
sourcepub fn sort_order(self, input: SortOrderType) -> Self
pub fn sort_order(self, input: SortOrderType) -> Self
Secrets are listed by CreatedDate.
sourcepub fn set_sort_order(self, input: Option<SortOrderType>) -> Self
pub fn set_sort_order(self, input: Option<SortOrderType>) -> Self
Secrets are listed by CreatedDate.
sourcepub fn build(self) -> Result<ListSecretsInput, BuildError>
pub fn build(self) -> Result<ListSecretsInput, BuildError>
Consumes the builder and constructs a ListSecretsInput.