Class S3OverrideAuthSchemePropertiesPlugin
- java.lang.Object
-
- software.amazon.awssdk.services.s3.internal.plugins.S3OverrideAuthSchemePropertiesPlugin
-
- All Implemented Interfaces:
AutoCloseable
,SdkPlugin
,SdkAutoCloseable
public final class S3OverrideAuthSchemePropertiesPlugin extends Object implements SdkPlugin
Plugin that allows override of signer and identity properties on the selected auth scheme options. The class offers static methods to create plugins for common cases such as enable payload signing by default. For instance, if you want to unconditionally enable payload signing across the board you can create the S3 client, e.g., The plugin can also be used for a particular request, e.g.,
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
S3OverrideAuthSchemePropertiesPlugin.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static S3OverrideAuthSchemePropertiesPlugin.Builder
builder()
Creates a new builder to configure the plugin.void
configureClient(SdkServiceClientConfiguration.Builder config)
static SdkPlugin
disableChunkEncodingPlugin()
Creates a new plugin that disables the ChunkEncoding signers property for the `UploadPart` and `PutObject` operations.static SdkPlugin
enablePayloadSigningPlugin()
Creates a new plugin that enables payload signing.
-
-
-
Method Detail
-
configureClient
public void configureClient(SdkServiceClientConfiguration.Builder config)
- Specified by:
configureClient
in interfaceSdkPlugin
-
enablePayloadSigningPlugin
public static SdkPlugin enablePayloadSigningPlugin()
Creates a new plugin that enables payload signing. This plugin can be used per client or by per-request.
-
disableChunkEncodingPlugin
public static SdkPlugin disableChunkEncodingPlugin()
Creates a new plugin that disables the ChunkEncoding signers property for the `UploadPart` and `PutObject` operations. This plugin can be used per client or by per-request.
-
builder
public static S3OverrideAuthSchemePropertiesPlugin.Builder builder()
Creates a new builder to configure the plugin.
-
-