Package com.amazonaws.protocol.json
Class JsonErrorShapeMetadata
java.lang.Object
com.amazonaws.protocol.json.JsonErrorShapeMetadata
Wrapper object to provide additional metadata about a client's error shapes to
SdkJsonProtocolFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends AmazonServiceException>
withErrorCode
(String errorCode) withModeledClass
(Class<? extends AmazonServiceException> modeledClass)
-
Constructor Details
-
JsonErrorShapeMetadata
public JsonErrorShapeMetadata()
-
-
Method Details
-
getErrorCode
-
withErrorCode
-
getModeledClass
-
withModeledClass
public JsonErrorShapeMetadata withModeledClass(Class<? extends AmazonServiceException> modeledClass)
-