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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RegexPatternSet.Builderarn(String arn)The Amazon Resource Name (ARN) of the entity.RegexPatternSet.Builderdescription(String description)A description of the set that helps with identification.RegexPatternSet.Builderid(String id)A unique identifier for the set.RegexPatternSet.Buildername(String name)The name of the set.RegexPatternSet.BuilderregularExpressionList(Collection<Regex> regularExpressionList)The regular expression patterns in the set.RegexPatternSet.BuilderregularExpressionList(Consumer<Regex.Builder>... regularExpressionList)The regular expression patterns in the set.RegexPatternSet.BuilderregularExpressionList(Regex... regularExpressionList)The regular expression patterns in the set.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
RegexPatternSet.Builder name(String 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
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.
- 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
RegexPatternSet.Builder arn(String 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
RegexPatternSet.Builder description(String 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
RegexPatternSet.Builder regularExpressionList(Collection<Regex> 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
RegexPatternSet.Builder regularExpressionList(Regex... 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
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.Builderavoiding the need to create one manually viaRegex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#regularExpressionList(List.) - 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:
#regularExpressionList(java.util.Collection)
-
-