Class StringMutatorProcessor.Builder
java.lang.Object
software.amazon.awscdk.services.logs.StringMutatorProcessor.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StringMutatorProcessor>
- Enclosing class:
StringMutatorProcessor
@Stability(Stable)
public static final class StringMutatorProcessor.Builder
extends Object
implements software.amazon.jsii.Builder<StringMutatorProcessor>
A fluent builder for
StringMutatorProcessor.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()lowerCaseKeys(List<String> lowerCaseKeys) Keys for strings to convert to lowercase.splitOptions(SplitStringProperty splitOptions) Options for string splitting.substituteOptions(SubstituteStringProperty substituteOptions) Options for string substitution.Keys for strings to trim.type(StringMutatorType type) The type of string mutation operation.upperCaseKeys(List<String> upperCaseKeys) Keys for strings to convert to uppercase.
-
Method Details
-
create
- Returns:
- a new instance of
StringMutatorProcessor.Builder.
-
type
The type of string mutation operation.- Parameters:
type- The type of string mutation operation. This parameter is required.- Returns:
this
-
lowerCaseKeys
Keys for strings to convert to lowercase.Required when type is LOWER_CASE.
Default: - No lowercase processor is created if props not set
- Parameters:
lowerCaseKeys- Keys for strings to convert to lowercase. This parameter is required.- Returns:
this
-
splitOptions
@Stability(Stable) public StringMutatorProcessor.Builder splitOptions(SplitStringProperty splitOptions) Options for string splitting.Required when type is SPLIT.
Default: - No string splitting processor is created if props not set
- Parameters:
splitOptions- Options for string splitting. This parameter is required.- Returns:
this
-
substituteOptions
@Stability(Stable) public StringMutatorProcessor.Builder substituteOptions(SubstituteStringProperty substituteOptions) Options for string substitution.Required when type is SUBSTITUTE.
Default: - No string substitution processor is created if props not set
- Parameters:
substituteOptions- Options for string substitution. This parameter is required.- Returns:
this
-
trimKeys
Keys for strings to trim.Required when type is TRIM.
Default: - No trim processor is created if props not set
- Parameters:
trimKeys- Keys for strings to trim. This parameter is required.- Returns:
this
-
upperCaseKeys
Keys for strings to convert to uppercase.Required when type is UPPER_CASE.
Default: - No uppercase processor is created if props not set
- Parameters:
upperCaseKeys- Keys for strings to convert to uppercase. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StringMutatorProcessor>- Returns:
- a newly built instance of
StringMutatorProcessor.
-