@NotThreadSafe public class JsonErrorResponseMetadata extends Object
JsonErrorResponseHandler
for the client.Constructor and Description |
---|
JsonErrorResponseMetadata() |
Modifier and Type | Method and Description |
---|---|
String |
getCustomErrorCodeFieldName() |
List<JsonErrorShapeMetadata> |
getErrorShapes() |
JsonErrorResponseMetadata |
withCustomErrorCodeFieldName(String errorCodeFieldName) |
JsonErrorResponseMetadata |
withErrorShapes(List<JsonErrorShapeMetadata> errorShapes) |
public String getCustomErrorCodeFieldName()
public JsonErrorResponseMetadata withCustomErrorCodeFieldName(String errorCodeFieldName)
public List<JsonErrorShapeMetadata> getErrorShapes()
public JsonErrorResponseMetadata withErrorShapes(List<JsonErrorShapeMetadata> errorShapes)
Copyright © 2020. All rights reserved.