Class TransformerOptions.Builder
java.lang.Object
software.amazon.awscdk.services.logs.TransformerOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TransformerOptions>
- Enclosing interface:
TransformerOptions
@Stability(Stable)
public static final class TransformerOptions.Builder
extends Object
implements software.amazon.jsii.Builder<TransformerOptions>
A builder for
TransformerOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.transformerConfig
(List<? extends IProcessor> transformerConfig) Sets the value ofTransformerOptions.getTransformerConfig()
transformerName
(String transformerName) Sets the value ofTransformerOptions.getTransformerName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
transformerConfig
@Stability(Stable) public TransformerOptions.Builder transformerConfig(List<? extends IProcessor> transformerConfig) Sets the value ofTransformerOptions.getTransformerConfig()
- Parameters:
transformerConfig
- List of processors in a transformer. This parameter is required.- Returns:
this
-
transformerName
Sets the value ofTransformerOptions.getTransformerName()
- Parameters:
transformerName
- Name of the transformer. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<TransformerOptions>
- Returns:
- a new instance of
TransformerOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-