Interface UpdateAllowListRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAllowListRequest.Builder,UpdateAllowListRequest>,Macie2Request.Builder,SdkBuilder<UpdateAllowListRequest.Builder,UpdateAllowListRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAllowListRequest
public static interface UpdateAllowListRequest.Builder extends Macie2Request.Builder, SdkPojo, CopyableBuilder<UpdateAllowListRequest.Builder,UpdateAllowListRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateAllowListRequest.Buildercriteria(Consumer<AllowListCriteria.Builder> criteria)The criteria that specify the text or text pattern to ignore.UpdateAllowListRequest.Buildercriteria(AllowListCriteria criteria)The criteria that specify the text or text pattern to ignore.UpdateAllowListRequest.Builderdescription(String description)A custom description of the allow list.UpdateAllowListRequest.Builderid(String id)The unique identifier for the Amazon Macie resource that the request applies to.UpdateAllowListRequest.Buildername(String name)A custom name for the allow list.UpdateAllowListRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateAllowListRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Request.Builder
build
-
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
-
criteria
UpdateAllowListRequest.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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteria
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.Builderavoiding the need to create one manually viaAllowListCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocriteria(AllowListCriteria).- Parameters:
criteria- a consumer that will call methods onAllowListCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
criteria(AllowListCriteria)
-
description
UpdateAllowListRequest.Builder description(String description)
A custom description of the allow list. The description can contain as many as 512 characters.
- Parameters:
description- A custom description of the allow list. The description can contain as many as 512 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
UpdateAllowListRequest.Builder id(String id)
The unique identifier for the Amazon Macie resource that the request applies to.
- Parameters:
id- The unique identifier for the Amazon Macie resource that the request applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateAllowListRequest.Builder name(String name)
A custom name for the allow list. The name can contain as many as 128 characters.
- Parameters:
name- A custom name for the allow list. The name can contain as many as 128 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateAllowListRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAllowListRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-