Class CfnOriginRequestPolicyPropsMixin.QueryStringsConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnOriginRequestPolicyPropsMixin.QueryStringsConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginRequestPolicyPropsMixin.QueryStringsConfigProperty>
- Enclosing interface:
CfnOriginRequestPolicyPropsMixin.QueryStringsConfigProperty
@Stability(Stable)
public static final class CfnOriginRequestPolicyPropsMixin.QueryStringsConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginRequestPolicyPropsMixin.QueryStringsConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.queryStringBehavior(String queryStringBehavior) queryStrings(List<String> queryStrings)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
queryStringBehavior
@Stability(Stable) public CfnOriginRequestPolicyPropsMixin.QueryStringsConfigProperty.Builder queryStringBehavior(String queryStringBehavior) Sets the value ofCfnOriginRequestPolicyPropsMixin.QueryStringsConfigProperty.getQueryStringBehavior()- Parameters:
queryStringBehavior- Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:none– No query strings in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set tonone, any query strings that are listed in aCachePolicyare included in origin requests.whitelist– Only the query strings in viewer requests that are listed in theQueryStringNamestype are included in requests that CloudFront sends to the origin.all– All query strings in viewer requests are included in requests that CloudFront sends to the origin.allExcept– All query strings in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in theQueryStringNamestype, which are not included.
- Returns:
this
-
queryStrings
@Stability(Stable) public CfnOriginRequestPolicyPropsMixin.QueryStringsConfigProperty.Builder queryStrings(List<String> queryStrings) - Parameters:
queryStrings- Contains a list of query string names.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOriginRequestPolicyPropsMixin.QueryStringsConfigProperty>- Returns:
- a new instance of
CfnOriginRequestPolicyPropsMixin.QueryStringsConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-