Struct aws_sdk_glue::model::grok_classifier::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for GrokClassifier.
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, 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, and so on.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that this classifier was registered.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time that this classifier was registered.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
The time that this classifier was last updated.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
The time that this classifier was last updated.
sourcepub fn set_version(self, input: Option<i64>) -> Self
pub fn set_version(self, input: Option<i64>) -> Self
The version of this classifier.
sourcepub fn grok_pattern(self, input: impl Into<String>) -> Self
pub fn grok_pattern(self, input: impl Into<String>) -> Self
The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.
sourcepub fn set_grok_pattern(self, input: Option<String>) -> Self
pub fn set_grok_pattern(self, input: Option<String>) -> Self
The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.
sourcepub fn custom_patterns(self, input: impl Into<String>) -> Self
pub fn custom_patterns(self, input: impl Into<String>) -> Self
Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.
sourcepub fn set_custom_patterns(self, input: Option<String>) -> Self
pub fn set_custom_patterns(self, input: Option<String>) -> Self
Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.
sourcepub fn build(self) -> GrokClassifier
pub fn build(self) -> GrokClassifier
Consumes the builder and constructs a GrokClassifier.