Struct aws_sdk_backup::input::list_backup_plans_input::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ListBackupPlansInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The next item following a partial list of returned items. For example, if a request is made to return maxResults
number of items, NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The next item following a partial list of returned items. For example, if a request is made to return maxResults
number of items, NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to be returned.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to be returned.
sourcepub fn include_deleted(self, input: bool) -> Self
pub fn include_deleted(self, input: bool) -> Self
A Boolean value with a default value of FALSE
that returns deleted backup plans when set to TRUE
.
sourcepub fn set_include_deleted(self, input: Option<bool>) -> Self
pub fn set_include_deleted(self, input: Option<bool>) -> Self
A Boolean value with a default value of FALSE
that returns deleted backup plans when set to TRUE
.
sourcepub fn build(self) -> Result<ListBackupPlansInput, BuildError>
pub fn build(self) -> Result<ListBackupPlansInput, BuildError>
Consumes the builder and constructs a ListBackupPlansInput
.