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