Struct aws_sdk_iot::types::builders::PackageVersionSummaryBuilder
source · #[non_exhaustive]pub struct PackageVersionSummaryBuilder { /* private fields */ }
Expand description
A builder for PackageVersionSummary
.
Implementations§
source§impl PackageVersionSummaryBuilder
impl PackageVersionSummaryBuilder
sourcepub fn package_name(self, input: impl Into<String>) -> Self
pub fn package_name(self, input: impl Into<String>) -> Self
The name of the associated software package.
sourcepub fn set_package_name(self, input: Option<String>) -> Self
pub fn set_package_name(self, input: Option<String>) -> Self
The name of the associated software package.
sourcepub fn get_package_name(&self) -> &Option<String>
pub fn get_package_name(&self) -> &Option<String>
The name of the associated software package.
sourcepub fn version_name(self, input: impl Into<String>) -> Self
pub fn version_name(self, input: impl Into<String>) -> Self
The name of the target package version.
sourcepub fn set_version_name(self, input: Option<String>) -> Self
pub fn set_version_name(self, input: Option<String>) -> Self
The name of the target package version.
sourcepub fn get_version_name(&self) -> &Option<String>
pub fn get_version_name(&self) -> &Option<String>
The name of the target package version.
sourcepub fn status(self, input: PackageVersionStatus) -> Self
pub fn status(self, input: PackageVersionStatus) -> Self
The status of the package version. For more information, see Package version lifecycle.
sourcepub fn set_status(self, input: Option<PackageVersionStatus>) -> Self
pub fn set_status(self, input: Option<PackageVersionStatus>) -> Self
The status of the package version. For more information, see Package version lifecycle.
sourcepub fn get_status(&self) -> &Option<PackageVersionStatus>
pub fn get_status(&self) -> &Option<PackageVersionStatus>
The status of the package version. For more information, see Package version lifecycle.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The date that the package version was created.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The date that the package version was created.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The date that the package version was created.
sourcepub fn last_modified_date(self, input: DateTime) -> Self
pub fn last_modified_date(self, input: DateTime) -> Self
The date that the package version was last updated.
sourcepub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
The date that the package version was last updated.
sourcepub fn get_last_modified_date(&self) -> &Option<DateTime>
pub fn get_last_modified_date(&self) -> &Option<DateTime>
The date that the package version was last updated.
sourcepub fn build(self) -> PackageVersionSummary
pub fn build(self) -> PackageVersionSummary
Consumes the builder and constructs a PackageVersionSummary
.
Trait Implementations§
source§impl Clone for PackageVersionSummaryBuilder
impl Clone for PackageVersionSummaryBuilder
source§fn clone(&self) -> PackageVersionSummaryBuilder
fn clone(&self) -> PackageVersionSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PackageVersionSummaryBuilder
impl Debug for PackageVersionSummaryBuilder
source§impl Default for PackageVersionSummaryBuilder
impl Default for PackageVersionSummaryBuilder
source§fn default() -> PackageVersionSummaryBuilder
fn default() -> PackageVersionSummaryBuilder
source§impl PartialEq for PackageVersionSummaryBuilder
impl PartialEq for PackageVersionSummaryBuilder
source§fn eq(&self, other: &PackageVersionSummaryBuilder) -> bool
fn eq(&self, other: &PackageVersionSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PackageVersionSummaryBuilder
Auto Trait Implementations§
impl Freeze for PackageVersionSummaryBuilder
impl RefUnwindSafe for PackageVersionSummaryBuilder
impl Send for PackageVersionSummaryBuilder
impl Sync for PackageVersionSummaryBuilder
impl Unpin for PackageVersionSummaryBuilder
impl UnwindSafe for PackageVersionSummaryBuilder
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