Class Transformer.Builder

java.lang.Object
software.amazon.awscdk.services.logs.Transformer.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<Transformer>
Enclosing class:
Transformer

@Stability(Stable) public static final class Transformer.Builder extends Object implements software.amazon.jsii.Builder<Transformer>
A fluent builder for Transformer.
  • Method Details

    • create

      @Stability(Stable) public static Transformer.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of Transformer.Builder.
    • logGroup

      @Stability(Stable) public Transformer.Builder logGroup(ILogGroup logGroup)
      Existing log group that you want to associate with this transformer.

      Parameters:
      logGroup - Existing log group that you want to associate with this transformer. This parameter is required.
      Returns:
      this
    • transformerConfig

      @Stability(Stable) public Transformer.Builder transformerConfig(List<? extends IProcessor> transformerConfig)
      List of processors in a transformer.

      Parameters:
      transformerConfig - List of processors in a transformer. This parameter is required.
      Returns:
      this
    • transformerName

      @Stability(Stable) public Transformer.Builder transformerName(String transformerName)
      Name of the transformer.

      Parameters:
      transformerName - Name of the transformer. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public Transformer build()
      Specified by:
      build in interface software.amazon.jsii.Builder<Transformer>
      Returns:
      a newly built instance of Transformer.