Struct aws_sdk_glue::types::builders::XmlClassifierBuilder
source · #[non_exhaustive]pub struct XmlClassifierBuilder { /* private fields */ }Expand description
A builder for XmlClassifier.
Implementations§
source§impl XmlClassifierBuilder
impl XmlClassifierBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the classifier.
This field is required.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.
This field is required.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 get_classification(&self) -> &Option<String>
pub fn get_classification(&self) -> &Option<String>
An identifier of the data format that the classifier matches.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that this classifier was registered.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time that this classifier was registered.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time that this classifier was registered.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
The time that this classifier was last updated.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
The time that this classifier was last updated.
sourcepub fn get_last_updated(&self) -> &Option<DateTime>
pub fn get_last_updated(&self) -> &Option<DateTime>
The time that this classifier was last updated.
sourcepub fn set_version(self, input: Option<i64>) -> Self
pub fn set_version(self, input: Option<i64>) -> Self
The version of this classifier.
sourcepub fn get_version(&self) -> &Option<i64>
pub fn get_version(&self) -> &Option<i64>
The version of this classifier.
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 get_row_tag(&self) -> &Option<String>
pub fn get_row_tag(&self) -> &Option<String>
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) -> Result<XmlClassifier, BuildError>
pub fn build(self) -> Result<XmlClassifier, BuildError>
Consumes the builder and constructs a XmlClassifier.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for XmlClassifierBuilder
impl Clone for XmlClassifierBuilder
source§fn clone(&self) -> XmlClassifierBuilder
fn clone(&self) -> XmlClassifierBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for XmlClassifierBuilder
impl Debug for XmlClassifierBuilder
source§impl Default for XmlClassifierBuilder
impl Default for XmlClassifierBuilder
source§fn default() -> XmlClassifierBuilder
fn default() -> XmlClassifierBuilder
source§impl PartialEq for XmlClassifierBuilder
impl PartialEq for XmlClassifierBuilder
source§fn eq(&self, other: &XmlClassifierBuilder) -> bool
fn eq(&self, other: &XmlClassifierBuilder) -> bool
self and other values to be equal, and is used
by ==.