@NotThreadSafe public class JsonClientMetadata extends Object
SdkJsonProtocolFactory
Constructor and Description |
---|
JsonClientMetadata() |
Modifier and Type | Method and Description |
---|---|
JsonClientMetadata |
addAllErrorMetadata(JsonErrorShapeMetadata... errorShapeMetadata) |
JsonClientMetadata |
addErrorMetadata(JsonErrorShapeMetadata errorShapeMetadata) |
Class<? extends RuntimeException> |
getBaseServiceExceptionClass() |
String |
getContentTypeOverride() |
List<JsonErrorShapeMetadata> |
getErrorShapeMetadata() |
String |
getProtocolVersion() |
boolean |
isSupportsCbor() |
boolean |
isSupportsIon() |
JsonClientMetadata |
withBaseServiceExceptionClass(Class<? extends RuntimeException> baseServiceExceptionClass) |
JsonClientMetadata |
withContentTypeOverride(String contentType) |
JsonClientMetadata |
withProtocolVersion(String protocolVersion) |
JsonClientMetadata |
withSupportsCbor(boolean supportsCbor) |
JsonClientMetadata |
withSupportsIon(boolean supportsIon) |
public JsonClientMetadata addErrorMetadata(JsonErrorShapeMetadata errorShapeMetadata)
public JsonClientMetadata addAllErrorMetadata(JsonErrorShapeMetadata... errorShapeMetadata)
public List<JsonErrorShapeMetadata> getErrorShapeMetadata()
public String getProtocolVersion()
public JsonClientMetadata withProtocolVersion(String protocolVersion)
public String getContentTypeOverride()
public JsonClientMetadata withContentTypeOverride(String contentType)
public boolean isSupportsCbor()
public JsonClientMetadata withSupportsCbor(boolean supportsCbor)
public Class<? extends RuntimeException> getBaseServiceExceptionClass()
public boolean isSupportsIon()
public JsonClientMetadata withSupportsIon(boolean supportsIon)
public JsonClientMetadata withBaseServiceExceptionClass(Class<? extends RuntimeException> baseServiceExceptionClass)
Copyright © 2024. All rights reserved.