Interface RegexPatternSet.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RegexPatternSet.Builder,,RegexPatternSet> SdkBuilder<RegexPatternSet.Builder,,RegexPatternSet> SdkPojo
- Enclosing class:
RegexPatternSet
public static interface RegexPatternSet.Builder
extends SdkPojo, CopyableBuilder<RegexPatternSet.Builder,RegexPatternSet>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the entity.description(String description) A description of the set that helps with identification.A unique identifier for the set.The name of the set.regularExpressionList(Collection<Regex> regularExpressionList) The regular expression patterns in the set.regularExpressionList(Consumer<Regex.Builder>... regularExpressionList) The regular expression patterns in the set.regularExpressionList(Regex... regularExpressionList) The regular expression patterns in the set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the set. You cannot change the name after you create the set.
- Parameters:
name- The name of the set. You cannot change the name after you create the set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the entity.
- Parameters:
arn- The Amazon Resource Name (ARN) of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the set that helps with identification.
- Parameters:
description- A description of the set that helps with identification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regularExpressionList
The regular expression patterns in the set.
- Parameters:
regularExpressionList- The regular expression patterns in the set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regularExpressionList
The regular expression patterns in the set.
- Parameters:
regularExpressionList- The regular expression patterns in the set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regularExpressionList
The regular expression patterns in the set.
This is a convenience method that creates an instance of theRegex.Builderavoiding the need to create one manually viaRegex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregularExpressionList(List<Regex>).- Parameters:
regularExpressionList- a consumer that will call methods onRegex.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-