Class CustomSignerRequest
java.lang.Object
software.amazon.awssdk.services.cloudfront.model.CustomSignerRequest
- All Implemented Interfaces:
CloudFrontSignerRequest
,ToCopyableBuilder<CustomSignerRequest.Builder,
CustomSignerRequest>
@Immutable
@ThreadSafe
public final class CustomSignerRequest
extends Object
implements CloudFrontSignerRequest, ToCopyableBuilder<CustomSignerRequest.Builder,CustomSignerRequest>
Request to generate CloudFront signed URLs or signed cookies with a custom policy
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the active date, before which users will not yet be able to use the signed URL/cookie to access your private contentstatic CustomSignerRequest.Builder
builder()
Create a builder that can be used to create aCustomSignerRequest
boolean
Returns the expiration date, after which users will no longer be able to use the signed URL/cookie to access your private contentint
hashCode()
ipRange()
Returns the IP range of the users allowed to access your private contentReturns the key pair ID, i.e., the public key ID for the CloudFront public key whose corresponding private key you're using to generate the signatureReturns the private key used to generate the signatureReturns the resource URL, i.e., the unsigned URLTake this object and create a builder that contains all of the current property values of this object.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
builder
Create a builder that can be used to create aCustomSignerRequest
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<CustomSignerRequest.Builder,
CustomSignerRequest> - Returns:
- a builder for type T
-
resourceUrl
Description copied from interface:CloudFrontSignerRequest
Returns the resource URL, i.e., the unsigned URL- Specified by:
resourceUrl
in interfaceCloudFrontSignerRequest
-
privateKey
Description copied from interface:CloudFrontSignerRequest
Returns the private key used to generate the signature- Specified by:
privateKey
in interfaceCloudFrontSignerRequest
-
keyPairId
Description copied from interface:CloudFrontSignerRequest
Returns the key pair ID, i.e., the public key ID for the CloudFront public key whose corresponding private key you're using to generate the signature- Specified by:
keyPairId
in interfaceCloudFrontSignerRequest
-
expirationDate
Description copied from interface:CloudFrontSignerRequest
Returns the expiration date, after which users will no longer be able to use the signed URL/cookie to access your private content- Specified by:
expirationDate
in interfaceCloudFrontSignerRequest
-
activeDate
Returns the active date, before which users will not yet be able to use the signed URL/cookie to access your private content -
ipRange
Returns the IP range of the users allowed to access your private content -
resourceUrlPattern
-
equals
-
hashCode
-