@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyPackageVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
CopyPackageVersionsResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
CopyPackageVersionsResult | 
addFailedVersionsEntry(String key,
                      PackageVersionError value)
Add a single FailedVersions entry 
 | 
CopyPackageVersionsResult | 
addSuccessfulVersionsEntry(String key,
                          SuccessfulPackageVersionInfo value)
Add a single SuccessfulVersions entry 
 | 
CopyPackageVersionsResult | 
clearFailedVersionsEntries()
Removes all the entries added into FailedVersions. 
 | 
CopyPackageVersionsResult | 
clearSuccessfulVersionsEntries()
Removes all the entries added into SuccessfulVersions. 
 | 
CopyPackageVersionsResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
Map<String,PackageVersionError> | 
getFailedVersions()
 A map of package versions that failed to copy and their error codes. 
 | 
Map<String,SuccessfulPackageVersionInfo> | 
getSuccessfulVersions()
 A list of the package versions that were successfully copied to your repository. 
 | 
int | 
hashCode()  | 
void | 
setFailedVersions(Map<String,PackageVersionError> failedVersions)
 A map of package versions that failed to copy and their error codes. 
 | 
void | 
setSuccessfulVersions(Map<String,SuccessfulPackageVersionInfo> successfulVersions)
 A list of the package versions that were successfully copied to your repository. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CopyPackageVersionsResult | 
withFailedVersions(Map<String,PackageVersionError> failedVersions)
 A map of package versions that failed to copy and their error codes. 
 | 
CopyPackageVersionsResult | 
withSuccessfulVersions(Map<String,SuccessfulPackageVersionInfo> successfulVersions)
 A list of the package versions that were successfully copied to your repository. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic Map<String,SuccessfulPackageVersionInfo> getSuccessfulVersions()
A list of the package versions that were successfully copied to your repository.
public void setSuccessfulVersions(Map<String,SuccessfulPackageVersionInfo> successfulVersions)
A list of the package versions that were successfully copied to your repository.
successfulVersions - A list of the package versions that were successfully copied to your repository.public CopyPackageVersionsResult withSuccessfulVersions(Map<String,SuccessfulPackageVersionInfo> successfulVersions)
A list of the package versions that were successfully copied to your repository.
successfulVersions - A list of the package versions that were successfully copied to your repository.public CopyPackageVersionsResult addSuccessfulVersionsEntry(String key, SuccessfulPackageVersionInfo value)
public CopyPackageVersionsResult clearSuccessfulVersionsEntries()
public Map<String,PackageVersionError> getFailedVersions()
 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
 
PackageVersionError data type. They are: 
         
         ALREADY_EXISTS
         
         MISMATCHED_REVISION
         
         MISMATCHED_STATUS
         
         NOT_ALLOWED
         
         NOT_FOUND
         
         SKIPPED
         
public void setFailedVersions(Map<String,PackageVersionError> failedVersions)
 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
 
failedVersions - 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
        
public CopyPackageVersionsResult withFailedVersions(Map<String,PackageVersionError> failedVersions)
 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
 
failedVersions - 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
        
public CopyPackageVersionsResult addFailedVersionsEntry(String key, PackageVersionError value)
public CopyPackageVersionsResult clearFailedVersionsEntries()
public String toString()
toString in class ObjectObject.toString()public CopyPackageVersionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.