@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatasetSource extends Object implements Serializable, Cloneable, StructuredPojo
 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 GroundTruthManifest field. 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 in
 DatasetArn.
 
 You need to specify a value for DatasetArn or GroundTruthManifest, 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.
| Constructor and Description | 
|---|
| DatasetSource() | 
| Modifier and Type | Method and Description | 
|---|---|
| DatasetSource | clone() | 
| boolean | equals(Object obj) | 
| String | getDatasetArn()
 The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy. | 
| GroundTruthManifest | getGroundTruthManifest() | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setDatasetArn(String datasetArn)
 The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy. | 
| void | setGroundTruthManifest(GroundTruthManifest groundTruthManifest) | 
| String | toString()Returns a string representation of this object. | 
| DatasetSource | withDatasetArn(String datasetArn)
 The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy. | 
| DatasetSource | withGroundTruthManifest(GroundTruthManifest groundTruthManifest) | 
public void setGroundTruthManifest(GroundTruthManifest groundTruthManifest)
groundTruthManifest - public GroundTruthManifest getGroundTruthManifest()
public DatasetSource withGroundTruthManifest(GroundTruthManifest groundTruthManifest)
groundTruthManifest - public void setDatasetArn(String datasetArn)
The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.
datasetArn - The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.public String getDatasetArn()
The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.
public DatasetSource withDatasetArn(String datasetArn)
The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.
datasetArn - The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.public String toString()
toString in class ObjectObject.toString()public DatasetSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.