Struct aws_sdk_backup::client::fluent_builders::ListRestoreJobs
source · [−]pub struct ListRestoreJobs { /* private fields */ }
Expand description
Fluent builder constructing a request to ListRestoreJobs
.
Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.
Implementations
sourceimpl ListRestoreJobs
impl ListRestoreJobs
sourcepub async fn send(
self
) -> Result<ListRestoreJobsOutput, SdkError<ListRestoreJobsError>>
pub async fn send(
self
) -> Result<ListRestoreJobsOutput, SdkError<ListRestoreJobsError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn into_paginator(self) -> ListRestoreJobsPaginator
pub fn into_paginator(self) -> ListRestoreJobsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
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_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 restore jobs associated with the specified account ID.
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 restore jobs associated with the specified account ID.
sourcepub fn by_created_before(self, input: DateTime) -> Self
pub fn by_created_before(self, input: DateTime) -> Self
Returns only restore 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 restore 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 restore 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 restore jobs that were created after the specified date.
sourcepub fn by_status(self, input: RestoreJobStatus) -> Self
pub fn by_status(self, input: RestoreJobStatus) -> Self
Returns only restore jobs associated with the specified job status.
sourcepub fn set_by_status(self, input: Option<RestoreJobStatus>) -> Self
pub fn set_by_status(self, input: Option<RestoreJobStatus>) -> Self
Returns only restore jobs associated with the specified job status.
sourcepub fn by_complete_before(self, input: DateTime) -> Self
pub fn by_complete_before(self, input: DateTime) -> Self
Returns only copy 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 copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
sourcepub fn by_complete_after(self, input: DateTime) -> Self
pub fn by_complete_after(self, input: DateTime) -> Self
Returns only copy 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 copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
Trait Implementations
sourceimpl Clone for ListRestoreJobs
impl Clone for ListRestoreJobs
sourcefn clone(&self) -> ListRestoreJobs
fn clone(&self) -> ListRestoreJobs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ListRestoreJobs
impl Send for ListRestoreJobs
impl Sync for ListRestoreJobs
impl Unpin for ListRestoreJobs
impl !UnwindSafe for ListRestoreJobs
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