@NotThreadSafe public static interface CannedSignerRequest.Builder extends CopyableBuilder<CannedSignerRequest.Builder,CannedSignerRequest>
| Modifier and Type | Method and Description |
|---|---|
CannedSignerRequest.Builder |
expirationDate(Instant expirationDate)
Configure the expiration date of the signed URL or signed cookie
|
CannedSignerRequest.Builder |
keyPairId(String keyPairId)
Configure the ID of the key pair stored in the AWS account
|
CannedSignerRequest.Builder |
privateKey(Path keyFile)
Configure the private key to be used to sign the policy.
|
CannedSignerRequest.Builder |
privateKey(PrivateKey privateKey)
Configure the private key to be used to sign the policy.
|
CannedSignerRequest.Builder |
resourceUrl(String resourceUrl)
Configure the resource URL to be signed
|
copyapplyMutation, buildCannedSignerRequest.Builder resourceUrl(String resourceUrl)
The URL or path that uniquely identifies a resource within a distribution. For standard distributions the resource URL will be "http://" + distributionName + "/" + objectKey (may also include URL parameters. For distributions with the HTTPS required protocol, the resource URL must start with "https://"
CannedSignerRequest.Builder privateKey(PrivateKey privateKey)
CannedSignerRequest.Builder privateKey(Path keyFile) throws Exception
ExceptionCannedSignerRequest.Builder keyPairId(String keyPairId)
CannedSignerRequest.Builder expirationDate(Instant expirationDate)
Copyright © 2023. All rights reserved.