Class CfnTransformerPropsMixin.GrokProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.logs.CfnTransformerPropsMixin.GrokProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformerPropsMixin.GrokProperty>
- Enclosing interface:
CfnTransformerPropsMixin.GrokProperty
@Stability(Stable)
public static final class CfnTransformerPropsMixin.GrokProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformerPropsMixin.GrokProperty>
A builder for
CfnTransformerPropsMixin.GrokProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTransformerPropsMixin.GrokProperty.getMatch()Sets the value ofCfnTransformerPropsMixin.GrokProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
match
Sets the value ofCfnTransformerPropsMixin.GrokProperty.getMatch()- Parameters:
match- The grok pattern to match against the log event. For a list of supported grok patterns, see Supported grok patterns .- Returns:
this
-
source
Sets the value ofCfnTransformerPropsMixin.GrokProperty.getSource()- Parameters:
source- The path to the field in the log event that you want to parse. If you omit this value, the whole log message is parsed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformerPropsMixin.GrokProperty>- Returns:
- a new instance of
CfnTransformerPropsMixin.GrokProperty - Throws:
NullPointerException- if any required attribute was not provided
-