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