All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.glue.outputs.ClassifierXmlClassifier Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.glue.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ClassifierXmlClassifier {
    /**
     * @return An identifier of the data format that the classifier matches.
     * 
     */
    private String classification;
    /**
     * @return The XML tag designating the element that contains each record in an XML document being parsed. Note that this cannot 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).
     * 
     */
    private String rowTag;

    private ClassifierXmlClassifier() {}
    /**
     * @return An identifier of the data format that the classifier matches.
     * 
     */
    public String classification() {
        return this.classification;
    }
    /**
     * @return The XML tag designating the element that contains each record in an XML document being parsed. Note that this cannot 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).
     * 
     */
    public String rowTag() {
        return this.rowTag;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(ClassifierXmlClassifier defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String classification;
        private String rowTag;
        public Builder() {}
        public Builder(ClassifierXmlClassifier defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.classification = defaults.classification;
    	      this.rowTag = defaults.rowTag;
        }

        @CustomType.Setter
        public Builder classification(String classification) {
            if (classification == null) {
              throw new MissingRequiredPropertyException("ClassifierXmlClassifier", "classification");
            }
            this.classification = classification;
            return this;
        }
        @CustomType.Setter
        public Builder rowTag(String rowTag) {
            if (rowTag == null) {
              throw new MissingRequiredPropertyException("ClassifierXmlClassifier", "rowTag");
            }
            this.rowTag = rowTag;
            return this;
        }
        public ClassifierXmlClassifier build() {
            final var _resultValue = new ClassifierXmlClassifier();
            _resultValue.classification = classification;
            _resultValue.rowTag = rowTag;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy