pub struct Builder { /* private fields */ }
Expand description
A builder for UpdatePackageVersionsStatusOutput
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> UpdatePackageVersionsStatusOutput
pub fn build(self) -> UpdatePackageVersionsStatusOutput
Consumes the builder and constructs a UpdatePackageVersionsStatusOutput
.