Class HttpChecksumRequiredTrait
- java.lang.Object
-
- software.amazon.awssdk.codegen.poet.client.traits.HttpChecksumRequiredTrait
-
public class HttpChecksumRequiredTrait extends Object
The logic for handling the "httpChecksumRequired" trait within the code generator.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.squareup.javapoet.CodeBlock
putHttpChecksumAttribute(OperationModel operationModel)
Generate a ".putExecutionAttribute(...)" code-block for the provided operation model.
-
-
-
Method Detail
-
putHttpChecksumAttribute
public static com.squareup.javapoet.CodeBlock putHttpChecksumAttribute(OperationModel operationModel)
Generate a ".putExecutionAttribute(...)" code-block for the provided operation model. This should be used within the context of initializingClientExecutionParams
. If HTTP checksums are not required by the operation, this will return an empty code-block.
-
-