#[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
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
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 ==
.