Package | Description |
---|---|
com.amazonaws.services.cloudfront.model |
Modifier and Type | Method and Description |
---|---|
DefaultCacheBehavior |
DefaultCacheBehavior.clone() |
DefaultCacheBehavior |
DistributionSummary.getDefaultCacheBehavior()
A complex type that describes the default cache behavior if you do not
specify a CacheBehavior element or if files don't match any of the values
of PathPattern in CacheBehavior elements.You must create exactly one
default cache behavior.
|
DefaultCacheBehavior |
DistributionConfig.getDefaultCacheBehavior()
A complex type that describes the default cache behavior if you do not
specify a CacheBehavior element or if files don't match any of the values
of PathPattern in CacheBehavior elements.You must create exactly one
default cache behavior.
|
DefaultCacheBehavior |
DefaultCacheBehavior.withAllowedMethods(AllowedMethods allowedMethods) |
DefaultCacheBehavior |
DefaultCacheBehavior.withCompress(Boolean compress)
Whether you want CloudFront to automatically compress content for web
requests that include Accept-Encoding: gzip in the request header.
|
DefaultCacheBehavior |
DefaultCacheBehavior.withDefaultTTL(Long defaultTTL)
If you don't configure your origin to add a Cache-Control max-age
directive or an Expires header, DefaultTTL is the default amount of time
(in seconds) that an object is in a CloudFront cache before CloudFront
forwards another request to your origin to determine whether the object
has been updated.
|
DefaultCacheBehavior |
DefaultCacheBehavior.withForwardedValues(ForwardedValues forwardedValues)
A complex type that specifies how CloudFront handles query strings,
cookies and headers.
|
DefaultCacheBehavior |
DefaultCacheBehavior.withMaxTTL(Long maxTTL)
The maximum amount of time (in seconds) that an object is in a CloudFront
cache before CloudFront forwards another request to your origin to
determine whether the object has been updated.
|
DefaultCacheBehavior |
DefaultCacheBehavior.withMinTTL(Long minTTL)
The minimum amount of time that you want objects to stay in CloudFront
caches before CloudFront queries your origin to see whether the object
has been updated.You can specify a value from 0 to 3,153,600,000 seconds
(100 years).
|
DefaultCacheBehavior |
DefaultCacheBehavior.withSmoothStreaming(Boolean smoothStreaming)
Indicates whether you want to distribute media files in Microsoft Smooth
Streaming format using the origin that is associated with this cache
behavior.
|
DefaultCacheBehavior |
DefaultCacheBehavior.withTargetOriginId(String targetOriginId)
The value of ID for the origin that you want CloudFront to route requests
to when a request matches the path pattern either for a cache behavior or
for the default cache behavior.
|
DefaultCacheBehavior |
DefaultCacheBehavior.withTrustedSigners(TrustedSigners trustedSigners)
A complex type that specifies the AWS accounts, if any, that you want to
allow to create signed URLs for private content.
|
DefaultCacheBehavior |
DefaultCacheBehavior.withViewerProtocolPolicy(String viewerProtocolPolicy)
Use this element to specify the protocol that users can use to access the
files in the origin specified by TargetOriginId when a request matches
the path pattern in PathPattern.
|
DefaultCacheBehavior |
DefaultCacheBehavior.withViewerProtocolPolicy(ViewerProtocolPolicy viewerProtocolPolicy)
Use this element to specify the protocol that users 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 |
---|---|
void |
DistributionSummary.setDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
A complex type that describes the default cache behavior if you do not
specify a CacheBehavior element or if files don't match any of the values
of PathPattern in CacheBehavior elements.You must create exactly one
default cache behavior.
|
void |
DistributionConfig.setDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
A complex type that describes the default cache behavior if you do not
specify a CacheBehavior element or if files don't match any of the values
of PathPattern in CacheBehavior elements.You must create exactly one
default cache behavior.
|
DistributionSummary |
DistributionSummary.withDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
A complex type that describes the default cache behavior if you do not
specify a CacheBehavior element or if files don't match any of the values
of PathPattern in CacheBehavior elements.You must create exactly one
default cache behavior.
|
DistributionConfig |
DistributionConfig.withDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
A complex type that describes the default cache behavior if you do not
specify a CacheBehavior element or if files don't match any of the values
of PathPattern in CacheBehavior elements.You must create exactly one
default cache behavior.
|
Copyright © 2016. All rights reserved.