Interface GetCustomDataIdentifierResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCustomDataIdentifierResponse.Builder,
,GetCustomDataIdentifierResponse> Macie2Response.Builder
,SdkBuilder<GetCustomDataIdentifierResponse.Builder,
,GetCustomDataIdentifierResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCustomDataIdentifierResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the custom data identifier.The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.Specifies whether the custom data identifier was deleted.description
(String description) The custom description of the custom data identifier.The unique identifier for the custom data identifier.ignoreWords
(String... ignoreWords) An array that lists specific character sequences (ignore words) to exclude from the results.ignoreWords
(Collection<String> ignoreWords) An array that lists specific character sequences (ignore words) to exclude from the results.An array that lists specific character sequences (keywords), one of which must precede and be within proximity (maximumMatchDistance) of the regular expression to match.keywords
(Collection<String> keywords) An array that lists specific character sequences (keywords), one of which must precede and be within proximity (maximumMatchDistance) of the regular expression to match.maximumMatchDistance
(Integer maximumMatchDistance) The maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern.The custom name of the custom data identifier.The regular expression (regex) that defines the pattern to match.severityLevels
(Collection<SeverityLevel> severityLevels) Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number of occurrences of text that match the custom data identifier's detection criteria.severityLevels
(Consumer<SeverityLevel.Builder>... severityLevels) Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number of occurrences of text that match the custom data identifier's detection criteria.severityLevels
(SeverityLevel... severityLevels) Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number of occurrences of text that match the custom data identifier's detection criteria.A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data identifier.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the custom data identifier.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the custom data identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.
- Parameters:
createdAt
- The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleted
Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie doesn't delete it permanently. Instead, it soft deletes the identifier.
- Parameters:
deleted
- Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie doesn't delete it permanently. Instead, it soft deletes the identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The custom description of the custom data identifier.
- Parameters:
description
- The custom description of the custom data identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier for the custom data identifier.
- Parameters:
id
- The unique identifier for the custom data identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ignoreWords
An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore words are case sensitive.
- Parameters:
ignoreWords
- An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore words are case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ignoreWords
An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore words are case sensitive.
- Parameters:
ignoreWords
- An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore words are case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keywords
An array that lists specific character sequences (keywords), one of which must precede and be within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive.
- Parameters:
keywords
- An array that lists specific character sequences (keywords), one of which must precede and be within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keywords
An array that lists specific character sequences (keywords), one of which must precede and be within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive.
- Parameters:
keywords
- An array that lists specific character sequences (keywords), one of which must precede and be within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumMatchDistance
The maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie includes the result. Otherwise, Macie excludes the result.
- Parameters:
maximumMatchDistance
- The maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie includes the result. Otherwise, Macie excludes the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The custom name of the custom data identifier.
- Parameters:
name
- The custom name of the custom data identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regex
The regular expression (regex) that defines the pattern to match.
- Parameters:
regex
- The regular expression (regex) that defines the pattern to match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityLevels
Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number of occurrences of text that match the custom data identifier's detection criteria. By default, Amazon Macie creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, and Macie assigns the MEDIUM severity to those findings.
- Parameters:
severityLevels
- Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number of occurrences of text that match the custom data identifier's detection criteria. By default, Amazon Macie creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, and Macie assigns the MEDIUM severity to those findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityLevels
Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number of occurrences of text that match the custom data identifier's detection criteria. By default, Amazon Macie creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, and Macie assigns the MEDIUM severity to those findings.
- Parameters:
severityLevels
- Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number of occurrences of text that match the custom data identifier's detection criteria. By default, Amazon Macie creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, and Macie assigns the MEDIUM severity to those findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityLevels
GetCustomDataIdentifierResponse.Builder severityLevels(Consumer<SeverityLevel.Builder>... severityLevels) Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number of occurrences of text that match the custom data identifier's detection criteria. By default, Amazon Macie creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, and Macie assigns the MEDIUM severity to those findings.
This is a convenience method that creates an instance of theSeverityLevel.Builder
avoiding the need to create one manually viaSeverityLevel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toseverityLevels(List<SeverityLevel>)
.- Parameters:
severityLevels
- a consumer that will call methods onSeverityLevel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data identifier.
- Parameters:
tags
- A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-