com.baidubce.services.bos.model
Class CopyObjectResponseWithExceptionInfo

java.lang.Object
  extended by com.baidubce.model.AbstractBceResponse
      extended by com.baidubce.services.bos.model.BosResponse
          extended by com.baidubce.services.bos.model.CopyObjectResponse
              extended by com.baidubce.services.bos.model.CopyObjectResponseWithExceptionInfo
All Implemented Interfaces:
Serializable

public class CopyObjectResponseWithExceptionInfo
extends CopyObjectResponse

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.baidubce.model.AbstractBceResponse
metadata
 
Constructor Summary
CopyObjectResponseWithExceptionInfo()
           
 
Method Summary
 String getCode()
          Returns the error code which represents the error type.
 String getMessage()
          Gets the detail error message.
 String getRequestId()
          Returns the requestID.
 void setCode(String code)
          Sets the error code which represents the error type;
 void setMessage(String message)
          Sets the error message.
 void setRequestId(String requestId)
          Sets the request ID.
 
Methods inherited from class com.baidubce.services.bos.model.CopyObjectResponse
getETag, getLastModified, setETag, setLastModified
 
Methods inherited from class com.baidubce.services.bos.model.BosResponse
getMetadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyObjectResponseWithExceptionInfo

public CopyObjectResponseWithExceptionInfo()
Method Detail

getMessage

public String getMessage()
Gets the detail error message.

Returns:
the detail error message.

setMessage

public void setMessage(String message)
Sets the error message.

Parameters:
message - the detail error message.

getCode

public String getCode()
Returns the error code which represents the error type.

Returns:
the bos error code which represents the error type.

setCode

public void setCode(String code)
Sets the error code which represents the error type;

Parameters:
code - the bos error code which represents the error type.

getRequestId

public String getRequestId()
Returns the requestID.

Returns:
the bos requestID.

setRequestId

public void setRequestId(String requestId)
Sets the request ID.

Parameters:
requestId - the request ID


Copyright © 2018. All rights reserved.