Interface LogRedactionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LogRedactionConfiguration.Builder,,LogRedactionConfiguration> SdkBuilder<LogRedactionConfiguration.Builder,,LogRedactionConfiguration> SdkPojo
- Enclosing class:
LogRedactionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncustomEntityConfig(Consumer<CustomEntityConfig.Builder> customEntityConfig) Specifies the configuration for custom entities in the context of log redaction.customEntityConfig(CustomEntityConfig customEntityConfig) Specifies the configuration for custom entities in the context of log redaction.entitiesToRedact(Collection<EntityType> entitiesToRedact) Specifies the entities to be redacted from logs.entitiesToRedact(EntityType... entitiesToRedact) Specifies the entities to be redacted from logs.entitiesToRedactWithStrings(String... entitiesToRedact) Specifies the entities to be redacted from logs.entitiesToRedactWithStrings(Collection<String> entitiesToRedact) Specifies the entities to be redacted from logs.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
-
entitiesToRedactWithStrings
Specifies the entities to be redacted from logs. Entities to redact are "ALL_PERSONALLY_IDENTIFIABLE_INFORMATION", "NUMBERS","CUSTOM". If CUSTOM is supplied or configured, custom patterns (customDataIdentifiers) should be provided, and the patterns will be redacted in logs or error messages.
- Parameters:
entitiesToRedact- Specifies the entities to be redacted from logs. Entities to redact are "ALL_PERSONALLY_IDENTIFIABLE_INFORMATION", "NUMBERS","CUSTOM". If CUSTOM is supplied or configured, custom patterns (customDataIdentifiers) should be provided, and the patterns will be redacted in logs or error messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitiesToRedactWithStrings
Specifies the entities to be redacted from logs. Entities to redact are "ALL_PERSONALLY_IDENTIFIABLE_INFORMATION", "NUMBERS","CUSTOM". If CUSTOM is supplied or configured, custom patterns (customDataIdentifiers) should be provided, and the patterns will be redacted in logs or error messages.
- Parameters:
entitiesToRedact- Specifies the entities to be redacted from logs. Entities to redact are "ALL_PERSONALLY_IDENTIFIABLE_INFORMATION", "NUMBERS","CUSTOM". If CUSTOM is supplied or configured, custom patterns (customDataIdentifiers) should be provided, and the patterns will be redacted in logs or error messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitiesToRedact
Specifies the entities to be redacted from logs. Entities to redact are "ALL_PERSONALLY_IDENTIFIABLE_INFORMATION", "NUMBERS","CUSTOM". If CUSTOM is supplied or configured, custom patterns (customDataIdentifiers) should be provided, and the patterns will be redacted in logs or error messages.
- Parameters:
entitiesToRedact- Specifies the entities to be redacted from logs. Entities to redact are "ALL_PERSONALLY_IDENTIFIABLE_INFORMATION", "NUMBERS","CUSTOM". If CUSTOM is supplied or configured, custom patterns (customDataIdentifiers) should be provided, and the patterns will be redacted in logs or error messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitiesToRedact
Specifies the entities to be redacted from logs. Entities to redact are "ALL_PERSONALLY_IDENTIFIABLE_INFORMATION", "NUMBERS","CUSTOM". If CUSTOM is supplied or configured, custom patterns (customDataIdentifiers) should be provided, and the patterns will be redacted in logs or error messages.
- Parameters:
entitiesToRedact- Specifies the entities to be redacted from logs. Entities to redact are "ALL_PERSONALLY_IDENTIFIABLE_INFORMATION", "NUMBERS","CUSTOM". If CUSTOM is supplied or configured, custom patterns (customDataIdentifiers) should be provided, and the patterns will be redacted in logs or error messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customEntityConfig
Specifies the configuration for custom entities in the context of log redaction.
- Parameters:
customEntityConfig- Specifies the configuration for custom entities in the context of log redaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customEntityConfig
default LogRedactionConfiguration.Builder customEntityConfig(Consumer<CustomEntityConfig.Builder> customEntityConfig) Specifies the configuration for custom entities in the context of log redaction.
This is a convenience method that creates an instance of theCustomEntityConfig.Builderavoiding the need to create one manually viaCustomEntityConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomEntityConfig(CustomEntityConfig).- Parameters:
customEntityConfig- a consumer that will call methods onCustomEntityConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-