## Uses of Class
com.amazonaws.services.cloudfront.model.CacheBehavior

Packages that use CacheBehavior
com.amazonaws.services.cloudfront.model

### Uses of CacheBehavior in com.amazonaws.services.cloudfront.model

Methods in com.amazonaws.services.cloudfront.model that return CacheBehavior
`CacheBehavior` CacheBehavior.`clone()`
`CacheBehavior` CacheBehavior.`withAllowedMethods(AllowedMethods allowedMethods)`
`CacheBehavior` CacheBehavior.`withCompress(Boolean compress)` Whether you want CloudFront to automatically compress certain files for this cache behavior.
`CacheBehavior` CacheBehavior.`withDefaultTTL(Long defaultTTL)` The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated.
`CacheBehavior` CacheBehavior.`withForwardedValues(ForwardedValues forwardedValues)` A complex type that specifies how CloudFront handles query strings and cookies.
`CacheBehavior` CacheBehavior.`withLambdaFunctionAssociations(LambdaFunctionAssociations lambdaFunctionAssociations)` A complex type that contains zero or more Lambda function associations for a cache behavior.
`CacheBehavior` CacheBehavior.`withMaxTTL(Long maxTTL)` The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated.
`CacheBehavior` CacheBehavior.`withMinTTL(Long minTTL)` The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated.
`CacheBehavior` CacheBehavior.`withPathPattern(String pathPattern)` The pattern (for example, `images/*.jpg`) that specifies which requests to apply the behavior to.
`CacheBehavior` CacheBehavior.`withSmoothStreaming(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` 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)` 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` CacheBehavior.`withViewerProtocolPolicy(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`.

Methods in com.amazonaws.services.cloudfront.model that return types with arguments of type CacheBehavior
`List<CacheBehavior>` CacheBehaviors.`getItems()` Optional: A complex type that contains cache behaviors for this distribution.

Methods in com.amazonaws.services.cloudfront.model with parameters of type CacheBehavior
`CacheBehaviors` CacheBehaviors.`withItems(CacheBehavior... items)` Optional: A complex type that contains cache behaviors for this distribution.

Method parameters in com.amazonaws.services.cloudfront.model with type arguments of type CacheBehavior
`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.