Struct aws_sdk_iot::operation::list_package_versions::builders::ListPackageVersionsOutputBuilder
source · #[non_exhaustive]pub struct ListPackageVersionsOutputBuilder { /* private fields */ }
Expand description
A builder for ListPackageVersionsOutput
.
Implementations§
source§impl ListPackageVersionsOutputBuilder
impl ListPackageVersionsOutputBuilder
sourcepub fn package_version_summaries(self, input: PackageVersionSummary) -> Self
pub fn package_version_summaries(self, input: PackageVersionSummary) -> Self
Appends an item to package_version_summaries
.
To override the contents of this collection use set_package_version_summaries
.
Lists the package versions associated to the package.
sourcepub fn set_package_version_summaries(
self,
input: Option<Vec<PackageVersionSummary>>,
) -> Self
pub fn set_package_version_summaries( self, input: Option<Vec<PackageVersionSummary>>, ) -> Self
Lists the package versions associated to the package.
sourcepub fn get_package_version_summaries(
&self,
) -> &Option<Vec<PackageVersionSummary>>
pub fn get_package_version_summaries( &self, ) -> &Option<Vec<PackageVersionSummary>>
Lists the package versions associated to the package.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results.
sourcepub fn build(self) -> ListPackageVersionsOutput
pub fn build(self) -> ListPackageVersionsOutput
Consumes the builder and constructs a ListPackageVersionsOutput
.
Trait Implementations§
source§impl Clone for ListPackageVersionsOutputBuilder
impl Clone for ListPackageVersionsOutputBuilder
source§fn clone(&self) -> ListPackageVersionsOutputBuilder
fn clone(&self) -> ListPackageVersionsOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ListPackageVersionsOutputBuilder
impl Default for ListPackageVersionsOutputBuilder
source§fn default() -> ListPackageVersionsOutputBuilder
fn default() -> ListPackageVersionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListPackageVersionsOutputBuilder
impl PartialEq for ListPackageVersionsOutputBuilder
source§fn eq(&self, other: &ListPackageVersionsOutputBuilder) -> bool
fn eq(&self, other: &ListPackageVersionsOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ListPackageVersionsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListPackageVersionsOutputBuilder
impl RefUnwindSafe for ListPackageVersionsOutputBuilder
impl Send for ListPackageVersionsOutputBuilder
impl Sync for ListPackageVersionsOutputBuilder
impl Unpin for ListPackageVersionsOutputBuilder
impl UnwindSafe for ListPackageVersionsOutputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.