| 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)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. | 
| void | DefaultCacheBehavior. setViewerProtocolPolicy(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. | 
| 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. | 
| 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. | 
Copyright © 2016. All rights reserved.