Interface AllowListCriteria.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AllowListCriteria.Builder,
,AllowListCriteria> SdkBuilder<AllowListCriteria.Builder,
,AllowListCriteria> SdkPojo
- Enclosing class:
AllowListCriteria
@Mutable
@NotThreadSafe
public static interface AllowListCriteria.Builder
extends SdkPojo, CopyableBuilder<AllowListCriteria.Builder,AllowListCriteria>
-
Method Summary
Modifier and TypeMethodDescriptionThe regular expression (regex) that defines the text pattern to ignore.default AllowListCriteria.Builder
s3WordsList
(Consumer<S3WordsList.Builder> s3WordsList) The location and name of the S3 object that lists specific text to ignore.s3WordsList
(S3WordsList s3WordsList) The location and name of the S3 object that lists specific text to ignore.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, sdkFieldNameToField, sdkFields
-
Method Details
-
regex
The regular expression (regex) that defines the text pattern to ignore. The expression can contain as many as 512 characters.
- Parameters:
regex
- The regular expression (regex) that defines the text pattern to ignore. The expression can contain as many as 512 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3WordsList
The location and name of the S3 object that lists specific text to ignore.
- Parameters:
s3WordsList
- The location and name of the S3 object that lists specific text to ignore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3WordsList
The location and name of the S3 object that lists specific text to ignore.
This is a convenience method that creates an instance of theS3WordsList.Builder
avoiding the need to create one manually viaS3WordsList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3WordsList(S3WordsList)
.- Parameters:
s3WordsList
- a consumer that will call methods onS3WordsList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-