@NotThreadSafe public static interface CustomSignerRequest.Builder extends CopyableBuilder<CustomSignerRequest.Builder,CustomSignerRequest>
| Modifier and Type | Method and Description |
|---|---|
CustomSignerRequest.Builder |
activeDate(Instant activeDate)
Configure the active date of the signed URL or signed cookie - for custom policies (optional field)
|
CustomSignerRequest.Builder |
expirationDate(Instant expirationDate)
Configure the expiration date of the signed URL or signed cookie
|
CustomSignerRequest.Builder |
ipRange(String ipRange)
Configure the IP range of the signed URL or signed cookie - for custom policies (optional field)
|
CustomSignerRequest.Builder |
keyPairId(String keyPairId)
Configure the ID of the key pair stored in the AWS account
|
CustomSignerRequest.Builder |
privateKey(Path keyFile)
Configure the private key to be used to sign the policy.
|
CustomSignerRequest.Builder |
privateKey(PrivateKey privateKey)
Configure the private key to be used to sign the policy.
|
CustomSignerRequest.Builder |
resourceUrl(String resourceUrl)
Configure the resource URL to be signed
|
copyapplyMutation, buildCustomSignerRequest.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://"
CustomSignerRequest.Builder privateKey(PrivateKey privateKey)
CustomSignerRequest.Builder privateKey(Path keyFile) throws Exception
ExceptionCustomSignerRequest.Builder keyPairId(String keyPairId)
CustomSignerRequest.Builder expirationDate(Instant expirationDate)
CustomSignerRequest.Builder activeDate(Instant activeDate)
CustomSignerRequest.Builder ipRange(String ipRange)
The allowed IP address range of the client making the GET request, in IPv4 CIDR form (e.g. 192.168.0.1/24). IPv6 format is not supported.
Copyright © 2023. All rights reserved.