Struct aws_sdk_codeartifact::operation::publish_package_version::builders::PublishPackageVersionOutputBuilder
source · #[non_exhaustive]pub struct PublishPackageVersionOutputBuilder { /* private fields */ }
Expand description
A builder for PublishPackageVersionOutput
.
Implementations§
source§impl PublishPackageVersionOutputBuilder
impl PublishPackageVersionOutputBuilder
sourcepub fn format(self, input: PackageFormat) -> Self
pub fn format(self, input: PackageFormat) -> Self
The format of the package version.
sourcepub fn set_format(self, input: Option<PackageFormat>) -> Self
pub fn set_format(self, input: Option<PackageFormat>) -> Self
The format of the package version.
sourcepub fn get_format(&self) -> &Option<PackageFormat>
pub fn get_format(&self) -> &Option<PackageFormat>
The format of the package version.
sourcepub fn set_namespace(self, input: Option<String>) -> Self
pub fn set_namespace(self, input: Option<String>) -> Self
The namespace of the package version.
sourcepub fn get_namespace(&self) -> &Option<String>
pub fn get_namespace(&self) -> &Option<String>
The namespace of the package version.
sourcepub fn set_package(self, input: Option<String>) -> Self
pub fn set_package(self, input: Option<String>) -> Self
The name of the package.
sourcepub fn get_package(&self) -> &Option<String>
pub fn get_package(&self) -> &Option<String>
The name of the package.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The version of the package.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
The version of the package.
sourcepub fn version_revision(self, input: impl Into<String>) -> Self
pub fn version_revision(self, input: impl Into<String>) -> Self
The revision of the package version.
sourcepub fn set_version_revision(self, input: Option<String>) -> Self
pub fn set_version_revision(self, input: Option<String>) -> Self
The revision of the package version.
sourcepub fn get_version_revision(&self) -> &Option<String>
pub fn get_version_revision(&self) -> &Option<String>
The revision of the package version.
sourcepub fn status(self, input: PackageVersionStatus) -> Self
pub fn status(self, input: PackageVersionStatus) -> Self
A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.
sourcepub fn set_status(self, input: Option<PackageVersionStatus>) -> Self
pub fn set_status(self, input: Option<PackageVersionStatus>) -> Self
A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.
sourcepub fn get_status(&self) -> &Option<PackageVersionStatus>
pub fn get_status(&self) -> &Option<PackageVersionStatus>
A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.
sourcepub fn asset(self, input: AssetSummary) -> Self
pub fn asset(self, input: AssetSummary) -> Self
An AssetSummary for the published asset.
sourcepub fn set_asset(self, input: Option<AssetSummary>) -> Self
pub fn set_asset(self, input: Option<AssetSummary>) -> Self
An AssetSummary for the published asset.
sourcepub fn get_asset(&self) -> &Option<AssetSummary>
pub fn get_asset(&self) -> &Option<AssetSummary>
An AssetSummary for the published asset.
sourcepub fn build(self) -> PublishPackageVersionOutput
pub fn build(self) -> PublishPackageVersionOutput
Consumes the builder and constructs a PublishPackageVersionOutput
.
Trait Implementations§
source§impl Clone for PublishPackageVersionOutputBuilder
impl Clone for PublishPackageVersionOutputBuilder
source§fn clone(&self) -> PublishPackageVersionOutputBuilder
fn clone(&self) -> PublishPackageVersionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PublishPackageVersionOutputBuilder
impl Default for PublishPackageVersionOutputBuilder
source§fn default() -> PublishPackageVersionOutputBuilder
fn default() -> PublishPackageVersionOutputBuilder
source§impl PartialEq for PublishPackageVersionOutputBuilder
impl PartialEq for PublishPackageVersionOutputBuilder
source§fn eq(&self, other: &PublishPackageVersionOutputBuilder) -> bool
fn eq(&self, other: &PublishPackageVersionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.