pub struct SnapshotImportedFluentBuilder { /* private fields */ }Expand description
Fluent builder for the snapshot_imported waiter.
This builder is intended to be used similar to the other fluent builders for
normal operations on the client. However, instead of a send method, it has
a wait method that takes a maximum amount of time to wait.
Construct this fluent builder using the client by importing the
Waiters trait and calling the methods
prefixed with wait_until.
Implementations§
source§impl SnapshotImportedFluentBuilder
impl SnapshotImportedFluentBuilder
sourcepub fn as_input(&self) -> &DescribeImportSnapshotTasksInputBuilder
pub fn as_input(&self) -> &DescribeImportSnapshotTasksInputBuilder
Access the DescribeImportSnapshotTasks as a reference.
sourcepub async fn wait(
self,
max_wait: Duration,
) -> Result<SnapshotImportedFinalPoll, WaitUntilSnapshotImportedError>
pub async fn wait( self, max_wait: Duration, ) -> Result<SnapshotImportedFinalPoll, WaitUntilSnapshotImportedError>
Wait for snapshot_imported
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
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.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
The filters.
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
The filters.
sourcepub fn import_task_ids(self, input: impl Into<String>) -> Self
pub fn import_task_ids(self, input: impl Into<String>) -> Self
Appends an item to ImportTaskIds.
To override the contents of this collection use set_import_task_ids.
A list of import snapshot task IDs.
sourcepub fn set_import_task_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_import_task_ids(self, input: Option<Vec<String>>) -> Self
A list of import snapshot task IDs.
sourcepub fn get_import_task_ids(&self) -> &Option<Vec<String>>
pub fn get_import_task_ids(&self) -> &Option<Vec<String>>
A list of import snapshot task IDs.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that indicates the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that indicates the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token that indicates the next page of results.
Trait Implementations§
source§impl Clone for SnapshotImportedFluentBuilder
impl Clone for SnapshotImportedFluentBuilder
source§fn clone(&self) -> SnapshotImportedFluentBuilder
fn clone(&self) -> SnapshotImportedFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for SnapshotImportedFluentBuilder
impl !RefUnwindSafe for SnapshotImportedFluentBuilder
impl Send for SnapshotImportedFluentBuilder
impl Sync for SnapshotImportedFluentBuilder
impl Unpin for SnapshotImportedFluentBuilder
impl !UnwindSafe for SnapshotImportedFluentBuilder
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)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more