@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeletePackageVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DeletePackageVersionsResult() |
Modifier and Type | Method and Description |
---|---|
DeletePackageVersionsResult |
addFailedVersionsEntry(String key,
PackageVersionError value)
Add a single FailedVersions entry
|
DeletePackageVersionsResult |
addSuccessfulVersionsEntry(String key,
SuccessfulPackageVersionInfo value)
Add a single SuccessfulVersions entry
|
DeletePackageVersionsResult |
clearFailedVersionsEntries()
Removes all the entries added into FailedVersions.
|
DeletePackageVersionsResult |
clearSuccessfulVersionsEntries()
Removes all the entries added into SuccessfulVersions.
|
DeletePackageVersionsResult |
clone() |
boolean |
equals(Object obj) |
Map<String,PackageVersionError> |
getFailedVersions()
A
PackageVersionError object that contains a map of errors codes for the deleted package that
failed. |
Map<String,SuccessfulPackageVersionInfo> |
getSuccessfulVersions()
A list of the package versions that were successfully deleted.
|
int |
hashCode() |
void |
setFailedVersions(Map<String,PackageVersionError> failedVersions)
A
PackageVersionError object that contains a map of errors codes for the deleted package that
failed. |
void |
setSuccessfulVersions(Map<String,SuccessfulPackageVersionInfo> successfulVersions)
A list of the package versions that were successfully deleted.
|
String |
toString()
Returns a string representation of this object.
|
DeletePackageVersionsResult |
withFailedVersions(Map<String,PackageVersionError> failedVersions)
A
PackageVersionError object that contains a map of errors codes for the deleted package that
failed. |
DeletePackageVersionsResult |
withSuccessfulVersions(Map<String,SuccessfulPackageVersionInfo> successfulVersions)
A list of the package versions that were successfully deleted.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public Map<String,SuccessfulPackageVersionInfo> getSuccessfulVersions()
A list of the package versions that were successfully deleted. The status of every successful version will be
Deleted
.
Deleted
.public void setSuccessfulVersions(Map<String,SuccessfulPackageVersionInfo> successfulVersions)
A list of the package versions that were successfully deleted. The status of every successful version will be
Deleted
.
successfulVersions
- A list of the package versions that were successfully deleted. The status of every successful version will
be Deleted
.public DeletePackageVersionsResult withSuccessfulVersions(Map<String,SuccessfulPackageVersionInfo> successfulVersions)
A list of the package versions that were successfully deleted. The status of every successful version will be
Deleted
.
successfulVersions
- A list of the package versions that were successfully deleted. The status of every successful version will
be Deleted
.public DeletePackageVersionsResult addSuccessfulVersionsEntry(String key, SuccessfulPackageVersionInfo value)
public DeletePackageVersionsResult clearSuccessfulVersionsEntries()
public Map<String,PackageVersionError> getFailedVersions()
A PackageVersionError
object that contains a map of errors codes for the deleted package that
failed. The possible error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
PackageVersionError
object that contains a map of errors codes for the deleted package
that failed. The possible error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
public void setFailedVersions(Map<String,PackageVersionError> failedVersions)
A PackageVersionError
object that contains a map of errors codes for the deleted package that
failed. The possible error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
failedVersions
- A PackageVersionError
object that contains a map of errors codes for the deleted package that
failed. The possible error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
public DeletePackageVersionsResult withFailedVersions(Map<String,PackageVersionError> failedVersions)
A PackageVersionError
object that contains a map of errors codes for the deleted package that
failed. The possible error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
failedVersions
- A PackageVersionError
object that contains a map of errors codes for the deleted package that
failed. The possible error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
public DeletePackageVersionsResult addFailedVersionsEntry(String key, PackageVersionError value)
public DeletePackageVersionsResult clearFailedVersionsEntries()
public String toString()
toString
in class Object
Object.toString()
public DeletePackageVersionsResult clone()