#[non_exhaustive]pub struct UpdateClassifierInputBuilder { /* private fields */ }
Expand description
A builder for UpdateClassifierInput
.
Implementations§
source§impl UpdateClassifierInputBuilder
impl UpdateClassifierInputBuilder
sourcepub fn grok_classifier(self, input: UpdateGrokClassifierRequest) -> Self
pub fn grok_classifier(self, input: UpdateGrokClassifierRequest) -> Self
A GrokClassifier
object with updated fields.
sourcepub fn set_grok_classifier(
self,
input: Option<UpdateGrokClassifierRequest>
) -> Self
pub fn set_grok_classifier( self, input: Option<UpdateGrokClassifierRequest> ) -> Self
A GrokClassifier
object with updated fields.
sourcepub fn get_grok_classifier(&self) -> &Option<UpdateGrokClassifierRequest>
pub fn get_grok_classifier(&self) -> &Option<UpdateGrokClassifierRequest>
A GrokClassifier
object with updated fields.
sourcepub fn xml_classifier(self, input: UpdateXmlClassifierRequest) -> Self
pub fn xml_classifier(self, input: UpdateXmlClassifierRequest) -> Self
An XMLClassifier
object with updated fields.
sourcepub fn set_xml_classifier(
self,
input: Option<UpdateXmlClassifierRequest>
) -> Self
pub fn set_xml_classifier( self, input: Option<UpdateXmlClassifierRequest> ) -> Self
An XMLClassifier
object with updated fields.
sourcepub fn get_xml_classifier(&self) -> &Option<UpdateXmlClassifierRequest>
pub fn get_xml_classifier(&self) -> &Option<UpdateXmlClassifierRequest>
An XMLClassifier
object with updated fields.
sourcepub fn json_classifier(self, input: UpdateJsonClassifierRequest) -> Self
pub fn json_classifier(self, input: UpdateJsonClassifierRequest) -> Self
A JsonClassifier
object with updated fields.
sourcepub fn set_json_classifier(
self,
input: Option<UpdateJsonClassifierRequest>
) -> Self
pub fn set_json_classifier( self, input: Option<UpdateJsonClassifierRequest> ) -> Self
A JsonClassifier
object with updated fields.
sourcepub fn get_json_classifier(&self) -> &Option<UpdateJsonClassifierRequest>
pub fn get_json_classifier(&self) -> &Option<UpdateJsonClassifierRequest>
A JsonClassifier
object with updated fields.
sourcepub fn csv_classifier(self, input: UpdateCsvClassifierRequest) -> Self
pub fn csv_classifier(self, input: UpdateCsvClassifierRequest) -> Self
A CsvClassifier
object with updated fields.
sourcepub fn set_csv_classifier(
self,
input: Option<UpdateCsvClassifierRequest>
) -> Self
pub fn set_csv_classifier( self, input: Option<UpdateCsvClassifierRequest> ) -> Self
A CsvClassifier
object with updated fields.
sourcepub fn get_csv_classifier(&self) -> &Option<UpdateCsvClassifierRequest>
pub fn get_csv_classifier(&self) -> &Option<UpdateCsvClassifierRequest>
A CsvClassifier
object with updated fields.
sourcepub fn build(self) -> Result<UpdateClassifierInput, BuildError>
pub fn build(self) -> Result<UpdateClassifierInput, BuildError>
Consumes the builder and constructs a UpdateClassifierInput
.
source§impl UpdateClassifierInputBuilder
impl UpdateClassifierInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateClassifierOutput, SdkError<UpdateClassifierError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateClassifierOutput, SdkError<UpdateClassifierError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateClassifierInputBuilder
impl Clone for UpdateClassifierInputBuilder
source§fn clone(&self) -> UpdateClassifierInputBuilder
fn clone(&self) -> UpdateClassifierInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UpdateClassifierInputBuilder
impl Debug for UpdateClassifierInputBuilder
source§impl Default for UpdateClassifierInputBuilder
impl Default for UpdateClassifierInputBuilder
source§fn default() -> UpdateClassifierInputBuilder
fn default() -> UpdateClassifierInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateClassifierInputBuilder
impl PartialEq for UpdateClassifierInputBuilder
source§fn eq(&self, other: &UpdateClassifierInputBuilder) -> bool
fn eq(&self, other: &UpdateClassifierInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateClassifierInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateClassifierInputBuilder
impl RefUnwindSafe for UpdateClassifierInputBuilder
impl Send for UpdateClassifierInputBuilder
impl Sync for UpdateClassifierInputBuilder
impl Unpin for UpdateClassifierInputBuilder
impl UnwindSafe for UpdateClassifierInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.