Class DefaultS3AuthSchemeParams
- java.lang.Object
-
- software.amazon.awssdk.services.s3.auth.scheme.internal.DefaultS3AuthSchemeParams
-
- All Implemented Interfaces:
S3EndpointResolverAware,S3AuthSchemeParams,ToCopyableBuilder<S3AuthSchemeParams.Builder,S3AuthSchemeParams>
@Generated("software.amazon.awssdk:codegen") @SdkInternalApi public final class DefaultS3AuthSchemeParams extends Object implements S3AuthSchemeParams, S3EndpointResolverAware
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanaccelerate()When true, use S3 Accelerate.Stringbucket()The S3 bucket used to send the request.static S3AuthSchemeParams.Builderbuilder()Get a new builder for creating aS3AuthSchemeParams.StringcopySource()The Copy Source used for Copy Object request.List<String>deleteObjectKeys()DeleteObjectKeys Endpoint Params from the customization configBooleandisableAccessPoints()Internal parameter to disable Access Point BucketsBooleandisableMultiRegionAccessPoints()Whether multi-region access points (MRAP) should be disabled.BooleandisableS3ExpressSessionAuth()Parameter to indicate whether S3Express session auth should be disabledStringendpoint()Override the endpoint used to send this requestS3EndpointProviderendpointProvider()BooleanforcePathStyle()When true, force a path-style endpoint to be used where the bucket name is part of the path.Stringkey()The S3 Key used to send the request.Stringoperation()Returns the operation for which to resolve the auth scheme.Stringprefix()The S3 Prefix used to send the request.Regionregion()Returns the region.RegionSetregionSet()Returns the RegionSet.S3AuthSchemeParams.BuildertoBuilder()Returns aS3AuthSchemeParams.Builderto customize the parameters.BooleanuseArnRegion()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.BooleanuseDualStack()When true, use the dual-stack endpoint.BooleanuseFips()When true, send this request to the FIPS-compliant regional endpoint.BooleanuseGlobalEndpoint()Whether the global endpoint should be used, rather then the regional endpoint for us-east-1.BooleanuseObjectLambdaEndpoint()Internal parameter to use object lambda endpoint for an operation (eg: WriteGetObjectResponse)BooleanuseS3ExpressControlEndpoint()Internal parameter to indicate whether S3Express operation should use control plane, (ex.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
builder
public static S3AuthSchemeParams.Builder builder()
Description copied from interface:S3AuthSchemeParamsGet a new builder for creating aS3AuthSchemeParams.
-
operation
public String operation()
Description copied from interface:S3AuthSchemeParamsReturns the operation for which to resolve the auth scheme.- Specified by:
operationin interfaceS3AuthSchemeParams
-
region
public Region region()
Description copied from interface:S3AuthSchemeParamsReturns the region. The region parameter may be used with the "aws.auth#sigv4" auth scheme.- Specified by:
regionin interfaceS3AuthSchemeParams
-
regionSet
public RegionSet regionSet()
Description copied from interface:S3AuthSchemeParamsReturns the RegionSet. The regionSet parameter may be used with the "aws.auth#sigv4a" auth scheme.- Specified by:
regionSetin interfaceS3AuthSchemeParams
-
bucket
public String bucket()
Description copied from interface:S3AuthSchemeParamsThe 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.- Specified by:
bucketin interfaceS3AuthSchemeParams
-
useFips
public Boolean useFips()
Description copied from interface:S3AuthSchemeParamsWhen 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.- Specified by:
useFipsin interfaceS3AuthSchemeParams
-
useDualStack
public Boolean useDualStack()
Description copied from interface:S3AuthSchemeParamsWhen true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.- Specified by:
useDualStackin interfaceS3AuthSchemeParams
-
endpoint
public String endpoint()
Description copied from interface:S3AuthSchemeParamsOverride the endpoint used to send this request- Specified by:
endpointin interfaceS3AuthSchemeParams
-
forcePathStyle
public Boolean forcePathStyle()
Description copied from interface:S3AuthSchemeParamsWhen true, force a path-style endpoint to be used where the bucket name is part of the path.- Specified by:
forcePathStylein interfaceS3AuthSchemeParams
-
accelerate
public Boolean accelerate()
Description copied from interface:S3AuthSchemeParamsWhen true, use S3 Accelerate. NOTE: Not all regions support S3 accelerate.- Specified by:
acceleratein interfaceS3AuthSchemeParams
-
useGlobalEndpoint
public Boolean useGlobalEndpoint()
Description copied from interface:S3AuthSchemeParamsWhether the global endpoint should be used, rather then the regional endpoint for us-east-1.- Specified by:
useGlobalEndpointin interfaceS3AuthSchemeParams
-
useObjectLambdaEndpoint
public Boolean useObjectLambdaEndpoint()
Description copied from interface:S3AuthSchemeParamsInternal parameter to use object lambda endpoint for an operation (eg: WriteGetObjectResponse)- Specified by:
useObjectLambdaEndpointin interfaceS3AuthSchemeParams
-
key
public String key()
Description copied from interface:S3AuthSchemeParamsThe S3 Key used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 Key.- Specified by:
keyin interfaceS3AuthSchemeParams
-
prefix
public String prefix()
Description copied from interface:S3AuthSchemeParamsThe S3 Prefix used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 Prefix.- Specified by:
prefixin interfaceS3AuthSchemeParams
-
copySource
public String copySource()
Description copied from interface:S3AuthSchemeParamsThe Copy Source used for Copy Object request. This is an optional parameter that will be set automatically for operations that are scoped to Copy Source.- Specified by:
copySourcein interfaceS3AuthSchemeParams
-
disableAccessPoints
public Boolean disableAccessPoints()
Description copied from interface:S3AuthSchemeParamsInternal parameter to disable Access Point Buckets- Specified by:
disableAccessPointsin interfaceS3AuthSchemeParams
-
disableMultiRegionAccessPoints
public Boolean disableMultiRegionAccessPoints()
Description copied from interface:S3AuthSchemeParamsWhether multi-region access points (MRAP) should be disabled.- Specified by:
disableMultiRegionAccessPointsin interfaceS3AuthSchemeParams
-
useArnRegion
public Boolean useArnRegion()
Description copied from interface:S3AuthSchemeParamsWhen 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.- Specified by:
useArnRegionin interfaceS3AuthSchemeParams
-
useS3ExpressControlEndpoint
public Boolean useS3ExpressControlEndpoint()
Description copied from interface:S3AuthSchemeParamsInternal parameter to indicate whether S3Express operation should use control plane, (ex. CreateBucket)- Specified by:
useS3ExpressControlEndpointin interfaceS3AuthSchemeParams
-
disableS3ExpressSessionAuth
public Boolean disableS3ExpressSessionAuth()
Description copied from interface:S3AuthSchemeParamsParameter to indicate whether S3Express session auth should be disabled- Specified by:
disableS3ExpressSessionAuthin interfaceS3AuthSchemeParams
-
deleteObjectKeys
public List<String> deleteObjectKeys()
Description copied from interface:S3AuthSchemeParamsDeleteObjectKeys Endpoint Params from the customization config- Specified by:
deleteObjectKeysin interfaceS3AuthSchemeParams
-
endpointProvider
public S3EndpointProvider endpointProvider()
- Specified by:
endpointProviderin interfaceS3EndpointResolverAware
-
toBuilder
public S3AuthSchemeParams.Builder toBuilder()
Description copied from interface:S3AuthSchemeParamsReturns aS3AuthSchemeParams.Builderto customize the parameters.- Specified by:
toBuilderin interfaceS3AuthSchemeParams- Specified by:
toBuilderin interfaceToCopyableBuilder<S3AuthSchemeParams.Builder,S3AuthSchemeParams>
-
-