@NotThreadSafe public class JsonErrorShapeMetadata extends Object
SdkJsonProtocolFactory
Constructor | Description |
---|---|
JsonErrorShapeMetadata() |
Modifier and Type | Method | Description |
---|---|---|
String |
getErrorCode() |
|
Integer |
getHttpStatusCode() |
|
Class<? extends RuntimeException> |
getModeledClass() |
|
JsonErrorShapeMetadata |
withErrorCode(String errorCode) |
|
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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.