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 ==.