Class DatasetChanges
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatasetChanges.Builder,DatasetChanges>
Describes updates or additions to a dataset. A Single update or addition is an entry (JSON Line) that provides
information about a single image. To update an existing entry, you match the source-ref field of the
update entry with the source-ref filed of the entry that you want to update. If the
source-ref field doesn't match an existing entry, the entry is added to dataset as a new entry.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DatasetChanges.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final SdkBytesA Base64-encoded binary data object containing one or JSON lines that either update the dataset or are additions to the dataset.final inthashCode()static Class<? extends DatasetChanges.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
groundTruth
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 encodeChangesas 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.
- Returns:
- 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 encodeChangesas 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.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetChanges.Builder,DatasetChanges> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-