@Stability(value=Experimental) public static final class StringConditions.Builder extends Object implements software.amazon.jsii.Builder<StringConditions>
StringConditions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StringConditions.Builder |
allowlist(List<String> allowlist)
Sets the value of
StringConditions.getAllowlist() |
StringConditions.Builder |
blacklist(List<String> blacklist)
Deprecated.
use `denylist`
|
StringConditions |
build()
Builds the configured instance.
|
StringConditions.Builder |
denylist(List<String> denylist)
Sets the value of
StringConditions.getDenylist() |
StringConditions.Builder |
matchPrefixes(List<String> matchPrefixes)
Sets the value of
StringConditions.getMatchPrefixes() |
StringConditions.Builder |
whitelist(List<String> whitelist)
Deprecated.
use `allowlist`
|
@Stability(value=Experimental) public StringConditions.Builder allowlist(List<String> allowlist)
StringConditions.getAllowlist()allowlist - Match one or more values.this@Stability(value=Deprecated) @Deprecated public StringConditions.Builder blacklist(List<String> blacklist)
StringConditions.getBlacklist()blacklist - Match any value that doesn't include any of the specified values.this@Stability(value=Experimental) public StringConditions.Builder denylist(List<String> denylist)
StringConditions.getDenylist()denylist - Match any value that doesn't include any of the specified values.this@Stability(value=Experimental) public StringConditions.Builder matchPrefixes(List<String> matchPrefixes)
StringConditions.getMatchPrefixes()matchPrefixes - Matches values that begins with the specified prefixes.this@Stability(value=Deprecated) @Deprecated public StringConditions.Builder whitelist(List<String> whitelist)
StringConditions.getWhitelist()whitelist - Match one or more values.this@Stability(value=Experimental) public StringConditions build()
build in interface software.amazon.jsii.Builder<StringConditions>StringConditionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.