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