public static interface UpdateAllowListRequest.Builder extends Macie2Request.Builder, SdkPojo, CopyableBuilder<UpdateAllowListRequest.Builder,UpdateAllowListRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateAllowListRequest.Builder |
criteria(AllowListCriteria criteria)
The criteria that specify the text or text pattern to ignore.
|
default UpdateAllowListRequest.Builder |
criteria(Consumer<AllowListCriteria.Builder> criteria)
The criteria that specify the text or text pattern to ignore.
|
UpdateAllowListRequest.Builder |
description(String description)
A custom description of the allow list.
|
UpdateAllowListRequest.Builder |
id(String id)
The unique identifier for the Amazon Macie resource that the request applies to.
|
UpdateAllowListRequest.Builder |
name(String name)
A custom name for the allow list.
|
UpdateAllowListRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateAllowListRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateAllowListRequest.Builder criteria(AllowListCriteria criteria)
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
criteria - The criteria that specify the text or text pattern to ignore. The criteria can be the location and
name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that
defines a text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
default UpdateAllowListRequest.Builder criteria(Consumer<AllowListCriteria.Builder> criteria)
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
This is a convenience method that creates an instance of theAllowListCriteria.Builder avoiding the
need to create one manually via AllowListCriteria.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to criteria(AllowListCriteria).
criteria - a consumer that will call methods on AllowListCriteria.Buildercriteria(AllowListCriteria)UpdateAllowListRequest.Builder description(String description)
A custom description of the allow list. The description can contain as many as 512 characters.
description - A custom description of the allow list. The description can contain as many as 512 characters.UpdateAllowListRequest.Builder id(String id)
The unique identifier for the Amazon Macie resource that the request applies to.
id - The unique identifier for the Amazon Macie resource that the request applies to.UpdateAllowListRequest.Builder name(String name)
A custom name for the allow list. The name can contain as many as 128 characters.
name - A custom name for the allow list. The name can contain as many as 128 characters.UpdateAllowListRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateAllowListRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.