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