Class StringMutatorProcessor

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.logs.StringMutatorProcessor
All Implemented Interfaces:
IProcessor, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-24T11:33:17.366Z") @Stability(Stable) public class StringMutatorProcessor extends software.amazon.jsii.JsiiObject implements IProcessor
Processor for string mutation operations.

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.*;
 StringMutatorProcessor stringMutatorProcessor = StringMutatorProcessor.Builder.create()
         .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();
 
  • Constructor Details

    • StringMutatorProcessor

      protected StringMutatorProcessor(software.amazon.jsii.JsiiObjectRef objRef)
    • StringMutatorProcessor

      protected StringMutatorProcessor(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • StringMutatorProcessor

      @Stability(Stable) public StringMutatorProcessor(@NotNull StringMutatorProps props)
      Creates a new string mutator processor.

      Parameters:
      props - This parameter is required.
  • Method Details

    • getType

      @Stability(Stable) @NotNull public StringMutatorType getType()
      The type of string mutation operation.
    • setType

      @Stability(Stable) public void setType(@NotNull StringMutatorType value)
      The type of string mutation operation.