Package com.amazonaws.protocol.json
Class JsonErrorShapeMetadata
- java.lang.Object
-
- com.amazonaws.protocol.json.JsonErrorShapeMetadata
-
@NotThreadSafe public class JsonErrorShapeMetadata extends Object
Wrapper object to provide additional metadata about a client's error shapes toSdkJsonProtocolFactory
-
-
Constructor Summary
Constructors Constructor Description JsonErrorShapeMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorCode()
Class<? extends AmazonServiceException>
getModeledClass()
JsonErrorShapeMetadata
withErrorCode(String errorCode)
JsonErrorShapeMetadata
withModeledClass(Class<? extends AmazonServiceException> modeledClass)
-
-
-
Method Detail
-
getErrorCode
public String getErrorCode()
-
withErrorCode
public JsonErrorShapeMetadata withErrorCode(String errorCode)
-
getModeledClass
public Class<? extends AmazonServiceException> getModeledClass()
-
withModeledClass
public JsonErrorShapeMetadata withModeledClass(Class<? extends AmazonServiceException> modeledClass)
-
-