#[non_exhaustive]pub struct CreateDatasetInput {
pub dataset_source: Option<DatasetSource>,
pub dataset_type: Option<DatasetType>,
pub project_arn: Option<String>,
}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.dataset_source: Option<DatasetSource> The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3 bucket location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource, an empty dataset is created. To add labeled images to the dataset, You can use the console or call UpdateDatasetEntries.
dataset_type: Option<DatasetType> The type of the dataset. Specify TRAIN to create a training dataset. Specify TEST to create a test dataset.
project_arn: Option<String>The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.
Implementations§
source§impl CreateDatasetInput
impl CreateDatasetInput
sourcepub fn dataset_source(&self) -> Option<&DatasetSource>
pub fn dataset_source(&self) -> Option<&DatasetSource>
The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3 bucket location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource, an empty dataset is created. To add labeled images to the dataset, You can use the console or call UpdateDatasetEntries.
sourcepub fn dataset_type(&self) -> Option<&DatasetType>
pub fn dataset_type(&self) -> Option<&DatasetType>
The type of the dataset. Specify TRAIN to create a training dataset. Specify TEST to create a test dataset.
sourcepub fn project_arn(&self) -> Option<&str>
pub fn project_arn(&self) -> Option<&str>
The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign 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 ==.