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 Summary
Modifier and TypeMethodDescriptionbuild()
static Transformer.Builder
Existing log group that you want to associate with this transformer.transformerConfig
(List<? extends IProcessor> transformerConfig) List of processors in a transformer.transformerName
(String transformerName) Name of the 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
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
Name of the transformer.- Parameters:
transformerName
- Name of the transformer. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<Transformer>
- Returns:
- a newly built instance of
Transformer
.
-