Struct aws_sdk_glue::model::update_grok_classifier_request::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for UpdateGrokClassifierRequest.
Implementations§
source§impl Builder
impl Builder
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, such as Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
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, such as Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
sourcepub fn grok_pattern(self, input: impl Into<String>) -> Self
pub fn grok_pattern(self, input: impl Into<String>) -> Self
The grok pattern used by this classifier.
sourcepub fn set_grok_pattern(self, input: Option<String>) -> Self
pub fn set_grok_pattern(self, input: Option<String>) -> Self
The grok pattern used by this classifier.
sourcepub fn custom_patterns(self, input: impl Into<String>) -> Self
pub fn custom_patterns(self, input: impl Into<String>) -> Self
Optional custom grok patterns used by this classifier.
sourcepub fn set_custom_patterns(self, input: Option<String>) -> Self
pub fn set_custom_patterns(self, input: Option<String>) -> Self
Optional custom grok patterns used by this classifier.
sourcepub fn build(self) -> UpdateGrokClassifierRequest
pub fn build(self) -> UpdateGrokClassifierRequest
Consumes the builder and constructs a UpdateGrokClassifierRequest.