| Package | Description |
|---|---|
| software.amazon.awssdk.services.cloudfront.model |
| Modifier and Type | Method and Description |
|---|---|
CacheBehavior.Builder |
CacheBehavior.Builder.allowedMethods(AllowedMethods allowedMethods)
Sets the value of the AllowedMethods property for this object.
|
default CacheBehavior.Builder |
CacheBehavior.Builder.allowedMethods(Consumer<AllowedMethods.Builder> allowedMethods)
Sets the value of the AllowedMethods property for this object.
|
static CacheBehavior.Builder |
CacheBehavior.builder() |
CacheBehavior.Builder |
CacheBehavior.Builder.cachePolicyId(String cachePolicyId)
The unique identifier of the cache policy that is attached to this cache behavior.
|
CacheBehavior.Builder |
CacheBehavior.Builder.compress(Boolean compress)
Whether you want CloudFront to automatically compress certain files for this cache behavior.
|
CacheBehavior.Builder |
CacheBehavior.Builder.defaultTTL(Long defaultTTL)
Deprecated.
|
CacheBehavior.Builder |
CacheBehavior.Builder.fieldLevelEncryptionId(String fieldLevelEncryptionId)
The value of
ID for the field-level encryption configuration that you want CloudFront to use for
encrypting specific fields of data for this cache behavior. |
default CacheBehavior.Builder |
CacheBehavior.Builder.forwardedValues(Consumer<ForwardedValues.Builder> forwardedValues)
Deprecated.
|
CacheBehavior.Builder |
CacheBehavior.Builder.forwardedValues(ForwardedValues forwardedValues)
Deprecated.
|
default CacheBehavior.Builder |
CacheBehavior.Builder.functionAssociations(Consumer<FunctionAssociations.Builder> functionAssociations)
A list of CloudFront functions that are associated with this cache behavior.
|
CacheBehavior.Builder |
CacheBehavior.Builder.functionAssociations(FunctionAssociations functionAssociations)
A list of CloudFront functions that are associated with this cache behavior.
|
default CacheBehavior.Builder |
CacheBehavior.Builder.lambdaFunctionAssociations(Consumer<LambdaFunctionAssociations.Builder> lambdaFunctionAssociations)
A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.
|
CacheBehavior.Builder |
CacheBehavior.Builder.lambdaFunctionAssociations(LambdaFunctionAssociations lambdaFunctionAssociations)
A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.
|
CacheBehavior.Builder |
CacheBehavior.Builder.maxTTL(Long maxTTL)
Deprecated.
|
CacheBehavior.Builder |
CacheBehavior.Builder.minTTL(Long minTTL)
Deprecated.
|
CacheBehavior.Builder |
CacheBehavior.Builder.originRequestPolicyId(String originRequestPolicyId)
The unique identifier of the origin request policy that is attached to this cache behavior.
|
CacheBehavior.Builder |
CacheBehavior.Builder.pathPattern(String pathPattern)
The pattern (for example,
images/*.jpg) that specifies which requests to apply the behavior to. |
CacheBehavior.Builder |
CacheBehavior.Builder.realtimeLogConfigArn(String realtimeLogConfigArn)
The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior.
|
CacheBehavior.Builder |
CacheBehavior.Builder.responseHeadersPolicyId(String responseHeadersPolicyId)
The identifier for a response headers policy.
|
CacheBehavior.Builder |
CacheBehavior.Builder.smoothStreaming(Boolean smoothStreaming)
Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the
origin that is associated with this cache behavior.
|
CacheBehavior.Builder |
CacheBehavior.Builder.targetOriginId(String targetOriginId)
The value of
ID for the origin that you want CloudFront to route requests to when they match
this cache behavior. |
CacheBehavior.Builder |
CacheBehavior.toBuilder() |
default CacheBehavior.Builder |
CacheBehavior.Builder.trustedKeyGroups(Consumer<TrustedKeyGroups.Builder> trustedKeyGroups)
A list of key groups that CloudFront can use to validate signed URLs or signed cookies.
|
CacheBehavior.Builder |
CacheBehavior.Builder.trustedKeyGroups(TrustedKeyGroups trustedKeyGroups)
A list of key groups that CloudFront can use to validate signed URLs or signed cookies.
|
default CacheBehavior.Builder |
CacheBehavior.Builder.trustedSigners(Consumer<TrustedSigners.Builder> trustedSigners)
|
CacheBehavior.Builder |
CacheBehavior.Builder.trustedSigners(TrustedSigners trustedSigners)
|
CacheBehavior.Builder |
CacheBehavior.Builder.viewerProtocolPolicy(String viewerProtocolPolicy)
The protocol that viewers can use to access the files in the origin specified by
TargetOriginId
when a request matches the path pattern in PathPattern. |
CacheBehavior.Builder |
CacheBehavior.Builder.viewerProtocolPolicy(ViewerProtocolPolicy viewerProtocolPolicy)
The protocol that viewers can use to access the files in the origin specified by
TargetOriginId
when a request matches the path pattern in PathPattern. |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends CacheBehavior.Builder> |
CacheBehavior.serializableBuilderClass() |
Copyright © 2023. All rights reserved.