Class JsonOperationMetadata.Builder
- java.lang.Object
-
- software.amazon.awssdk.protocols.json.JsonOperationMetadata.Builder
-
- Enclosing class:
- JsonOperationMetadata
public static final class JsonOperationMetadata.Builder extends Object
Builder forJsonOperationMetadata
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonOperationMetadata
build()
JsonOperationMetadata.Builder
hasStreamingSuccessResponse(boolean hasStreamingSuccessResponse)
True if the success response (2xx response) contains a payload that should be treated as streaming.JsonOperationMetadata.Builder
isPayloadJson(boolean payloadJson)
True is payload contains JSON content, false if it doesn't (i.e.
-
-
-
Method Detail
-
isPayloadJson
public JsonOperationMetadata.Builder isPayloadJson(boolean payloadJson)
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
public JsonOperationMetadata build()
-
-