类 DeleteObjectsResult.ErrorResult

java.lang.Object
com.obs.services.model.DeleteObjectsResult.ErrorResult
封闭类:
DeleteObjectsResult

public static class DeleteObjectsResult.ErrorResult extends Object
Results returned if the deletion fails
  • 构造器详细资料

    • ErrorResult

      public ErrorResult(String objectKey, String version, String errorCode, String message)
      Constructor
      参数:
      objectKey - Name of the object that fails to be deleted
      version - Version ID of the object that fails to be deleted
      errorCode - Error code returned after a deletion failure
      message - Error information returned after a deletion failure
  • 方法详细资料

    • getObjectKey

      public String getObjectKey()
      Obtain the name of the object that fails to be deleted.
      返回:
      Name of the object that fails to be deleted
    • getVersion

      public String getVersion()
      Obtain the version ID of the object that fails to be deleted.
      返回:
      Version ID of the object that fails to be deleted
    • getErrorCode

      public String getErrorCode()
      Error code returned after a deletion failure
      返回:
      Error code returned after a deletion failure
    • getMessage

      public String getMessage()
      Obtain the error description returned after a deletion failure.
      返回:
      Error information returned after a deletion failure
    • setObjectKey

      public void setObjectKey(String objectKey)
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object