public static interface RegexPatternSet.Builder extends SdkPojo, CopyableBuilder<RegexPatternSet.Builder,RegexPatternSet>
| Modifier and Type | Method and Description |
|---|---|
RegexPatternSet.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the entity.
|
RegexPatternSet.Builder |
description(String description)
A description of the set that helps with identification.
|
RegexPatternSet.Builder |
id(String id)
A unique identifier for the set.
|
RegexPatternSet.Builder |
name(String name)
The name of the set.
|
RegexPatternSet.Builder |
regularExpressionList(Collection<Regex> regularExpressionList)
The regular expression patterns in the set.
|
RegexPatternSet.Builder |
regularExpressionList(Consumer<Regex.Builder>... regularExpressionList)
The regular expression patterns in the set.
|
RegexPatternSet.Builder |
regularExpressionList(Regex... regularExpressionList)
The regular expression patterns in the set.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRegexPatternSet.Builder name(String name)
The name of the set. You cannot change the name after you create the set.
name - The name of the set. You cannot change the name after you create the set.RegexPatternSet.Builder id(String id)
A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
id - A unique identifier for the set. This ID is returned in the responses to create and list commands. You
provide it to operations like update and delete.RegexPatternSet.Builder arn(String arn)
The Amazon Resource Name (ARN) of the entity.
arn - The Amazon Resource Name (ARN) of the entity.RegexPatternSet.Builder description(String description)
A description of the set that helps with identification.
description - A description of the set that helps with identification.RegexPatternSet.Builder regularExpressionList(Collection<Regex> regularExpressionList)
The regular expression patterns in the set.
regularExpressionList - The regular expression patterns in the set.RegexPatternSet.Builder regularExpressionList(Regex... regularExpressionList)
The regular expression patterns in the set.
regularExpressionList - The regular expression patterns in the set.RegexPatternSet.Builder regularExpressionList(Consumer<Regex.Builder>... regularExpressionList)
The regular expression patterns in the set.
This is a convenience method that creates an instance of theRegex.Builder avoiding the need to create one manually
via Regex.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #regularExpressionList(List.
regularExpressionList - a consumer that will call methods on Regex.Builder#regularExpressionList(java.util.Collection) Copyright © 2023. All rights reserved.