Struct aws_sdk_glue::types::builders::JsonClassifierBuilder
source · #[non_exhaustive]pub struct JsonClassifierBuilder { /* private fields */ }Expand description
A builder for JsonClassifier.
Implementations§
source§impl JsonClassifierBuilder
impl JsonClassifierBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the classifier.
This field is required.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 get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
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 get_last_updated(&self) -> &Option<DateTime>
pub fn get_last_updated(&self) -> &Option<DateTime>
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 get_version(&self) -> &Option<i64>
pub fn get_version(&self) -> &Option<i64>
The version of this classifier.
sourcepub fn json_path(self, input: impl Into<String>) -> Self
pub fn json_path(self, input: impl Into<String>) -> Self
A JsonPath string defining the JSON data for the classifier to classify. Glue supports a subset of JsonPath, as described in Writing JsonPath Custom Classifiers.
sourcepub fn set_json_path(self, input: Option<String>) -> Self
pub fn set_json_path(self, input: Option<String>) -> Self
A JsonPath string defining the JSON data for the classifier to classify. Glue supports a subset of JsonPath, as described in Writing JsonPath Custom Classifiers.
sourcepub fn get_json_path(&self) -> &Option<String>
pub fn get_json_path(&self) -> &Option<String>
A JsonPath string defining the JSON data for the classifier to classify. Glue supports a subset of JsonPath, as described in Writing JsonPath Custom Classifiers.
sourcepub fn build(self) -> Result<JsonClassifier, BuildError>
pub fn build(self) -> Result<JsonClassifier, BuildError>
Consumes the builder and constructs a JsonClassifier.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for JsonClassifierBuilder
impl Clone for JsonClassifierBuilder
source§fn clone(&self) -> JsonClassifierBuilder
fn clone(&self) -> JsonClassifierBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for JsonClassifierBuilder
impl Debug for JsonClassifierBuilder
source§impl Default for JsonClassifierBuilder
impl Default for JsonClassifierBuilder
source§fn default() -> JsonClassifierBuilder
fn default() -> JsonClassifierBuilder
source§impl PartialEq for JsonClassifierBuilder
impl PartialEq for JsonClassifierBuilder
source§fn eq(&self, other: &JsonClassifierBuilder) -> bool
fn eq(&self, other: &JsonClassifierBuilder) -> bool
self and other values to be equal, and is used
by ==.