public class ErrorResponse extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
bucketName |
protected String |
code |
protected String |
hostId |
protected String |
message |
protected String |
objectName |
protected String |
requestId |
protected String |
resource |
Constructor and Description |
---|
ErrorResponse() |
ErrorResponse(String code,
String message,
String bucketName,
String objectName,
String resource,
String requestId,
String hostId)
Constructs a new ErrorResponse object with error code, bucket name, object name, resource,
request ID and host ID.
|
Modifier and Type | Method and Description |
---|---|
String |
bucketName()
Returns bucket name.
|
String |
code()
Returns error code.
|
String |
hostId()
Returns host ID.
|
String |
message()
Returns error message.
|
String |
objectName()
Returns object name.
|
String |
requestId()
Returns request ID.
|
String |
resource()
Returns resource.
|
String |
toString()
Returns string representation of this object.
|
protected String code
protected String message
protected String bucketName
protected String objectName
protected String resource
protected String requestId
protected String hostId
public String code()
public String message()
public String bucketName()
public String objectName()
public String hostId()
public String requestId()
public String resource()