Struct aws_sdk_backup::input::list_backup_jobs_input::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for ListBackupJobsInput
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 by_resource_arn(self, input: impl Into<String>) -> Self
pub fn by_resource_arn(self, input: impl Into<String>) -> Self
Returns only backup jobs that match the specified resource Amazon Resource Name (ARN).
sourcepub fn set_by_resource_arn(self, input: Option<String>) -> Self
pub fn set_by_resource_arn(self, input: Option<String>) -> Self
Returns only backup jobs that match the specified resource Amazon Resource Name (ARN).
sourcepub fn by_state(self, input: BackupJobState) -> Self
pub fn by_state(self, input: BackupJobState) -> Self
Returns only backup jobs that are in the specified state.
sourcepub fn set_by_state(self, input: Option<BackupJobState>) -> Self
pub fn set_by_state(self, input: Option<BackupJobState>) -> Self
Returns only backup jobs that are in the specified state.
sourcepub fn by_backup_vault_name(self, input: impl Into<String>) -> Self
pub fn by_backup_vault_name(self, input: impl Into<String>) -> Self
Returns only backup jobs that will be stored in the specified backup vault. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
sourcepub fn set_by_backup_vault_name(self, input: Option<String>) -> Self
pub fn set_by_backup_vault_name(self, input: Option<String>) -> Self
Returns only backup jobs that will be stored in the specified backup vault. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
sourcepub fn by_created_before(self, input: DateTime) -> Self
pub fn by_created_before(self, input: DateTime) -> Self
Returns only backup jobs that were created before the specified date.
sourcepub fn set_by_created_before(self, input: Option<DateTime>) -> Self
pub fn set_by_created_before(self, input: Option<DateTime>) -> Self
Returns only backup jobs that were created before the specified date.
sourcepub fn by_created_after(self, input: DateTime) -> Self
pub fn by_created_after(self, input: DateTime) -> Self
Returns only backup jobs that were created after the specified date.
sourcepub fn set_by_created_after(self, input: Option<DateTime>) -> Self
pub fn set_by_created_after(self, input: Option<DateTime>) -> Self
Returns only backup jobs that were created after the specified date.
sourcepub fn by_resource_type(self, input: impl Into<String>) -> Self
pub fn by_resource_type(self, input: impl Into<String>) -> Self
Returns only backup jobs for the specified resources:
-
Aurora
for Amazon Aurora -
DocumentDB
for Amazon DocumentDB (with MongoDB compatibility) -
DynamoDB
for Amazon DynamoDB -
EBS
for Amazon Elastic Block Store -
EC2
for Amazon Elastic Compute Cloud -
EFS
for Amazon Elastic File System -
FSx
for Amazon FSx -
Neptune
for Amazon Neptune -
RDS
for Amazon Relational Database Service -
Storage Gateway
for Storage Gateway -
S3
for Amazon S3 -
VirtualMachine
for virtual machines
sourcepub fn set_by_resource_type(self, input: Option<String>) -> Self
pub fn set_by_resource_type(self, input: Option<String>) -> Self
Returns only backup jobs for the specified resources:
-
Aurora
for Amazon Aurora -
DocumentDB
for Amazon DocumentDB (with MongoDB compatibility) -
DynamoDB
for Amazon DynamoDB -
EBS
for Amazon Elastic Block Store -
EC2
for Amazon Elastic Compute Cloud -
EFS
for Amazon Elastic File System -
FSx
for Amazon FSx -
Neptune
for Amazon Neptune -
RDS
for Amazon Relational Database Service -
Storage Gateway
for Storage Gateway -
S3
for Amazon S3 -
VirtualMachine
for virtual machines
sourcepub fn by_account_id(self, input: impl Into<String>) -> Self
pub fn by_account_id(self, input: impl Into<String>) -> Self
The account ID to list the jobs from. Returns only backup jobs associated with the specified account ID.
If used from an Organizations management account, passing *
returns all jobs across the organization.
sourcepub fn set_by_account_id(self, input: Option<String>) -> Self
pub fn set_by_account_id(self, input: Option<String>) -> Self
The account ID to list the jobs from. Returns only backup jobs associated with the specified account ID.
If used from an Organizations management account, passing *
returns all jobs across the organization.
sourcepub fn by_complete_after(self, input: DateTime) -> Self
pub fn by_complete_after(self, input: DateTime) -> Self
Returns only backup jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
sourcepub fn set_by_complete_after(self, input: Option<DateTime>) -> Self
pub fn set_by_complete_after(self, input: Option<DateTime>) -> Self
Returns only backup jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
sourcepub fn by_complete_before(self, input: DateTime) -> Self
pub fn by_complete_before(self, input: DateTime) -> Self
Returns only backup jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
sourcepub fn set_by_complete_before(self, input: Option<DateTime>) -> Self
pub fn set_by_complete_before(self, input: Option<DateTime>) -> Self
Returns only backup jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
sourcepub fn build(self) -> Result<ListBackupJobsInput, BuildError>
pub fn build(self) -> Result<ListBackupJobsInput, BuildError>
Consumes the builder and constructs a ListBackupJobsInput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more