Interface HttpAuthorization.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HttpAuthorization.Builder,
,HttpAuthorization> SdkBuilder<HttpAuthorization.Builder,
,HttpAuthorization> SdkPojo
- Enclosing class:
HttpAuthorization
public static interface HttpAuthorization.Builder
extends SdkPojo, CopyableBuilder<HttpAuthorization.Builder,HttpAuthorization>
-
Method Summary
Modifier and TypeMethodDescriptiondefault HttpAuthorization.Builder
sigv4
(Consumer<SigV4Authorization.Builder> sigv4) Use Sig V4 authorization.sigv4
(SigV4Authorization sigv4) Use Sig V4 authorization.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sigv4
Use Sig V4 authorization. For more information, see Signature Version 4 Signing Process.
- Parameters:
sigv4
- Use Sig V4 authorization. For more information, see Signature Version 4 Signing Process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sigv4
Use Sig V4 authorization. For more information, see Signature Version 4 Signing Process.
This is a convenience method that creates an instance of theSigV4Authorization.Builder
avoiding the need to create one manually viaSigV4Authorization.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosigv4(SigV4Authorization)
.- Parameters:
sigv4
- a consumer that will call methods onSigV4Authorization.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-