Struct aws_sdk_comprehend::types::DatasetProperties
source · #[non_exhaustive]pub struct DatasetProperties {
pub dataset_arn: Option<String>,
pub dataset_name: Option<String>,
pub dataset_type: Option<DatasetType>,
pub dataset_s3_uri: Option<String>,
pub description: Option<String>,
pub status: Option<DatasetStatus>,
pub message: Option<String>,
pub number_of_documents: Option<i64>,
pub creation_time: Option<DateTime>,
pub end_time: Option<DateTime>,
}Expand description
Properties associated with the dataset.
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_arn: Option<String>The ARN of the dataset.
dataset_name: Option<String>The name of the dataset.
dataset_type: Option<DatasetType>The dataset type (training data or test data).
dataset_s3_uri: Option<String>The S3 URI where the dataset is stored.
description: Option<String>Description of the dataset.
status: Option<DatasetStatus>The dataset status. While the system creates the dataset, the status is CREATING. When the dataset is ready to use, the status changes to COMPLETED.
message: Option<String>A description of the status of the dataset.
number_of_documents: Option<i64>The number of documents in the dataset.
creation_time: Option<DateTime>Creation time of the dataset.
end_time: Option<DateTime>Time when the data from the dataset becomes available in the data lake.
Implementations§
source§impl DatasetProperties
impl DatasetProperties
sourcepub fn dataset_arn(&self) -> Option<&str>
pub fn dataset_arn(&self) -> Option<&str>
The ARN of the dataset.
sourcepub fn dataset_name(&self) -> Option<&str>
pub fn dataset_name(&self) -> Option<&str>
The name of the dataset.
sourcepub fn dataset_type(&self) -> Option<&DatasetType>
pub fn dataset_type(&self) -> Option<&DatasetType>
The dataset type (training data or test data).
sourcepub fn dataset_s3_uri(&self) -> Option<&str>
pub fn dataset_s3_uri(&self) -> Option<&str>
The S3 URI where the dataset is stored.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description of the dataset.
sourcepub fn status(&self) -> Option<&DatasetStatus>
pub fn status(&self) -> Option<&DatasetStatus>
The dataset status. While the system creates the dataset, the status is CREATING. When the dataset is ready to use, the status changes to COMPLETED.
sourcepub fn number_of_documents(&self) -> Option<i64>
pub fn number_of_documents(&self) -> Option<i64>
The number of documents in the dataset.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
Creation time of the dataset.
source§impl DatasetProperties
impl DatasetProperties
sourcepub fn builder() -> DatasetPropertiesBuilder
pub fn builder() -> DatasetPropertiesBuilder
Creates a new builder-style object to manufacture DatasetProperties.
Trait Implementations§
source§impl Clone for DatasetProperties
impl Clone for DatasetProperties
source§fn clone(&self) -> DatasetProperties
fn clone(&self) -> DatasetProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatasetProperties
impl Debug for DatasetProperties
source§impl PartialEq for DatasetProperties
impl PartialEq for DatasetProperties
source§fn eq(&self, other: &DatasetProperties) -> bool
fn eq(&self, other: &DatasetProperties) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DatasetProperties
Auto Trait Implementations§
impl Freeze for DatasetProperties
impl RefUnwindSafe for DatasetProperties
impl Send for DatasetProperties
impl Sync for DatasetProperties
impl Unpin for DatasetProperties
impl UnwindSafe for DatasetProperties
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