Interface GetAllowListResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAllowListResponse.Builder,GetAllowListResponse>,Macie2Response.Builder,SdkBuilder<GetAllowListResponse.Builder,GetAllowListResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAllowListResponse
public static interface GetAllowListResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<GetAllowListResponse.Builder,GetAllowListResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetAllowListResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the allow list.GetAllowListResponse.BuildercreatedAt(Instant createdAt)The date and time, in UTC and extended ISO 8601 format, when the allow list was created in Amazon Macie.default GetAllowListResponse.Buildercriteria(Consumer<AllowListCriteria.Builder> criteria)The criteria that specify the text or text pattern to ignore.GetAllowListResponse.Buildercriteria(AllowListCriteria criteria)The criteria that specify the text or text pattern to ignore.GetAllowListResponse.Builderdescription(String description)The custom description of the allow list.GetAllowListResponse.Builderid(String id)The unique identifier for the allow list.GetAllowListResponse.Buildername(String name)The custom name of the allow list.default GetAllowListResponse.Builderstatus(Consumer<AllowListStatus.Builder> status)The current status of the allow list, which indicates whether Amazon Macie can access and use the list's criteria.GetAllowListResponse.Builderstatus(AllowListStatus status)The current status of the allow list, which indicates whether Amazon Macie can access and use the list's criteria.GetAllowListResponse.Buildertags(Map<String,String> tags)A map of key-value pairs that specifies which tags (keys and values) are associated with the allow list.GetAllowListResponse.BuilderupdatedAt(Instant updatedAt)The date and time, in UTC and extended ISO 8601 format, when the allow list's settings were most recently changed in Amazon Macie.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
GetAllowListResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the allow list.
- Parameters:
arn- The Amazon Resource Name (ARN) of the allow list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
GetAllowListResponse.Builder createdAt(Instant createdAt)
The date and time, in UTC and extended ISO 8601 format, when the allow list was created in Amazon Macie.
- Parameters:
createdAt- The date and time, in UTC and extended ISO 8601 format, when the allow list was created in Amazon Macie.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteria
GetAllowListResponse.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 GetAllowListResponse.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
GetAllowListResponse.Builder description(String description)
The custom description of the allow list.
- Parameters:
description- The custom description of the allow list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
GetAllowListResponse.Builder id(String id)
The unique identifier for the allow list.
- Parameters:
id- The unique identifier for the allow list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetAllowListResponse.Builder name(String name)
The custom name of the allow list.
- Parameters:
name- The custom name of the allow list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetAllowListResponse.Builder status(AllowListStatus status)
The current status of the allow list, which indicates whether Amazon Macie can access and use the list's criteria.
- Parameters:
status- The current status of the allow list, which indicates whether Amazon Macie can access and use the list's criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default GetAllowListResponse.Builder status(Consumer<AllowListStatus.Builder> status)
The current status of the allow list, which indicates whether Amazon Macie can access and use the list's criteria.
This is a convenience method that creates an instance of theAllowListStatus.Builderavoiding the need to create one manually viaAllowListStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(AllowListStatus).- Parameters:
status- a consumer that will call methods onAllowListStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(AllowListStatus)
-
tags
GetAllowListResponse.Builder tags(Map<String,String> tags)
A map of key-value pairs that specifies which tags (keys and values) are associated with the allow list.
- Parameters:
tags- A map of key-value pairs that specifies which tags (keys and values) are associated with the allow list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
GetAllowListResponse.Builder updatedAt(Instant updatedAt)
The date and time, in UTC and extended ISO 8601 format, when the allow list's settings were most recently changed in Amazon Macie.
- Parameters:
updatedAt- The date and time, in UTC and extended ISO 8601 format, when the allow list's settings were most recently changed in Amazon Macie.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-