Interface CfnClassifier.XMLClassifierProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnClassifier.XMLClassifierProperty.Jsii$Proxy
Enclosing class:
CfnClassifier

@Stability(Stable) public static interface CfnClassifier.XMLClassifierProperty extends software.amazon.jsii.JsiiSerializable
A classifier for XML content.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.glue.*;
 XMLClassifierProperty xMLClassifierProperty = XMLClassifierProperty.builder()
         .classification("classification")
         .rowTag("rowTag")
         // the properties below are optional
         .name("name")
         .build();
 
  • Method Details

    • getClassification

      @Stability(Stable) @NotNull String getClassification()
      An identifier of the data format that the classifier matches.
    • getRowTag

      @Stability(Stable) @NotNull String getRowTag()
      The XML tag designating the element that contains each record in an XML document being parsed.

      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).

    • getName

      @Stability(Stable) @Nullable default String getName()
      The name of the classifier.
    • builder

      @Stability(Stable) static CfnClassifier.XMLClassifierProperty.Builder builder()
      Returns:
      a CfnClassifier.XMLClassifierProperty.Builder of CfnClassifier.XMLClassifierProperty