@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrainingData extends Object implements Serializable, Cloneable, StructuredPojo
The dataset used for training.
Constructor and Description |
---|
TrainingData() |
Modifier and Type | Method and Description |
---|---|
TrainingData |
clone() |
boolean |
equals(Object obj) |
List<Asset> |
getAssets()
A Sagemaker GroundTruth manifest file that contains the training images (assets).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssets(Collection<Asset> assets)
A Sagemaker GroundTruth manifest file that contains the training images (assets).
|
String |
toString()
Returns a string representation of this object.
|
TrainingData |
withAssets(Asset... assets)
A Sagemaker GroundTruth manifest file that contains the training images (assets).
|
TrainingData |
withAssets(Collection<Asset> assets)
A Sagemaker GroundTruth manifest file that contains the training images (assets).
|
public List<Asset> getAssets()
A Sagemaker GroundTruth manifest file that contains the training images (assets).
public void setAssets(Collection<Asset> assets)
A Sagemaker GroundTruth manifest file that contains the training images (assets).
assets
- A Sagemaker GroundTruth manifest file that contains the training images (assets).public TrainingData withAssets(Asset... assets)
A Sagemaker GroundTruth manifest file that contains the training images (assets).
NOTE: This method appends the values to the existing list (if any). Use
setAssets(java.util.Collection)
or withAssets(java.util.Collection)
if you want to override the
existing values.
assets
- A Sagemaker GroundTruth manifest file that contains the training images (assets).public TrainingData withAssets(Collection<Asset> assets)
A Sagemaker GroundTruth manifest file that contains the training images (assets).
assets
- A Sagemaker GroundTruth manifest file that contains the training images (assets).public String toString()
toString
in class Object
Object.toString()
public TrainingData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.