Interface CreateAllowListRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAllowListRequest.Builder,CreateAllowListRequest>,Macie2Request.Builder,SdkBuilder<CreateAllowListRequest.Builder,CreateAllowListRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAllowListRequest
public static interface CreateAllowListRequest.Builder extends Macie2Request.Builder, SdkPojo, CopyableBuilder<CreateAllowListRequest.Builder,CreateAllowListRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateAllowListRequest.BuilderclientToken(String clientToken)A unique, case-sensitive token that you provide to ensure the idempotency of the request.default CreateAllowListRequest.Buildercriteria(Consumer<AllowListCriteria.Builder> criteria)The criteria that specify the text or text pattern to ignore.CreateAllowListRequest.Buildercriteria(AllowListCriteria criteria)The criteria that specify the text or text pattern to ignore.CreateAllowListRequest.Builderdescription(String description)A custom description of the allow list.CreateAllowListRequest.Buildername(String name)A custom name for the allow list.CreateAllowListRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAllowListRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateAllowListRequest.Buildertags(Map<String,String> tags)A map of key-value pairs that specifies the tags to associate with the allow list.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clientToken
CreateAllowListRequest.Builder clientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive token that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteria
CreateAllowListRequest.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 (regex) that defines a text pattern to ignore.
- 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 (regex) that defines a text pattern to ignore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteria
default CreateAllowListRequest.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 (regex) that defines a text pattern to ignore.
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
CreateAllowListRequest.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.
-
name
CreateAllowListRequest.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.
-
tags
CreateAllowListRequest.Builder tags(Map<String,String> tags)
A map of key-value pairs that specifies the tags to associate with the allow list.
An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
- Parameters:
tags- A map of key-value pairs that specifies the tags to associate with the allow list.An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAllowListRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAllowListRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-