Interface StringMutatorProps
- All Superinterfaces:
BaseProcessorProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StringMutatorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-24T11:33:17.368Z")
@Stability(Stable)
public interface StringMutatorProps
extends software.amazon.jsii.JsiiSerializable, BaseProcessorProps
Properties for creating string mutator processors.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.logs.*; StringMutatorProps stringMutatorProps = StringMutatorProps.builder() .type(StringMutatorType.LOWER_CASE) // the properties below are optional .lowerCaseKeys(List.of("lowerCaseKeys")) .splitOptions(SplitStringProperty.builder() .entries(List.of(SplitStringEntryProperty.builder() .delimiter(DelimiterCharacter.COMMA) .source("source") .build())) .build()) .substituteOptions(SubstituteStringProperty.builder() .entries(List.of(SubstituteStringEntryProperty.builder() .from("from") .source("source") .to("to") .build())) .build()) .trimKeys(List.of("trimKeys")) .upperCaseKeys(List.of("upperCaseKeys")) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forStringMutatorProps
static final class
An implementation forStringMutatorProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringMutatorProps.Builder
builder()
Keys for strings to convert to lowercase.default SplitStringProperty
Options for string splitting.default SubstituteStringProperty
Options for string substitution.Keys for strings to trim.getType()
The type of string mutation operation.Keys for strings to convert to uppercase.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The type of string mutation operation. -
getLowerCaseKeys
Keys for strings to convert to lowercase.Required when type is LOWER_CASE.
Default: - No lowercase processor is created if props not set
-
getSplitOptions
Options for string splitting.Required when type is SPLIT.
Default: - No string splitting processor is created if props not set
-
getSubstituteOptions
Options for string substitution.Required when type is SUBSTITUTE.
Default: - No string substitution processor is created if props not set
-
getTrimKeys
Keys for strings to trim.Required when type is TRIM.
Default: - No trim processor is created if props not set
-
getUpperCaseKeys
Keys for strings to convert to uppercase.Required when type is UPPER_CASE.
Default: - No uppercase processor is created if props not set
-
builder
- Returns:
- a
StringMutatorProps.Builder
ofStringMutatorProps
-