Struct aws_sdk_glue::model::create_xml_classifier_request::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CreateXmlClassifierRequest.
Implementations§
source§impl Builder
impl Builder
sourcepub fn classification(self, input: impl Into<String>) -> Self
pub fn classification(self, input: impl Into<String>) -> Self
An identifier of the data format that the classifier matches.
sourcepub fn set_classification(self, input: Option<String>) -> Self
pub fn set_classification(self, input: Option<String>) -> Self
An identifier of the data format that the classifier matches.
sourcepub fn row_tag(self, input: impl Into<String>) -> Self
pub fn row_tag(self, input: impl Into<String>) -> Self
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,
is okay, but
is not).
sourcepub fn set_row_tag(self, input: Option<String>) -> Self
pub fn set_row_tag(self, input: Option<String>) -> Self
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,
is okay, but
is not).
sourcepub fn build(self) -> CreateXmlClassifierRequest
pub fn build(self) -> CreateXmlClassifierRequest
Consumes the builder and constructs a CreateXmlClassifierRequest.