#[non_exhaustive]pub struct CreateDatasetInput {
pub name: Option<String>,
pub schema_arn: Option<String>,
pub dataset_group_arn: Option<String>,
pub dataset_type: Option<String>,
pub tags: Option<Vec<Tag>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>The name for the dataset.
schema_arn: Option<String>The ARN of the schema to associate with the dataset. The schema defines the dataset fields.
dataset_group_arn: Option<String>The Amazon Resource Name (ARN) of the dataset group to add the dataset to.
dataset_type: Option<String>The type of dataset.
One of the following (case insensitive) values:
-
Interactions
-
Items
-
Users
-
Actions
-
Action_Interactions
A list of tags to apply to the dataset.
Implementations§
source§impl CreateDatasetInput
impl CreateDatasetInput
sourcepub fn schema_arn(&self) -> Option<&str>
pub fn schema_arn(&self) -> Option<&str>
The ARN of the schema to associate with the dataset. The schema defines the dataset fields.
sourcepub fn dataset_group_arn(&self) -> Option<&str>
pub fn dataset_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the dataset group to add the dataset to.
sourcepub fn dataset_type(&self) -> Option<&str>
pub fn dataset_type(&self) -> Option<&str>
The type of dataset.
One of the following (case insensitive) values:
-
Interactions
-
Items
-
Users
-
Actions
-
Action_Interactions
A list of tags to apply to the dataset.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateDatasetInput
impl CreateDatasetInput
sourcepub fn builder() -> CreateDatasetInputBuilder
pub fn builder() -> CreateDatasetInputBuilder
Creates a new builder-style object to manufacture CreateDatasetInput.
Trait Implementations§
source§impl Clone for CreateDatasetInput
impl Clone for CreateDatasetInput
source§fn clone(&self) -> CreateDatasetInput
fn clone(&self) -> CreateDatasetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDatasetInput
impl Debug for CreateDatasetInput
source§impl PartialEq for CreateDatasetInput
impl PartialEq for CreateDatasetInput
source§fn eq(&self, other: &CreateDatasetInput) -> bool
fn eq(&self, other: &CreateDatasetInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateDatasetInput
Auto Trait Implementations§
impl Freeze for CreateDatasetInput
impl RefUnwindSafe for CreateDatasetInput
impl Send for CreateDatasetInput
impl Sync for CreateDatasetInput
impl Unpin for CreateDatasetInput
impl UnwindSafe for CreateDatasetInput
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