com.baidubce.services.bos.model
Class FetchObjectResponse

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

public class FetchObjectResponse
extends BosResponse

Contains the data returned by Baidu Bos from the BosClient.fetchObject(FetchObjectRequest fetchObjectRequest) call. This result may be ignored if not needed; otherwise, use this result to access information about the new object created from the fetchObject call.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.baidubce.model.AbstractBceResponse
metadata
 
Constructor Summary
FetchObjectResponse()
           
 
Method Summary
 String getCode()
          Gets the code of this fetching that was created in the associated FetchObjectRequest.
 String getJobId()
          Gets the jobId of this fetching that was created in the associated FetchObjectRequest.
 String getMessage()
          Gets the message of this fetching that was created in the associated FetchObjectRequest.
 String getRequestId()
          Gets the requestId of this fetching that was created in the associated FetchObjectRequest.
 void setCode(String code)
          Sets the code of this fetching that was created in the associated FetchObjectRequest.
 void setJobId(String jobId)
          Sets the jobId of this fetching that was created in the associated FetchObjectRequest.
 void setMessage(String message)
          Sets the message of this fetching that was created in the associated FetchObjectRequest.
 void setRequestId(String requestId)
          Sets the requestId of this fetching that was created in the associated FetchObjectRequest.
 
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

FetchObjectResponse

public FetchObjectResponse()
Method Detail

getCode

public String getCode()
Gets the code of this fetching that was created in the associated FetchObjectRequest.

Returns:
The code of the fetch object response.

setCode

public void setCode(String code)
Sets the code of this fetching that was created in the associated FetchObjectRequest.

Parameters:
code - The code of this fetching that was created in the associated FetchObjectRequest.

getMessage

public String getMessage()
Gets the message of this fetching that was created in the associated FetchObjectRequest.

Returns:
The message of the fetch object response.

setMessage

public void setMessage(String message)
Sets the message of this fetching that was created in the associated FetchObjectRequest.

Parameters:
message - The message of this fetching that was created in the associated FetchObjectRequest.

getRequestId

public String getRequestId()
Gets the requestId of this fetching that was created in the associated FetchObjectRequest.

Returns:
The requestId of the fetch object response.

setRequestId

public void setRequestId(String requestId)
Sets the requestId of this fetching that was created in the associated FetchObjectRequest.

Parameters:
requestId - The requestId of this fetching that was created in the associated FetchObjectRequest.

getJobId

public String getJobId()
Gets the jobId of this fetching that was created in the associated FetchObjectRequest.

Returns:
The jobId of the fetch object response.

setJobId

public void setJobId(String jobId)
Sets the jobId of this fetching that was created in the associated FetchObjectRequest.

Parameters:
jobId - The jobId of this fetching that was created in the associated FetchObjectRequest.


Copyright © 2018. All rights reserved.