Struct aws_sdk_rekognition::types::builders::DatasetMetadataBuilder
source · #[non_exhaustive]pub struct DatasetMetadataBuilder { /* private fields */ }Expand description
A builder for DatasetMetadata.
Implementations§
source§impl DatasetMetadataBuilder
impl DatasetMetadataBuilder
sourcepub fn creation_timestamp(self, input: DateTime) -> Self
pub fn creation_timestamp(self, input: DateTime) -> Self
The Unix timestamp for the date and time that the dataset was created.
sourcepub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
The Unix timestamp for the date and time that the dataset was created.
sourcepub fn get_creation_timestamp(&self) -> &Option<DateTime>
pub fn get_creation_timestamp(&self) -> &Option<DateTime>
The Unix timestamp for the date and time that the dataset was created.
sourcepub fn dataset_type(self, input: DatasetType) -> Self
pub fn dataset_type(self, input: DatasetType) -> Self
The type of the dataset.
sourcepub fn set_dataset_type(self, input: Option<DatasetType>) -> Self
pub fn set_dataset_type(self, input: Option<DatasetType>) -> Self
The type of the dataset.
sourcepub fn get_dataset_type(&self) -> &Option<DatasetType>
pub fn get_dataset_type(&self) -> &Option<DatasetType>
The type of the dataset.
sourcepub fn dataset_arn(self, input: impl Into<String>) -> Self
pub fn dataset_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the dataset.
sourcepub fn set_dataset_arn(self, input: Option<String>) -> Self
pub fn set_dataset_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the dataset.
sourcepub fn get_dataset_arn(&self) -> &Option<String>
pub fn get_dataset_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the dataset.
sourcepub fn status(self, input: DatasetStatus) -> Self
pub fn status(self, input: DatasetStatus) -> Self
The status for the dataset.
sourcepub fn set_status(self, input: Option<DatasetStatus>) -> Self
pub fn set_status(self, input: Option<DatasetStatus>) -> Self
The status for the dataset.
sourcepub fn get_status(&self) -> &Option<DatasetStatus>
pub fn get_status(&self) -> &Option<DatasetStatus>
The status for the dataset.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message for the dataset.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message for the dataset.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message for the dataset.
sourcepub fn status_message_code(self, input: DatasetStatusMessageCode) -> Self
pub fn status_message_code(self, input: DatasetStatusMessageCode) -> Self
The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.
sourcepub fn set_status_message_code(
self,
input: Option<DatasetStatusMessageCode>
) -> Self
pub fn set_status_message_code( self, input: Option<DatasetStatusMessageCode> ) -> Self
The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.
sourcepub fn get_status_message_code(&self) -> &Option<DatasetStatusMessageCode>
pub fn get_status_message_code(&self) -> &Option<DatasetStatusMessageCode>
The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.
sourcepub fn build(self) -> DatasetMetadata
pub fn build(self) -> DatasetMetadata
Consumes the builder and constructs a DatasetMetadata.
Trait Implementations§
source§impl Clone for DatasetMetadataBuilder
impl Clone for DatasetMetadataBuilder
source§fn clone(&self) -> DatasetMetadataBuilder
fn clone(&self) -> DatasetMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatasetMetadataBuilder
impl Debug for DatasetMetadataBuilder
source§impl Default for DatasetMetadataBuilder
impl Default for DatasetMetadataBuilder
source§fn default() -> DatasetMetadataBuilder
fn default() -> DatasetMetadataBuilder
source§impl PartialEq for DatasetMetadataBuilder
impl PartialEq for DatasetMetadataBuilder
source§fn eq(&self, other: &DatasetMetadataBuilder) -> bool
fn eq(&self, other: &DatasetMetadataBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DatasetMetadataBuilder
Auto Trait Implementations§
impl Freeze for DatasetMetadataBuilder
impl RefUnwindSafe for DatasetMetadataBuilder
impl Send for DatasetMetadataBuilder
impl Sync for DatasetMetadataBuilder
impl Unpin for DatasetMetadataBuilder
impl UnwindSafe for DatasetMetadataBuilder
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