Struct aws_sdk_codeartifact::operation::update_package_versions_status::builders::UpdatePackageVersionsStatusOutputBuilder
source · #[non_exhaustive]pub struct UpdatePackageVersionsStatusOutputBuilder { /* private fields */ }
Expand description
A builder for UpdatePackageVersionsStatusOutput
.
Implementations§
source§impl UpdatePackageVersionsStatusOutputBuilder
impl UpdatePackageVersionsStatusOutputBuilder
sourcepub fn successful_versions(
self,
k: impl Into<String>,
v: SuccessfulPackageVersionInfo,
) -> Self
pub fn successful_versions( self, k: impl Into<String>, v: SuccessfulPackageVersionInfo, ) -> Self
Adds a key-value pair to successful_versions
.
To override the contents of this collection use set_successful_versions
.
A list of PackageVersionError
objects, one for each package version with a status that failed to update.
sourcepub fn set_successful_versions(
self,
input: Option<HashMap<String, SuccessfulPackageVersionInfo>>,
) -> Self
pub fn set_successful_versions( self, input: Option<HashMap<String, SuccessfulPackageVersionInfo>>, ) -> Self
A list of PackageVersionError
objects, one for each package version with a status that failed to update.
sourcepub fn get_successful_versions(
&self,
) -> &Option<HashMap<String, SuccessfulPackageVersionInfo>>
pub fn get_successful_versions( &self, ) -> &Option<HashMap<String, SuccessfulPackageVersionInfo>>
A list of PackageVersionError
objects, one for each package version with a status that failed to update.
sourcepub fn failed_versions(
self,
k: impl Into<String>,
v: PackageVersionError,
) -> Self
pub fn failed_versions( self, k: impl Into<String>, v: PackageVersionError, ) -> Self
Adds a key-value pair to failed_versions
.
To override the contents of this collection use set_failed_versions
.
A list of SuccessfulPackageVersionInfo
objects, one for each package version with a status that successfully updated.
sourcepub fn set_failed_versions(
self,
input: Option<HashMap<String, PackageVersionError>>,
) -> Self
pub fn set_failed_versions( self, input: Option<HashMap<String, PackageVersionError>>, ) -> Self
A list of SuccessfulPackageVersionInfo
objects, one for each package version with a status that successfully updated.
sourcepub fn get_failed_versions(
&self,
) -> &Option<HashMap<String, PackageVersionError>>
pub fn get_failed_versions( &self, ) -> &Option<HashMap<String, PackageVersionError>>
A list of SuccessfulPackageVersionInfo
objects, one for each package version with a status that successfully updated.
sourcepub fn build(self) -> UpdatePackageVersionsStatusOutput
pub fn build(self) -> UpdatePackageVersionsStatusOutput
Consumes the builder and constructs a UpdatePackageVersionsStatusOutput
.
Trait Implementations§
source§impl Clone for UpdatePackageVersionsStatusOutputBuilder
impl Clone for UpdatePackageVersionsStatusOutputBuilder
source§fn clone(&self) -> UpdatePackageVersionsStatusOutputBuilder
fn clone(&self) -> UpdatePackageVersionsStatusOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdatePackageVersionsStatusOutputBuilder
impl Default for UpdatePackageVersionsStatusOutputBuilder
source§fn default() -> UpdatePackageVersionsStatusOutputBuilder
fn default() -> UpdatePackageVersionsStatusOutputBuilder
source§impl PartialEq for UpdatePackageVersionsStatusOutputBuilder
impl PartialEq for UpdatePackageVersionsStatusOutputBuilder
source§fn eq(&self, other: &UpdatePackageVersionsStatusOutputBuilder) -> bool
fn eq(&self, other: &UpdatePackageVersionsStatusOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdatePackageVersionsStatusOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdatePackageVersionsStatusOutputBuilder
impl RefUnwindSafe for UpdatePackageVersionsStatusOutputBuilder
impl Send for UpdatePackageVersionsStatusOutputBuilder
impl Sync for UpdatePackageVersionsStatusOutputBuilder
impl Unpin for UpdatePackageVersionsStatusOutputBuilder
impl UnwindSafe for UpdatePackageVersionsStatusOutputBuilder
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