pub struct UpdateClassifierFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateClassifier
.
Modifies an existing classifier (a GrokClassifier
, an XMLClassifier
, a JsonClassifier
, or a CsvClassifier
, depending on which field is present).
Implementations§
source§impl UpdateClassifierFluentBuilder
impl UpdateClassifierFluentBuilder
sourcepub fn as_input(&self) -> &UpdateClassifierInputBuilder
pub fn as_input(&self) -> &UpdateClassifierInputBuilder
Access the UpdateClassifier as a reference.
sourcepub async fn send(
self,
) -> Result<UpdateClassifierOutput, SdkError<UpdateClassifierError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateClassifierOutput, SdkError<UpdateClassifierError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<UpdateClassifierOutput, UpdateClassifierError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateClassifierOutput, UpdateClassifierError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for UpdateClassifierFluentBuilder
impl Clone for UpdateClassifierFluentBuilder
source§fn clone(&self) -> UpdateClassifierFluentBuilder
fn clone(&self) -> UpdateClassifierFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateClassifierFluentBuilder
impl !RefUnwindSafe for UpdateClassifierFluentBuilder
impl Send for UpdateClassifierFluentBuilder
impl Sync for UpdateClassifierFluentBuilder
impl Unpin for UpdateClassifierFluentBuilder
impl !UnwindSafe for UpdateClassifierFluentBuilder
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> 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