toValue method
Implementation
String toValue() {
switch (this) {
case OriginRequestPolicyHeaderBehavior.none:
return 'none';
case OriginRequestPolicyHeaderBehavior.whitelist:
return 'whitelist';
case OriginRequestPolicyHeaderBehavior.allViewer:
return 'allViewer';
case OriginRequestPolicyHeaderBehavior.allViewerAndWhitelistCloudFront:
return 'allViewerAndWhitelistCloudFront';
}
}