public static interface RuleCondition.Builder extends SdkPojo, CopyableBuilder<RuleCondition.Builder,RuleCondition>
Modifier and Type | Method and Description |
---|---|
RuleCondition.Builder |
field(String field)
The name of the field.
|
default RuleCondition.Builder |
hostHeaderConfig(Consumer<HostHeaderConditionConfig.Builder> hostHeaderConfig)
Sets the value of the HostHeaderConfig property for this object.
|
RuleCondition.Builder |
hostHeaderConfig(HostHeaderConditionConfig hostHeaderConfig)
Sets the value of the HostHeaderConfig property for this object.
|
default RuleCondition.Builder |
httpHeaderConfig(Consumer<HttpHeaderConditionConfig.Builder> httpHeaderConfig)
Sets the value of the HttpHeaderConfig property for this object.
|
RuleCondition.Builder |
httpHeaderConfig(HttpHeaderConditionConfig httpHeaderConfig)
Sets the value of the HttpHeaderConfig property for this object.
|
default RuleCondition.Builder |
httpRequestMethodConfig(Consumer<HttpRequestMethodConditionConfig.Builder> httpRequestMethodConfig)
Sets the value of the HttpRequestMethodConfig property for this object.
|
RuleCondition.Builder |
httpRequestMethodConfig(HttpRequestMethodConditionConfig httpRequestMethodConfig)
Sets the value of the HttpRequestMethodConfig property for this object.
|
default RuleCondition.Builder |
pathPatternConfig(Consumer<PathPatternConditionConfig.Builder> pathPatternConfig)
Sets the value of the PathPatternConfig property for this object.
|
RuleCondition.Builder |
pathPatternConfig(PathPatternConditionConfig pathPatternConfig)
Sets the value of the PathPatternConfig property for this object.
|
default RuleCondition.Builder |
queryStringConfig(Consumer<QueryStringConditionConfig.Builder> queryStringConfig)
Sets the value of the QueryStringConfig property for this object.
|
RuleCondition.Builder |
queryStringConfig(QueryStringConditionConfig queryStringConfig)
Sets the value of the QueryStringConfig property for this object.
|
RuleCondition.Builder |
values(Collection<String> values)
The condition value.
|
RuleCondition.Builder |
values(String... values)
The condition value.
|
copy
applyMutation, build
RuleCondition.Builder field(String field)
The name of the field. The possible values are host-header
and path-pattern
.
field
- The name of the field. The possible values are host-header
and path-pattern
.RuleCondition.Builder values(Collection<String> values)
The condition value.
If the field name is host-header
, you can specify a single host name (for example,
my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any
of the following characters. You can include up to three wildcard characters.
A-Z, a-z, 0-9
- .
* (matches 0 or more characters)
? (matches exactly 1 character)
If the field name is path-pattern
, you can specify a single path pattern (for example, /img/*).
A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following
characters. You can include up to three wildcard characters.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
values
- The condition value.
If the field name is host-header
, you can specify a single host name (for example,
my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can
contain any of the following characters. You can include up to three wildcard characters.
A-Z, a-z, 0-9
- .
* (matches 0 or more characters)
? (matches exactly 1 character)
If the field name is path-pattern
, you can specify a single path pattern (for example,
/img/*). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any
of the following characters. You can include up to three wildcard characters.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
RuleCondition.Builder values(String... values)
The condition value.
If the field name is host-header
, you can specify a single host name (for example,
my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any
of the following characters. You can include up to three wildcard characters.
A-Z, a-z, 0-9
- .
* (matches 0 or more characters)
? (matches exactly 1 character)
If the field name is path-pattern
, you can specify a single path pattern (for example, /img/*).
A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following
characters. You can include up to three wildcard characters.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
values
- The condition value.
If the field name is host-header
, you can specify a single host name (for example,
my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can
contain any of the following characters. You can include up to three wildcard characters.
A-Z, a-z, 0-9
- .
* (matches 0 or more characters)
? (matches exactly 1 character)
If the field name is path-pattern
, you can specify a single path pattern (for example,
/img/*). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any
of the following characters. You can include up to three wildcard characters.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
RuleCondition.Builder hostHeaderConfig(HostHeaderConditionConfig hostHeaderConfig)
hostHeaderConfig
- The new value for the HostHeaderConfig property for this object.default RuleCondition.Builder hostHeaderConfig(Consumer<HostHeaderConditionConfig.Builder> hostHeaderConfig)
HostHeaderConditionConfig.Builder
avoiding the
need to create one manually via HostHeaderConditionConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to hostHeaderConfig(HostHeaderConditionConfig)
.hostHeaderConfig
- a consumer that will call methods on HostHeaderConditionConfig.Builder
hostHeaderConfig(HostHeaderConditionConfig)
RuleCondition.Builder pathPatternConfig(PathPatternConditionConfig pathPatternConfig)
pathPatternConfig
- The new value for the PathPatternConfig property for this object.default RuleCondition.Builder pathPatternConfig(Consumer<PathPatternConditionConfig.Builder> pathPatternConfig)
PathPatternConditionConfig.Builder
avoiding the
need to create one manually via PathPatternConditionConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to pathPatternConfig(PathPatternConditionConfig)
.pathPatternConfig
- a consumer that will call methods on PathPatternConditionConfig.Builder
pathPatternConfig(PathPatternConditionConfig)
RuleCondition.Builder httpHeaderConfig(HttpHeaderConditionConfig httpHeaderConfig)
httpHeaderConfig
- The new value for the HttpHeaderConfig property for this object.default RuleCondition.Builder httpHeaderConfig(Consumer<HttpHeaderConditionConfig.Builder> httpHeaderConfig)
HttpHeaderConditionConfig.Builder
avoiding the
need to create one manually via HttpHeaderConditionConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to httpHeaderConfig(HttpHeaderConditionConfig)
.httpHeaderConfig
- a consumer that will call methods on HttpHeaderConditionConfig.Builder
httpHeaderConfig(HttpHeaderConditionConfig)
RuleCondition.Builder queryStringConfig(QueryStringConditionConfig queryStringConfig)
queryStringConfig
- The new value for the QueryStringConfig property for this object.default RuleCondition.Builder queryStringConfig(Consumer<QueryStringConditionConfig.Builder> queryStringConfig)
QueryStringConditionConfig.Builder
avoiding the
need to create one manually via QueryStringConditionConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to queryStringConfig(QueryStringConditionConfig)
.queryStringConfig
- a consumer that will call methods on QueryStringConditionConfig.Builder
queryStringConfig(QueryStringConditionConfig)
RuleCondition.Builder httpRequestMethodConfig(HttpRequestMethodConditionConfig httpRequestMethodConfig)
httpRequestMethodConfig
- The new value for the HttpRequestMethodConfig property for this object.default RuleCondition.Builder httpRequestMethodConfig(Consumer<HttpRequestMethodConditionConfig.Builder> httpRequestMethodConfig)
HttpRequestMethodConditionConfig.Builder
avoiding the need to create one manually via HttpRequestMethodConditionConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to httpRequestMethodConfig(HttpRequestMethodConditionConfig)
.httpRequestMethodConfig
- a consumer that will call methods on HttpRequestMethodConditionConfig.Builder
httpRequestMethodConfig(HttpRequestMethodConditionConfig)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.