Class DatasetChanges
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.DatasetChanges
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatasetChanges.Builder,DatasetChanges>
@Generated("software.amazon.awssdk:codegen") public final class DatasetChanges extends Object implements SdkPojo, Serializable, 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-reffield of the update entry with thesource-reffiled of the entry that you want to update. If thesource-reffield doesn't match an existing entry, the entry is added to dataset as a new entry.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatasetChanges.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatasetChanges.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)SdkBytesgroundTruth()A Base64-encoded binary data object containing one or JSON lines that either update the dataset or are additions to the dataset.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DatasetChanges.Builder>serializableBuilderClass()DatasetChanges.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
groundTruth
public final SdkBytes 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
public DatasetChanges.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetChanges.Builder,DatasetChanges>
-
builder
public static DatasetChanges.Builder builder()
-
serializableBuilderClass
public static Class<? extends DatasetChanges.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-