| Package | Description | 
|---|---|
| com.amazonaws.services.cloudfront.model | 
| Modifier and Type | Method and Description | 
|---|---|
| static ViewerProtocolPolicy | ViewerProtocolPolicy. fromValue(String value)Use this in place of valueOf. | 
| static ViewerProtocolPolicy | ViewerProtocolPolicy. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ViewerProtocolPolicy[] | ViewerProtocolPolicy. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CacheBehavior. setViewerProtocolPolicy(ViewerProtocolPolicy viewerProtocolPolicy)
 The protocol that viewers can use to access the files in the origin specified by  TargetOriginIdwhen
 a request matches the path pattern inPathPattern. | 
| void | DefaultCacheBehavior. setViewerProtocolPolicy(ViewerProtocolPolicy viewerProtocolPolicy)
 The protocol that viewers can use to access the files in the origin specified by  TargetOriginIdwhen
 a request matches the path pattern inPathPattern. | 
| CacheBehavior | CacheBehavior. withViewerProtocolPolicy(ViewerProtocolPolicy viewerProtocolPolicy)
 The protocol that viewers can use to access the files in the origin specified by  TargetOriginIdwhen
 a request matches the path pattern inPathPattern. | 
| DefaultCacheBehavior | DefaultCacheBehavior. withViewerProtocolPolicy(ViewerProtocolPolicy viewerProtocolPolicy)
 The protocol that viewers can use to access the files in the origin specified by  TargetOriginIdwhen
 a request matches the path pattern inPathPattern. | 
Copyright © 2022. All rights reserved.