Struct aws_sdk_ec2::operation::describe_import_image_tasks::builders::DescribeImportImageTasksOutputBuilder
source · #[non_exhaustive]pub struct DescribeImportImageTasksOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeImportImageTasksOutput
.
Implementations§
source§impl DescribeImportImageTasksOutputBuilder
impl DescribeImportImageTasksOutputBuilder
sourcepub fn import_image_tasks(self, input: ImportImageTask) -> Self
pub fn import_image_tasks(self, input: ImportImageTask) -> Self
Appends an item to import_image_tasks
.
To override the contents of this collection use set_import_image_tasks
.
A list of zero or more import image tasks that are currently active or were completed or canceled in the previous 7 days.
sourcepub fn set_import_image_tasks(self, input: Option<Vec<ImportImageTask>>) -> Self
pub fn set_import_image_tasks(self, input: Option<Vec<ImportImageTask>>) -> Self
A list of zero or more import image tasks that are currently active or were completed or canceled in the previous 7 days.
sourcepub fn get_import_image_tasks(&self) -> &Option<Vec<ImportImageTask>>
pub fn get_import_image_tasks(&self) -> &Option<Vec<ImportImageTask>>
A list of zero or more import image 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) -> DescribeImportImageTasksOutput
pub fn build(self) -> DescribeImportImageTasksOutput
Consumes the builder and constructs a DescribeImportImageTasksOutput
.
Trait Implementations§
source§impl Clone for DescribeImportImageTasksOutputBuilder
impl Clone for DescribeImportImageTasksOutputBuilder
source§fn clone(&self) -> DescribeImportImageTasksOutputBuilder
fn clone(&self) -> DescribeImportImageTasksOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeImportImageTasksOutputBuilder
impl Default for DescribeImportImageTasksOutputBuilder
source§fn default() -> DescribeImportImageTasksOutputBuilder
fn default() -> DescribeImportImageTasksOutputBuilder
source§impl PartialEq for DescribeImportImageTasksOutputBuilder
impl PartialEq for DescribeImportImageTasksOutputBuilder
source§fn eq(&self, other: &DescribeImportImageTasksOutputBuilder) -> bool
fn eq(&self, other: &DescribeImportImageTasksOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeImportImageTasksOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeImportImageTasksOutputBuilder
impl RefUnwindSafe for DescribeImportImageTasksOutputBuilder
impl Send for DescribeImportImageTasksOutputBuilder
impl Sync for DescribeImportImageTasksOutputBuilder
impl Unpin for DescribeImportImageTasksOutputBuilder
impl UnwindSafe for DescribeImportImageTasksOutputBuilder
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