Class CfnClassifier.JsonClassifierProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnClassifier.JsonClassifierProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClassifier.JsonClassifierProperty>
- Enclosing interface:
- CfnClassifier.JsonClassifierProperty
@Stability(Stable)
public static final class CfnClassifier.JsonClassifierProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClassifier.JsonClassifierProperty>
A builder for
CfnClassifier.JsonClassifierProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClassifier.JsonClassifierProperty.getJsonPath()Sets the value ofCfnClassifier.JsonClassifierProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jsonPath
Sets the value ofCfnClassifier.JsonClassifierProperty.getJsonPath()- Parameters:
jsonPath- AJsonPathstring defining the JSON data for the classifier to classify. This parameter is required. AWS Glue supports a subset ofJsonPath, as described in Writing JsonPath Custom Classifiers .- Returns:
this
-
name
Sets the value ofCfnClassifier.JsonClassifierProperty.getName()- Parameters:
name- The name of the classifier.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClassifier.JsonClassifierProperty>- Returns:
- a new instance of
CfnClassifier.JsonClassifierProperty - Throws:
NullPointerException- if any required attribute was not provided
-