pub struct CreateClassifierFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateClassifier.
Creates a classifier in the user's account. This can be a GrokClassifier, an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which field of the request is present.
Implementations§
source§impl CreateClassifierFluentBuilder
impl CreateClassifierFluentBuilder
sourcepub fn as_input(&self) -> &CreateClassifierInputBuilder
pub fn as_input(&self) -> &CreateClassifierInputBuilder
Access the CreateClassifier as a reference.
sourcepub async fn send(
self
) -> Result<CreateClassifierOutput, SdkError<CreateClassifierError, HttpResponse>>
pub async fn send( self ) -> Result<CreateClassifierOutput, SdkError<CreateClassifierError, 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<CreateClassifierOutput, CreateClassifierError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateClassifierOutput, CreateClassifierError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn grok_classifier(self, input: CreateGrokClassifierRequest) -> Self
pub fn grok_classifier(self, input: CreateGrokClassifierRequest) -> Self
A GrokClassifier object specifying the classifier to create.
sourcepub fn set_grok_classifier(
self,
input: Option<CreateGrokClassifierRequest>
) -> Self
pub fn set_grok_classifier( self, input: Option<CreateGrokClassifierRequest> ) -> Self
A GrokClassifier object specifying the classifier to create.
sourcepub fn get_grok_classifier(&self) -> &Option<CreateGrokClassifierRequest>
pub fn get_grok_classifier(&self) -> &Option<CreateGrokClassifierRequest>
A GrokClassifier object specifying the classifier to create.
sourcepub fn xml_classifier(self, input: CreateXmlClassifierRequest) -> Self
pub fn xml_classifier(self, input: CreateXmlClassifierRequest) -> Self
An XMLClassifier object specifying the classifier to create.
sourcepub fn set_xml_classifier(
self,
input: Option<CreateXmlClassifierRequest>
) -> Self
pub fn set_xml_classifier( self, input: Option<CreateXmlClassifierRequest> ) -> Self
An XMLClassifier object specifying the classifier to create.
sourcepub fn get_xml_classifier(&self) -> &Option<CreateXmlClassifierRequest>
pub fn get_xml_classifier(&self) -> &Option<CreateXmlClassifierRequest>
An XMLClassifier object specifying the classifier to create.
sourcepub fn json_classifier(self, input: CreateJsonClassifierRequest) -> Self
pub fn json_classifier(self, input: CreateJsonClassifierRequest) -> Self
A JsonClassifier object specifying the classifier to create.
sourcepub fn set_json_classifier(
self,
input: Option<CreateJsonClassifierRequest>
) -> Self
pub fn set_json_classifier( self, input: Option<CreateJsonClassifierRequest> ) -> Self
A JsonClassifier object specifying the classifier to create.
sourcepub fn get_json_classifier(&self) -> &Option<CreateJsonClassifierRequest>
pub fn get_json_classifier(&self) -> &Option<CreateJsonClassifierRequest>
A JsonClassifier object specifying the classifier to create.
sourcepub fn csv_classifier(self, input: CreateCsvClassifierRequest) -> Self
pub fn csv_classifier(self, input: CreateCsvClassifierRequest) -> Self
A CsvClassifier object specifying the classifier to create.
sourcepub fn set_csv_classifier(
self,
input: Option<CreateCsvClassifierRequest>
) -> Self
pub fn set_csv_classifier( self, input: Option<CreateCsvClassifierRequest> ) -> Self
A CsvClassifier object specifying the classifier to create.
sourcepub fn get_csv_classifier(&self) -> &Option<CreateCsvClassifierRequest>
pub fn get_csv_classifier(&self) -> &Option<CreateCsvClassifierRequest>
A CsvClassifier object specifying the classifier to create.
Trait Implementations§
source§impl Clone for CreateClassifierFluentBuilder
impl Clone for CreateClassifierFluentBuilder
source§fn clone(&self) -> CreateClassifierFluentBuilder
fn clone(&self) -> CreateClassifierFluentBuilder
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 CreateClassifierFluentBuilder
impl !RefUnwindSafe for CreateClassifierFluentBuilder
impl Send for CreateClassifierFluentBuilder
impl Sync for CreateClassifierFluentBuilder
impl Unpin for CreateClassifierFluentBuilder
impl !UnwindSafe for CreateClassifierFluentBuilder
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