Interface OriginRequestPolicyCookiesConfig.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<OriginRequestPolicyCookiesConfig.Builder,,- OriginRequestPolicyCookiesConfig> - SdkBuilder<OriginRequestPolicyCookiesConfig.Builder,,- OriginRequestPolicyCookiesConfig> - SdkPojo
- Enclosing class:
- OriginRequestPolicyCookiesConfig
- 
Method SummaryModifier and TypeMethodDescriptioncookieBehavior(String cookieBehavior) Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin.cookieBehavior(OriginRequestPolicyCookieBehavior cookieBehavior) Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin.cookies(Consumer<CookieNames.Builder> cookies) Sets the value of the Cookies property for this object.cookies(CookieNames cookies) Sets the value of the Cookies property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
cookieBehaviorDetermines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are: - 
 none– No cookies in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set tonone, any cookies that are listed in aCachePolicyare included in origin requests.
- 
 whitelist– Only the cookies in viewer requests that are listed in theCookieNamestype are included in requests that CloudFront sends to the origin.
- 
 all– All cookies in viewer requests are included in requests that CloudFront sends to the origin.
- 
 allExcept– All cookies in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in theCookieNamestype, which are not included.
 - Parameters:
- cookieBehavior- Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:- 
        none– No cookies in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set tonone, any cookies that are listed in aCachePolicyare included in origin requests.
- 
        whitelist– Only the cookies in viewer requests that are listed in theCookieNamestype are included in requests that CloudFront sends to the origin.
- 
        all– All cookies in viewer requests are included in requests that CloudFront sends to the origin.
- 
        allExcept– All cookies in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in theCookieNamestype, which are not included.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
cookieBehaviorOriginRequestPolicyCookiesConfig.Builder cookieBehavior(OriginRequestPolicyCookieBehavior cookieBehavior) Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are: - 
 none– No cookies in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set tonone, any cookies that are listed in aCachePolicyare included in origin requests.
- 
 whitelist– Only the cookies in viewer requests that are listed in theCookieNamestype are included in requests that CloudFront sends to the origin.
- 
 all– All cookies in viewer requests are included in requests that CloudFront sends to the origin.
- 
 allExcept– All cookies in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in theCookieNamestype, which are not included.
 - Parameters:
- cookieBehavior- Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:- 
        none– No cookies in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set tonone, any cookies that are listed in aCachePolicyare included in origin requests.
- 
        whitelist– Only the cookies in viewer requests that are listed in theCookieNamestype are included in requests that CloudFront sends to the origin.
- 
        all– All cookies in viewer requests are included in requests that CloudFront sends to the origin.
- 
        allExcept– All cookies in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in theCookieNamestype, which are not included.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
cookiesSets the value of the Cookies property for this object.- Parameters:
- cookies- The new value for the Cookies property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
cookiesSets the value of the Cookies property for this object. This is a convenience method that creates an instance of theCookieNames.Builderavoiding the need to create one manually viaCookieNames.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocookies(CookieNames).- Parameters:
- cookies- a consumer that will call methods on- CookieNames.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-