Interface Aws4PresignerParams.Builder
- All Superinterfaces:
Aws4SignerParams.Builder<Aws4PresignerParams.Builder>,Buildable,CopyableBuilder<Aws4PresignerParams.Builder,,Aws4PresignerParams> SdkBuilder<Aws4PresignerParams.Builder,Aws4PresignerParams>
- Enclosing class:
Aws4PresignerParams
public static interface Aws4PresignerParams.Builder
extends Aws4SignerParams.Builder<Aws4PresignerParams.Builder>, CopyableBuilder<Aws4PresignerParams.Builder,Aws4PresignerParams>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()An immutable object that is created from the properties that have been set on the builder.expirationTime(Instant expirationTime) Sets an expiration time for the presigned url.Methods inherited from interface software.amazon.awssdk.auth.signer.params.Aws4SignerParams.Builder
awsCredentials, checksumParams, doubleUrlEncode, normalizePath, signingClockOverride, signingName, signingRegion, timeOffsetMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
expirationTime
Sets an expiration time for the presigned url. If this value is not specified,SignerConstant.PRESIGN_URL_MAX_EXPIRATION_SECONDSis used.- Parameters:
expirationTime- Expiration time for the presigned url expressed inInstant.
-
build
Aws4PresignerParams build()Description copied from interface:SdkBuilderAn immutable object that is created from the properties that have been set on the builder.- Specified by:
buildin interfaceAws4SignerParams.Builder<Aws4PresignerParams.Builder>- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<Aws4PresignerParams.Builder,Aws4PresignerParams> - Returns:
- an instance of T
-