Interface CustomSignerRequest.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CustomSignerRequest.Builder,,- CustomSignerRequest> - SdkBuilder<CustomSignerRequest.Builder,- CustomSignerRequest> 
- Enclosing class:
- CustomSignerRequest
@NotThreadSafe
@SdkPublicApi
public static interface CustomSignerRequest.Builder
extends CopyableBuilder<CustomSignerRequest.Builder,CustomSignerRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionactiveDate(Instant activeDate) Configure the active date of the signed URL or signed cookie - for custom policies (optional field)expirationDate(Instant expirationDate) Configure the expiration date of the signed URL or signed cookieConfigure the IP range of the signed URL or signed cookie - for custom policies (optional field)Configure the ID of the key pair stored in the AWS accountprivateKey(Path keyFile) Configure the private key to be used to sign the policy.privateKey(PrivateKey privateKey) Configure the private key to be used to sign the policy.resourceUrl(String resourceUrl) Configure the resource URL to be signedresourceUrlPattern(String resourceUrlPattern) Configure the resource URL pattern to be used in the policyMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, build
- 
Method Details- 
resourceUrlConfigure the resource URL to be signedThe 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://" 
- 
privateKeyConfigure the private key to be used to sign the policy. Takes a PrivateKey object directly
- 
privateKeyConfigure the private key to be used to sign the policy. Takes a Path to the key file, and loads it to return a PrivateKey object- Throws:
- Exception
 
- 
keyPairIdConfigure the ID of the key pair stored in the AWS account
- 
expirationDateConfigure the expiration date of the signed URL or signed cookie
- 
activeDateConfigure the active date of the signed URL or signed cookie - for custom policies (optional field)
- 
ipRangeConfigure the IP range of the signed URL or signed cookie - for custom policies (optional field)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. 
- 
resourceUrlPatternConfigure the resource URL pattern to be used in the policyFor custom policies, this specifies the URL pattern that determines which files can be accessed with this signed URL. This can include wildcard characters (*) to grant access to multiple files or paths. If not specified, the resourceUrl value will be used in the policy. 
 
-