Package | Description |
---|---|
com.amazonaws.services.cloudfront.model |
Classes modeling the various types represented by AmazonCloudFront.
|
Modifier and Type | Method and Description |
---|---|
CacheBehavior |
CacheBehavior.withAllowedMethods(AllowedMethods allowedMethods)
A complex type that controls which HTTP methods CloudFront processes
and forwards to your Amazon S3 bucket or your custom origin.
|
CacheBehavior |
CacheBehavior.withForwardedValues(ForwardedValues forwardedValues)
A complex type that specifies how CloudFront handles query strings,
cookies and headers.
|
CacheBehavior |
CacheBehavior.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).
|
CacheBehavior |
CacheBehavior.withPathPattern(String pathPattern)
The pattern (for example, images/*.jpg) that specifies which requests
you want this cache behavior to apply to.
|
CacheBehavior |
CacheBehavior.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.
|
CacheBehavior |
CacheBehavior.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.
|
CacheBehavior |
CacheBehavior.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.
|
CacheBehavior |
CacheBehavior.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.
|
CacheBehavior |
CacheBehavior.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 |
---|---|
List<CacheBehavior> |
CacheBehaviors.getItems()
Optional: A complex type that contains cache behaviors for this
distribution.
|
Modifier and Type | Method and Description |
---|---|
CacheBehaviors |
CacheBehaviors.withItems(CacheBehavior... items)
Optional: A complex type that contains cache behaviors for this
distribution.
|
Modifier and Type | Method and Description |
---|---|
void |
CacheBehaviors.setItems(Collection<CacheBehavior> items)
Optional: A complex type that contains cache behaviors for this
distribution.
|
CacheBehaviors |
CacheBehaviors.withItems(Collection<CacheBehavior> items)
Optional: A complex type that contains cache behaviors for this
distribution.
|
Copyright © 2014. All rights reserved.