public final class RequestResult extends Object
| Constructor and Description |
|---|
RequestResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentMD5()
Gets the MD5 hash for the request.
|
String |
getEtag()
Gets the ETag for the request.
|
Exception |
getException()
Gets the
Exception for the request. |
String |
getRequestDate()
Gets the request date.
|
String |
getServiceRequestID()
Gets the service request ID.
|
Date |
getStartDate()
Gets the start date for the request.
|
int |
getStatusCode()
Gets the HTTP status code for the request.
|
String |
getStatusMessage()
Gets the HTTP status message for the request.
|
Date |
getStopDate()
Gets the stop date for the request.
|
StorageLocation |
getTargetLocation()
Gets the location that the request was sent to.
|
boolean |
isRequestServiceEncrypted()
Gets whether the request is server-side encrypted.
|
void |
setContentMD5(String contentMD5)
Sets the MD5 hash for the request.
|
void |
setEtag(String etag)
Sets the ETag for the request.
|
void |
setException(Exception exception)
Sets the
Exception for the request. |
void |
setRequestDate(String requestDate)
Sets the request date.
|
void |
setRequestServiceEncrypted(boolean requestServiceEncrypted)
Sets the request's server-encryption status.
|
void |
setServiceRequestID(String serviceRequestID)
Sets the service request ID.
|
void |
setStartDate(Date startDate)
Sets the start date for the request.
|
void |
setStatusCode(int statusCode)
Sets the HTTP status code for the request.
|
void |
setStatusMessage(String statusMessage)
Sets the HTTP status message for the request.
|
void |
setStopDate(Date stopDate)
Sets the stop date for the request.
|
void |
setTargetLocation(StorageLocation targetLocation)
Sets the location that the request was sent to.
|
public StorageLocation getTargetLocation()
StorageLocation object.public String getContentMD5()
String which contains the MD5 hash.public String getEtag()
String which contains the ETag.public Exception getException()
Exception for the request.Exception.public String getRequestDate()
String which contains the date of the request.public boolean isRequestServiceEncrypted()
boolean which contains the server-side encryption status of the request.public String getServiceRequestID()
String which contains the service request ID.public Date getStartDate()
java.util.Date object which contains the start date.public int getStatusCode()
int which contains the HTTP status code.public String getStatusMessage()
String which contains the HTTP status message.public Date getStopDate()
java.util.Date object which contains the stop date.public void setContentMD5(String contentMD5)
contentMD5 - A String object which contains the MD5 hash to set.public void setEtag(String etag)
etag - A String object which contains the ETag to set.public void setException(Exception exception)
Exception for the request.exception - The Exception to set.public void setRequestDate(String requestDate)
requestDate - A java.util.Date object which contains the request date to set.public void setRequestServiceEncrypted(boolean requestServiceEncrypted)
requestServiceEncrypted - A boolean object which represents the server-encryption status to set.public void setServiceRequestID(String serviceRequestID)
serviceRequestID - A String object which contains the service request ID to set.public void setStartDate(Date startDate)
startDate - A java.util.Date object which contains the start date to set.public void setStatusCode(int statusCode)
statusCode - An int which contains the HTTP status code to set.public void setStatusMessage(String statusMessage)
statusMessage - A String which contains the status message to set.public void setStopDate(Date stopDate)
stopDate - A java.util.Date object which contains the stop date to set.public void setTargetLocation(StorageLocation targetLocation)
targetLocation - A StorageLocation object to set.Copyright © 2019. All rights reserved.