#[non_exhaustive]pub struct UpdateXmlClassifierRequestBuilder { /* private fields */ }Expand description
A builder for UpdateXmlClassifierRequest.
Implementations§
source§impl UpdateXmlClassifierRequestBuilder
impl UpdateXmlClassifierRequestBuilder
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.
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 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 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, 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 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, 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 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, is okay, but is not).
sourcepub fn build(self) -> Result<UpdateXmlClassifierRequest, BuildError>
pub fn build(self) -> Result<UpdateXmlClassifierRequest, BuildError>
Consumes the builder and constructs a UpdateXmlClassifierRequest.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateXmlClassifierRequestBuilder
impl Clone for UpdateXmlClassifierRequestBuilder
source§fn clone(&self) -> UpdateXmlClassifierRequestBuilder
fn clone(&self) -> UpdateXmlClassifierRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateXmlClassifierRequestBuilder
impl Default for UpdateXmlClassifierRequestBuilder
source§fn default() -> UpdateXmlClassifierRequestBuilder
fn default() -> UpdateXmlClassifierRequestBuilder
source§impl PartialEq for UpdateXmlClassifierRequestBuilder
impl PartialEq for UpdateXmlClassifierRequestBuilder
source§fn eq(&self, other: &UpdateXmlClassifierRequestBuilder) -> bool
fn eq(&self, other: &UpdateXmlClassifierRequestBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateXmlClassifierRequestBuilder
Auto Trait Implementations§
impl Freeze for UpdateXmlClassifierRequestBuilder
impl RefUnwindSafe for UpdateXmlClassifierRequestBuilder
impl Send for UpdateXmlClassifierRequestBuilder
impl Sync for UpdateXmlClassifierRequestBuilder
impl Unpin for UpdateXmlClassifierRequestBuilder
impl UnwindSafe for UpdateXmlClassifierRequestBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more