Interface S3AuthSchemeParams.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3AuthSchemeParams.Builder,
,S3AuthSchemeParams> SdkBuilder<S3AuthSchemeParams.Builder,
S3AuthSchemeParams>
- Enclosing interface:
S3AuthSchemeParams
public static interface S3AuthSchemeParams.Builder
extends CopyableBuilder<S3AuthSchemeParams.Builder,S3AuthSchemeParams>
A builder for a
S3AuthSchemeParams
.-
Method Summary
Modifier and TypeMethodDescriptionaccelerate
(Boolean accelerate) When true, use S3 Accelerate.The S3 bucket used to send the request.build()
Returns aS3AuthSchemeParams
object that is created from the properties that have been set on the builder.disableAccessPoints
(Boolean disableAccessPoints) Internal parameter to disable Access Point BucketsdisableMultiRegionAccessPoints
(Boolean disableMultiRegionAccessPoints) Whether multi-region access points (MRAP) should be disabled.Override the endpoint used to send this requestforcePathStyle
(Boolean forcePathStyle) When true, force a path-style endpoint to be used where the bucket name is part of the path.Set the operation for which to resolve the auth scheme.Set the region.useArnRegion
(Boolean useArnRegion) When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN's region when constructing the endpoint instead of the client's configured region.useDualStack
(Boolean useDualStack) When true, use the dual-stack endpoint.When true, send this request to the FIPS-compliant regional endpoint.useGlobalEndpoint
(Boolean useGlobalEndpoint) Whether the global endpoint should be used, rather then the regional endpoint for us-east-1.useObjectLambdaEndpoint
(Boolean useObjectLambdaEndpoint) Internal parameter to use object lambda endpoint for an operation (eg: WriteGetObjectResponse)Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
operation
Set the operation for which to resolve the auth scheme. -
region
Set the region. The region parameter may be used with the "aws.auth#sigv4" auth scheme. -
bucket
The S3 bucket used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 bucket. -
useFips
When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error. -
useDualStack
When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error. -
endpoint
Override the endpoint used to send this request -
forcePathStyle
When true, force a path-style endpoint to be used where the bucket name is part of the path. -
accelerate
When true, use S3 Accelerate. NOTE: Not all regions support S3 accelerate. -
useGlobalEndpoint
Whether the global endpoint should be used, rather then the regional endpoint for us-east-1. -
useObjectLambdaEndpoint
Internal parameter to use object lambda endpoint for an operation (eg: WriteGetObjectResponse) -
disableAccessPoints
Internal parameter to disable Access Point Buckets -
disableMultiRegionAccessPoints
Whether multi-region access points (MRAP) should be disabled. -
useArnRegion
When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN's region when constructing the endpoint instead of the client's configured region. -
build
S3AuthSchemeParams build()Returns aS3AuthSchemeParams
object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfaceSdkBuilder<S3AuthSchemeParams.Builder,
S3AuthSchemeParams> - Returns:
- an instance of T
-