Class ParseJSONProperty.Builder
java.lang.Object
software.amazon.awscdk.services.logs.ParseJSONProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ParseJSONProperty>
- Enclosing interface:
ParseJSONProperty
@Stability(Stable)
public static final class ParseJSONProperty.Builder
extends Object
implements software.amazon.jsii.Builder<ParseJSONProperty>
A builder for
ParseJSONProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destination
(String destination) Sets the value ofParseJSONProperty.getDestination()
Sets the value ofParseJSONProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
Sets the value ofParseJSONProperty.getDestination()
- Parameters:
destination
- The location to put the parsed key value pair into.- Returns:
this
-
source
Sets the value ofParseJSONProperty.getSource()
- Parameters:
source
- Path to the field in the log event that will be parsed. Use dot notation to access child fields.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ParseJSONProperty>
- Returns:
- a new instance of
ParseJSONProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-