Struct aws_sdk_ec2::operation::describe_import_snapshot_tasks::builders::DescribeImportSnapshotTasksOutputBuilder
source · #[non_exhaustive]pub struct DescribeImportSnapshotTasksOutputBuilder { /* private fields */ }Expand description
A builder for DescribeImportSnapshotTasksOutput.
Implementations§
source§impl DescribeImportSnapshotTasksOutputBuilder
impl DescribeImportSnapshotTasksOutputBuilder
sourcepub fn import_snapshot_tasks(self, input: ImportSnapshotTask) -> Self
pub fn import_snapshot_tasks(self, input: ImportSnapshotTask) -> Self
Appends an item to import_snapshot_tasks.
To override the contents of this collection use set_import_snapshot_tasks.
A list of zero or more import snapshot tasks that are currently active or were completed or canceled in the previous 7 days.
sourcepub fn set_import_snapshot_tasks(
self,
input: Option<Vec<ImportSnapshotTask>>
) -> Self
pub fn set_import_snapshot_tasks( self, input: Option<Vec<ImportSnapshotTask>> ) -> Self
A list of zero or more import snapshot tasks that are currently active or were completed or canceled in the previous 7 days.
sourcepub fn get_import_snapshot_tasks(&self) -> &Option<Vec<ImportSnapshotTask>>
pub fn get_import_snapshot_tasks(&self) -> &Option<Vec<ImportSnapshotTask>>
A list of zero or more import snapshot tasks that are currently active or were completed or canceled in the previous 7 days.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to get the next page of results. This value is null when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to get the next page of results. This value is null when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to get the next page of results. This value is null when there are no more results to return.
sourcepub fn build(self) -> DescribeImportSnapshotTasksOutput
pub fn build(self) -> DescribeImportSnapshotTasksOutput
Consumes the builder and constructs a DescribeImportSnapshotTasksOutput.
Trait Implementations§
source§impl Clone for DescribeImportSnapshotTasksOutputBuilder
impl Clone for DescribeImportSnapshotTasksOutputBuilder
source§fn clone(&self) -> DescribeImportSnapshotTasksOutputBuilder
fn clone(&self) -> DescribeImportSnapshotTasksOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeImportSnapshotTasksOutputBuilder
impl Default for DescribeImportSnapshotTasksOutputBuilder
source§fn default() -> DescribeImportSnapshotTasksOutputBuilder
fn default() -> DescribeImportSnapshotTasksOutputBuilder
source§impl PartialEq for DescribeImportSnapshotTasksOutputBuilder
impl PartialEq for DescribeImportSnapshotTasksOutputBuilder
source§fn eq(&self, other: &DescribeImportSnapshotTasksOutputBuilder) -> bool
fn eq(&self, other: &DescribeImportSnapshotTasksOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeImportSnapshotTasksOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeImportSnapshotTasksOutputBuilder
impl RefUnwindSafe for DescribeImportSnapshotTasksOutputBuilder
impl Send for DescribeImportSnapshotTasksOutputBuilder
impl Sync for DescribeImportSnapshotTasksOutputBuilder
impl Unpin for DescribeImportSnapshotTasksOutputBuilder
impl UnwindSafe for DescribeImportSnapshotTasksOutputBuilder
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> 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