Class DefaultS3AuthSchemeParams
- java.lang.Object
-
- software.amazon.awssdk.services.s3.auth.scheme.internal.DefaultS3AuthSchemeParams
-
- All Implemented Interfaces:
S3AuthSchemeParams,ToCopyableBuilder<S3AuthSchemeParams.Builder,S3AuthSchemeParams>
@Generated("software.amazon.awssdk:codegen") public final class DefaultS3AuthSchemeParams extends Object implements S3AuthSchemeParams
-
-
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.BooleandisableAccessPoints()Internal parameter to disable Access Point BucketsBooleandisableMultiRegionAccessPoints()Whether multi-region access points (MRAP) should be disabled.Stringendpoint()Override the endpoint used to send this requestBooleanforcePathStyle()When true, force a path-style endpoint to be used where the bucket name is part of the path.Stringoperation()Returns the operation for which to resolve the auth scheme.Regionregion()Returns the region.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)-
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
-
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
-
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
-
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>
-
-