@NotThreadSafe public class JsonErrorShapeMetadata extends Object
SdkJsonProtocolFactory| Constructor and Description | 
|---|
JsonErrorShapeMetadata()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getErrorCode()  | 
JsonErrorUnmarshaller<? extends AmazonServiceException> | 
getExceptionUnmarshaller()  | 
Integer | 
getHttpStatusCode()  | 
Class<? extends RuntimeException> | 
getModeledClass()  | 
JsonErrorShapeMetadata | 
withErrorCode(String errorCode)  | 
JsonErrorShapeMetadata | 
withExceptionUnmarshaller(JsonErrorUnmarshaller<? extends AmazonServiceException> exceptionUnmarshaller)  | 
JsonErrorShapeMetadata | 
withHttpStatusCode(Integer httpStatusCode)  | 
JsonErrorShapeMetadata | 
withModeledClass(Class<? extends RuntimeException> modeledClass)  | 
public String getErrorCode()
public JsonErrorShapeMetadata withErrorCode(String errorCode)
public Integer getHttpStatusCode()
public JsonErrorShapeMetadata withHttpStatusCode(Integer httpStatusCode)
public Class<? extends RuntimeException> getModeledClass()
public JsonErrorShapeMetadata withModeledClass(Class<? extends RuntimeException> modeledClass)
public JsonErrorShapeMetadata withExceptionUnmarshaller(JsonErrorUnmarshaller<? extends AmazonServiceException> exceptionUnmarshaller)
public JsonErrorUnmarshaller<? extends AmazonServiceException> getExceptionUnmarshaller()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.