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 Modifier and Type Class Description static interfaceCustomSignerRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantactiveDate()Returns the active date, before which users will not yet be able to use the signed URL/cookie to access your private contentstatic CustomSignerRequest.Builderbuilder()Create a builder that can be used to create aCustomSignerRequestbooleanequals(Object o)InstantexpirationDate()Returns the expiration date, after which users will no longer be able to use the signed URL/cookie to access your private contentinthashCode()StringipRange()Returns the IP range of the users allowed to access your private contentStringkeyPairId()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 signaturePrivateKeyprivateKey()Returns the private key used to generate the signatureStringresourceUrl()Returns the resource URL, i.e., the unsigned URLCustomSignerRequest.BuildertoBuilder()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
builder
public static CustomSignerRequest.Builder builder()
Create a builder that can be used to create aCustomSignerRequest
-
toBuilder
public CustomSignerRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomSignerRequest.Builder,CustomSignerRequest>
-
resourceUrl
public String resourceUrl()
Description copied from interface:CloudFrontSignerRequestReturns the resource URL, i.e., the unsigned URL- Specified by:
resourceUrlin interfaceCloudFrontSignerRequest
-
privateKey
public PrivateKey privateKey()
Description copied from interface:CloudFrontSignerRequestReturns the private key used to generate the signature- Specified by:
privateKeyin interfaceCloudFrontSignerRequest
-
keyPairId
public String 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
public Instant 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
-
activeDate
public Instant 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
public String ipRange()
Returns the IP range of the users allowed to access your private content
-
-