public class CustomErrorResponse extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
CustomErrorResponse() |
| Modifier and Type | Method and Description |
|---|---|
CustomErrorResponse |
clone() |
boolean |
equals(Object obj) |
Long |
getErrorCachingMinTTL() |
Integer |
getErrorCode() |
String |
getResponseCode() |
String |
getResponsePagePath() |
int |
hashCode() |
void |
setErrorCachingMinTTL(Long errorCachingMinTTL) |
void |
setErrorCode(Integer errorCode) |
void |
setResponseCode(String responseCode) |
void |
setResponsePagePath(String responsePagePath) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CustomErrorResponse |
withErrorCachingMinTTL(Long errorCachingMinTTL) |
CustomErrorResponse |
withErrorCode(Integer errorCode) |
CustomErrorResponse |
withResponseCode(String responseCode) |
CustomErrorResponse |
withResponsePagePath(String responsePagePath) |
public void setErrorCode(Integer errorCode)
errorCode - public Integer getErrorCode()
public CustomErrorResponse withErrorCode(Integer errorCode)
errorCode - public void setResponsePagePath(String responsePagePath)
responsePagePath - public String getResponsePagePath()
public CustomErrorResponse withResponsePagePath(String responsePagePath)
responsePagePath - public void setResponseCode(String responseCode)
responseCode - public String getResponseCode()
public CustomErrorResponse withResponseCode(String responseCode)
responseCode - public void setErrorCachingMinTTL(Long errorCachingMinTTL)
errorCachingMinTTL - public Long getErrorCachingMinTTL()
public CustomErrorResponse withErrorCachingMinTTL(Long errorCachingMinTTL)
errorCachingMinTTL - public String toString()
toString in class ObjectObject.toString()public CustomErrorResponse clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.