public class DeleteObjectsResult.ErrorResult extends Object
Constructor and Description |
---|
DeleteObjectsResult.ErrorResult(String objectKey,
String version,
String errorCode,
String message)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Error code returned after a deletion failure
|
String |
getMessage()
Obtain the error description returned after a deletion failure.
|
String |
getObjectKey()
Obtain the name of the object that fails to be deleted.
|
String |
getVersion()
Obtain the version ID of the object that fails to be deleted.
|
String |
toString() |
public DeleteObjectsResult.ErrorResult(String objectKey, String version, String errorCode, String message)
objectKey
- Name of the object that fails to be deletedversion
- Version ID of the object that fails to be deletederrorCode
- Error code returned after a deletion failuremessage
- Error information returned after a deletion failurepublic String getObjectKey()
public String getVersion()
public String getErrorCode()
public String getMessage()
Copyright © 2019. All rights reserved.