@NotThreadSafe public class RpcV2CborClientMetadata extends Object
SdkRpcV2CborProtocolFactory
Constructor and Description |
---|
RpcV2CborClientMetadata() |
Modifier and Type | Method and Description |
---|---|
RpcV2CborClientMetadata |
addErrorMetadata(RpcV2CborErrorShapeMetadata errorShapeMetadata) |
boolean |
getAwsQueryCompatible() |
Class<? extends RuntimeException> |
getBaseServiceExceptionClass() |
String |
getContentTypeOverride() |
List<RpcV2CborErrorShapeMetadata> |
getErrorShapeMetadata() |
RpcV2CborClientMetadata |
withAwsQueryCompatible(boolean awsQueryCompatible) |
RpcV2CborClientMetadata |
withBaseServiceExceptionClass(Class<? extends RuntimeException> baseServiceExceptionClass) |
RpcV2CborClientMetadata |
withContentTypeOverride(String contentType) |
public RpcV2CborClientMetadata addErrorMetadata(RpcV2CborErrorShapeMetadata errorShapeMetadata)
public List<RpcV2CborErrorShapeMetadata> getErrorShapeMetadata()
public String getContentTypeOverride()
public RpcV2CborClientMetadata withContentTypeOverride(String contentType)
public Class<? extends RuntimeException> getBaseServiceExceptionClass()
public RpcV2CborClientMetadata withBaseServiceExceptionClass(Class<? extends RuntimeException> baseServiceExceptionClass)
public boolean getAwsQueryCompatible()
public RpcV2CborClientMetadata withAwsQueryCompatible(boolean awsQueryCompatible)