Struct aws_sdk_codeartifact::output::copy_package_versions_output::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for CopyPackageVersionsOutput
Implementations
pub fn successful_versions(
self,
k: impl Into<String>,
v: impl Into<SuccessfulPackageVersionInfo>
) -> Self
pub fn successful_versions(
self,
k: impl Into<String>,
v: impl Into<SuccessfulPackageVersionInfo>
) -> Self
Adds a key-value pair to successful_versions
.
To override the contents of this collection use set_successful_versions
.
A list of the package versions that were successfully copied to your repository.
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 the package versions that were successfully copied to your repository.
Adds a key-value pair to failed_versions
.
To override the contents of this collection use set_failed_versions
.
A map of package versions that failed to copy and their error codes. The possible error codes are in
the PackageVersionError
data type. They are:
-
ALREADY_EXISTS
-
MISMATCHED_REVISION
-
MISMATCHED_STATUS
-
NOT_ALLOWED
-
NOT_FOUND
-
SKIPPED
A map of package versions that failed to copy and their error codes. The possible error codes are in
the PackageVersionError
data type. They are:
-
ALREADY_EXISTS
-
MISMATCHED_REVISION
-
MISMATCHED_STATUS
-
NOT_ALLOWED
-
NOT_FOUND
-
SKIPPED
Consumes the builder and constructs a CopyPackageVersionsOutput
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