Class CannedSignerRequest
java.lang.Object
software.amazon.awssdk.services.cloudfront.model.CannedSignerRequest
- All Implemented Interfaces:
CloudFrontSignerRequest,ToCopyableBuilder<CannedSignerRequest.Builder,CannedSignerRequest>
@Immutable
@ThreadSafe
public final class CannedSignerRequest
extends Object
implements CloudFrontSignerRequest, ToCopyableBuilder<CannedSignerRequest.Builder,CannedSignerRequest>
Request to generate CloudFront signed URLs or signed cookies with a canned policy
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CannedSignerRequest.Builderbuilder()Create a builder that can be used to create aCannedSignerRequestbooleanReturns the expiration date, after which users will no longer be able to use the signed URL/cookie to access your private contentinthashCode()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 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, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
builder
Create a builder that can be used to create aCannedSignerRequest -
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CannedSignerRequest.Builder,CannedSignerRequest> - Returns:
- a builder for type T
-
resourceUrl
Description copied from interface:CloudFrontSignerRequestReturns the resource URL, i.e., the unsigned URL- Specified by:
resourceUrlin interfaceCloudFrontSignerRequest
-
privateKey
Description copied from interface:CloudFrontSignerRequestReturns the private key used to generate the signature- Specified by:
privateKeyin interfaceCloudFrontSignerRequest
-
keyPairId
Description copied from interface:CloudFrontSignerRequestReturns 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:
keyPairIdin interfaceCloudFrontSignerRequest
-
expirationDate
Description copied from interface:CloudFrontSignerRequestReturns the expiration date, after which users will no longer be able to use the signed URL/cookie to access your private content- Specified by:
expirationDatein interfaceCloudFrontSignerRequest
-
equals
-
hashCode
-