@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 manifest file that contains references to the training images and ground-truth annotations.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssets(Collection<Asset> assets)
A manifest file that contains references to the training images and ground-truth annotations.
|
String |
toString()
Returns a string representation of this object.
|
TrainingData |
withAssets(Asset... assets)
A manifest file that contains references to the training images and ground-truth annotations.
|
TrainingData |
withAssets(Collection<Asset> assets)
A manifest file that contains references to the training images and ground-truth annotations.
|
public List<Asset> getAssets()
A manifest file that contains references to the training images and ground-truth annotations.
public void setAssets(Collection<Asset> assets)
A manifest file that contains references to the training images and ground-truth annotations.
assets
- A manifest file that contains references to the training images and ground-truth annotations.public TrainingData withAssets(Asset... assets)
A manifest file that contains references to the training images and ground-truth annotations.
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 manifest file that contains references to the training images and ground-truth annotations.public TrainingData withAssets(Collection<Asset> assets)
A manifest file that contains references to the training images and ground-truth annotations.
assets
- A manifest file that contains references to the training images and ground-truth annotations.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.