Interface InlineRedactionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InlineRedactionConfiguration.Builder,,InlineRedactionConfiguration> SdkBuilder<InlineRedactionConfiguration.Builder,,InlineRedactionConfiguration> SdkPojo
- Enclosing class:
InlineRedactionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionglobalConfidenceLevel(Integer globalConfidenceLevel) The global confidence level for the inline redaction configuration.globalEnforcedUrls(String... globalEnforcedUrls) The global enforced URL configuration for the inline redaction configuration.globalEnforcedUrls(Collection<String> globalEnforcedUrls) The global enforced URL configuration for the inline redaction configuration.globalExemptUrls(String... globalExemptUrls) The global exempt URL configuration for the inline redaction configuration.globalExemptUrls(Collection<String> globalExemptUrls) The global exempt URL configuration for the inline redaction configuration.inlineRedactionPatterns(Collection<InlineRedactionPattern> inlineRedactionPatterns) The inline redaction patterns to be enabled for the inline redaction configuration.inlineRedactionPatterns(Consumer<InlineRedactionPattern.Builder>... inlineRedactionPatterns) The inline redaction patterns to be enabled for the inline redaction configuration.inlineRedactionPatterns(InlineRedactionPattern... inlineRedactionPatterns) The inline redaction patterns to be enabled for the inline redaction configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
globalConfidenceLevel
The global confidence level for the inline redaction configuration. This indicates the certainty of data type matches in the redaction process. Confidence level 3 means high confidence, and requires a formatted text pattern match in order for content to be redacted. Confidence level 2 means medium confidence, and redaction considers both formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1 means low confidence, and redaction is enforced for both formatted pattern + unformatted pattern without keyword. This is applied to patterns that do not have a pattern-level confidence level. Defaults to confidence level 2.
- Parameters:
globalConfidenceLevel- The global confidence level for the inline redaction configuration. This indicates the certainty of data type matches in the redaction process. Confidence level 3 means high confidence, and requires a formatted text pattern match in order for content to be redacted. Confidence level 2 means medium confidence, and redaction considers both formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1 means low confidence, and redaction is enforced for both formatted pattern + unformatted pattern without keyword. This is applied to patterns that do not have a pattern-level confidence level. Defaults to confidence level 2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalEnforcedUrls
The global enforced URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level enforced URL list.
- Parameters:
globalEnforcedUrls- The global enforced URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level enforced URL list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalEnforcedUrls
The global enforced URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level enforced URL list.
- Parameters:
globalEnforcedUrls- The global enforced URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level enforced URL list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalExemptUrls
The global exempt URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level exempt URL list.
- Parameters:
globalExemptUrls- The global exempt URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level exempt URL list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalExemptUrls
The global exempt URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level exempt URL list.
- Parameters:
globalExemptUrls- The global exempt URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level exempt URL list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlineRedactionPatterns
InlineRedactionConfiguration.Builder inlineRedactionPatterns(Collection<InlineRedactionPattern> inlineRedactionPatterns) The inline redaction patterns to be enabled for the inline redaction configuration.
- Parameters:
inlineRedactionPatterns- The inline redaction patterns to be enabled for the inline redaction configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlineRedactionPatterns
InlineRedactionConfiguration.Builder inlineRedactionPatterns(InlineRedactionPattern... inlineRedactionPatterns) The inline redaction patterns to be enabled for the inline redaction configuration.
- Parameters:
inlineRedactionPatterns- The inline redaction patterns to be enabled for the inline redaction configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlineRedactionPatterns
InlineRedactionConfiguration.Builder inlineRedactionPatterns(Consumer<InlineRedactionPattern.Builder>... inlineRedactionPatterns) The inline redaction patterns to be enabled for the inline redaction configuration.
This is a convenience method that creates an instance of theInlineRedactionPattern.Builderavoiding the need to create one manually viaInlineRedactionPattern.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinlineRedactionPatterns(List<InlineRedactionPattern>).- Parameters:
inlineRedactionPatterns- a consumer that will call methods onInlineRedactionPattern.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-