Class DatasetSource
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.DatasetSource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatasetSource.Builder,DatasetSource>
@Generated("software.amazon.awssdk:codegen") public final class DatasetSource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetSource.Builder,DatasetSource>
The source that Amazon Rekognition Custom Labels uses to create a dataset. To use an Amazon Sagemaker format manifest file, specify the S3 bucket location in the
GroundTruthManifestfield. The S3 bucket must be in your AWS account. To create a copy of an existing dataset, specify the Amazon Resource Name (ARN) of an existing dataset inDatasetArn.You need to specify a value for
DatasetArnorGroundTruthManifest, but not both. if you supply both values, or if you don't specify any values, an InvalidParameterException exception occurs.For more information, see CreateDataset.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatasetSource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatasetSource.Builderbuilder()StringdatasetArn()The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)GroundTruthManifestgroundTruthManifest()Returns the value of the GroundTruthManifest property for this object.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DatasetSource.Builder>serializableBuilderClass()DatasetSource.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
-
groundTruthManifest
public final GroundTruthManifest groundTruthManifest()
Returns the value of the GroundTruthManifest property for this object.- Returns:
- The value of the GroundTruthManifest property for this object.
-
datasetArn
public final String datasetArn()
The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.
- Returns:
- The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.
-
toBuilder
public DatasetSource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetSource.Builder,DatasetSource>
-
builder
public static DatasetSource.Builder builder()
-
serializableBuilderClass
public static Class<? extends DatasetSource.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.
-
-