Struct aws_sdk_personalize::types::builders::DatasetSchemaBuilder
source · #[non_exhaustive]pub struct DatasetSchemaBuilder { /* private fields */ }Expand description
A builder for DatasetSchema.
Implementations§
source§impl DatasetSchemaBuilder
impl DatasetSchemaBuilder
sourcepub fn schema_arn(self, input: impl Into<String>) -> Self
pub fn schema_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the schema.
sourcepub fn set_schema_arn(self, input: Option<String>) -> Self
pub fn set_schema_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the schema.
sourcepub fn get_schema_arn(&self) -> &Option<String>
pub fn get_schema_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the schema.
sourcepub fn set_schema(self, input: Option<String>) -> Self
pub fn set_schema(self, input: Option<String>) -> Self
The schema.
sourcepub fn get_schema(&self) -> &Option<String>
pub fn get_schema(&self) -> &Option<String>
The schema.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time (in Unix time) that the schema was created.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time (in Unix time) that the schema was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time (in Unix time) that the schema was created.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The date and time (in Unix time) that the schema was last updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The date and time (in Unix time) that the schema was last updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The date and time (in Unix time) that the schema was last updated.
sourcepub fn domain(self, input: Domain) -> Self
pub fn domain(self, input: Domain) -> Self
The domain of a schema that you created for a dataset in a Domain dataset group.
sourcepub fn set_domain(self, input: Option<Domain>) -> Self
pub fn set_domain(self, input: Option<Domain>) -> Self
The domain of a schema that you created for a dataset in a Domain dataset group.
sourcepub fn get_domain(&self) -> &Option<Domain>
pub fn get_domain(&self) -> &Option<Domain>
The domain of a schema that you created for a dataset in a Domain dataset group.
sourcepub fn build(self) -> DatasetSchema
pub fn build(self) -> DatasetSchema
Consumes the builder and constructs a DatasetSchema.
Trait Implementations§
source§impl Clone for DatasetSchemaBuilder
impl Clone for DatasetSchemaBuilder
source§fn clone(&self) -> DatasetSchemaBuilder
fn clone(&self) -> DatasetSchemaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatasetSchemaBuilder
impl Debug for DatasetSchemaBuilder
source§impl Default for DatasetSchemaBuilder
impl Default for DatasetSchemaBuilder
source§fn default() -> DatasetSchemaBuilder
fn default() -> DatasetSchemaBuilder
source§impl PartialEq for DatasetSchemaBuilder
impl PartialEq for DatasetSchemaBuilder
source§fn eq(&self, other: &DatasetSchemaBuilder) -> bool
fn eq(&self, other: &DatasetSchemaBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DatasetSchemaBuilder
Auto Trait Implementations§
impl Freeze for DatasetSchemaBuilder
impl RefUnwindSafe for DatasetSchemaBuilder
impl Send for DatasetSchemaBuilder
impl Sync for DatasetSchemaBuilder
impl Unpin for DatasetSchemaBuilder
impl UnwindSafe for DatasetSchemaBuilder
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