Struct aws_sdk_rekognition::types::builders::DatasetChangesBuilder
source · #[non_exhaustive]pub struct DatasetChangesBuilder { /* private fields */ }Expand description
A builder for DatasetChanges.
Implementations§
source§impl DatasetChangesBuilder
impl DatasetChangesBuilder
sourcepub fn ground_truth(self, input: Blob) -> Self
pub fn ground_truth(self, input: Blob) -> Self
A Base64-encoded binary data object containing one or JSON lines that either update the dataset or are additions to the dataset. You change a dataset by calling UpdateDatasetEntries. If you are using an AWS SDK to call UpdateDatasetEntries, you don't need to encode Changes as the SDK encodes the data for you.
For example JSON lines, see Image-Level labels in manifest files and and Object localization in manifest files in the Amazon Rekognition Custom Labels Developer Guide.
This field is required.sourcepub fn set_ground_truth(self, input: Option<Blob>) -> Self
pub fn set_ground_truth(self, input: Option<Blob>) -> Self
A Base64-encoded binary data object containing one or JSON lines that either update the dataset or are additions to the dataset. You change a dataset by calling UpdateDatasetEntries. If you are using an AWS SDK to call UpdateDatasetEntries, you don't need to encode Changes as the SDK encodes the data for you.
For example JSON lines, see Image-Level labels in manifest files and and Object localization in manifest files in the Amazon Rekognition Custom Labels Developer Guide.
sourcepub fn get_ground_truth(&self) -> &Option<Blob>
pub fn get_ground_truth(&self) -> &Option<Blob>
A Base64-encoded binary data object containing one or JSON lines that either update the dataset or are additions to the dataset. You change a dataset by calling UpdateDatasetEntries. If you are using an AWS SDK to call UpdateDatasetEntries, you don't need to encode Changes as the SDK encodes the data for you.
For example JSON lines, see Image-Level labels in manifest files and and Object localization in manifest files in the Amazon Rekognition Custom Labels Developer Guide.
sourcepub fn build(self) -> Result<DatasetChanges, BuildError>
pub fn build(self) -> Result<DatasetChanges, BuildError>
Consumes the builder and constructs a DatasetChanges.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DatasetChangesBuilder
impl Clone for DatasetChangesBuilder
source§fn clone(&self) -> DatasetChangesBuilder
fn clone(&self) -> DatasetChangesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatasetChangesBuilder
impl Debug for DatasetChangesBuilder
source§impl Default for DatasetChangesBuilder
impl Default for DatasetChangesBuilder
source§fn default() -> DatasetChangesBuilder
fn default() -> DatasetChangesBuilder
source§impl PartialEq for DatasetChangesBuilder
impl PartialEq for DatasetChangesBuilder
source§fn eq(&self, other: &DatasetChangesBuilder) -> bool
fn eq(&self, other: &DatasetChangesBuilder) -> bool
self and other values to be equal, and is used
by ==.