Class JsonOperationMetadata.Builder
java.lang.Object
software.amazon.awssdk.protocols.json.JsonOperationMetadata.Builder
- Enclosing class:
JsonOperationMetadata
Builder for
JsonOperationMetadata
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
hasStreamingSuccessResponse
(boolean hasStreamingSuccessResponse) True if the success response (2xx response) contains a payload that should be treated as streaming.isPayloadJson
(boolean payloadJson) True is payload contains JSON content, false if it doesn't (i.e.
-
Method Details
-
isPayloadJson
True is payload contains JSON content, false if it doesn't (i.e. it contains binary content or no content).- Returns:
- This builder for method chaining.
-
hasStreamingSuccessResponse
public JsonOperationMetadata.Builder hasStreamingSuccessResponse(boolean hasStreamingSuccessResponse) True if the success response (2xx response) contains a payload that should be treated as streaming. False otherwise.- Returns:
- This builder for method chaining.
-
build
-