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.
|
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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.