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 ==.impl StructuralPartialEq for JsonClassifierBuilder
Auto Trait Implementations§
impl Freeze for JsonClassifierBuilder
impl RefUnwindSafe for JsonClassifierBuilder
impl Send for JsonClassifierBuilder
impl Sync for JsonClassifierBuilder
impl Unpin for JsonClassifierBuilder
impl UnwindSafe for JsonClassifierBuilder
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