#[non_exhaustive]pub struct CreateDatasetInput {
    pub flywheel_arn: Option<String>,
    pub dataset_name: Option<String>,
    pub dataset_type: Option<DatasetType>,
    pub description: Option<String>,
    pub input_data_config: Option<DatasetInputDataConfig>,
    pub client_request_token: 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.flywheel_arn: Option<String>The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.
dataset_name: Option<String>Name of the dataset.
dataset_type: Option<DatasetType>The dataset type. You can specify that the data in a dataset is for training the model or for testing the model.
description: Option<String>Description of the dataset.
input_data_config: Option<DatasetInputDataConfig>Information about the input data configuration. The type of input data varies based on the format of the input and whether the data is for a classifier model or an entity recognition model.
client_request_token: Option<String>A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
Tags for the dataset.
Implementations§
source§impl CreateDatasetInput
 
impl CreateDatasetInput
sourcepub fn flywheel_arn(&self) -> Option<&str>
 
pub fn flywheel_arn(&self) -> Option<&str>
The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.
sourcepub fn dataset_name(&self) -> Option<&str>
 
pub fn dataset_name(&self) -> Option<&str>
Name of the dataset.
sourcepub fn dataset_type(&self) -> Option<&DatasetType>
 
pub fn dataset_type(&self) -> Option<&DatasetType>
The dataset type. You can specify that the data in a dataset is for training the model or for testing the model.
sourcepub fn description(&self) -> Option<&str>
 
pub fn description(&self) -> Option<&str>
Description of the dataset.
sourcepub fn input_data_config(&self) -> Option<&DatasetInputDataConfig>
 
pub fn input_data_config(&self) -> Option<&DatasetInputDataConfig>
Information about the input data configuration. The type of input data varies based on the format of the input and whether the data is for a classifier model or an entity recognition model.
sourcepub fn client_request_token(&self) -> Option<&str>
 
pub fn client_request_token(&self) -> Option<&str>
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
Tags for the dataset.
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 ==.