#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for UpdatePackageVersionsStatusOutput
Implementations
pub 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.
pub 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.
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.
pub 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.
Consumes the builder and constructs a UpdatePackageVersionsStatusOutput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more