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 set_namespace(self, input: Option<String>) -> Self
pub fn set_namespace(self, input: Option<String>) -> Self
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 set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
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 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 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 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
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 PublishPackageVersionOutputBuilder
impl Default for PublishPackageVersionOutputBuilder
source§fn default() -> PublishPackageVersionOutputBuilder
fn default() -> PublishPackageVersionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PublishPackageVersionOutputBuilder> for PublishPackageVersionOutputBuilder
impl PartialEq<PublishPackageVersionOutputBuilder> for PublishPackageVersionOutputBuilder
source§fn eq(&self, other: &PublishPackageVersionOutputBuilder) -> bool
fn eq(&self, other: &PublishPackageVersionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PublishPackageVersionOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PublishPackageVersionOutputBuilder
impl Send for PublishPackageVersionOutputBuilder
impl Sync for PublishPackageVersionOutputBuilder
impl Unpin for PublishPackageVersionOutputBuilder
impl UnwindSafe for PublishPackageVersionOutputBuilder
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