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 ==
.impl StructuralPartialEq for PublishPackageVersionOutputBuilder
Auto Trait Implementations§
impl Freeze for PublishPackageVersionOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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