Class CfnClassifier.XMLClassifierProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnClassifier.XMLClassifierProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClassifier.XMLClassifierProperty>
- Enclosing interface:
CfnClassifier.XMLClassifierProperty
@Stability(Stable)
public static final class CfnClassifier.XMLClassifierProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClassifier.XMLClassifierProperty>
A builder for
CfnClassifier.XMLClassifierProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.classification
(String classification) Sets the value ofCfnClassifier.XMLClassifierProperty.getClassification()
Sets the value ofCfnClassifier.XMLClassifierProperty.getName()
Sets the value ofCfnClassifier.XMLClassifierProperty.getRowTag()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
classification
@Stability(Stable) public CfnClassifier.XMLClassifierProperty.Builder classification(String classification) Sets the value ofCfnClassifier.XMLClassifierProperty.getClassification()
- Parameters:
classification
- An identifier of the data format that the classifier matches. This parameter is required.- Returns:
this
-
rowTag
Sets the value ofCfnClassifier.XMLClassifierProperty.getRowTag()
- Parameters:
rowTag
- The XML tag designating the element that contains each record in an XML document being parsed. This parameter is required. This can't identify a self-closing element (closed by/>
). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example,<row item_a="A" item_b="B"></row>
is okay, but<row item_a="A" item_b="B" />
is not).- Returns:
this
-
name
Sets the value ofCfnClassifier.XMLClassifierProperty.getName()
- Parameters:
name
- The name of the classifier.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnClassifier.XMLClassifierProperty>
- Returns:
- a new instance of
CfnClassifier.XMLClassifierProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-