@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestingData extends Object implements Serializable, Cloneable, StructuredPojo
The dataset used for testing. Optionally, if AutoCreate is set, Amazon Rekognition Custom Labels uses
the training dataset to create a test dataset with a temporary split of the training dataset.
| Constructor and Description |
|---|
TestingData() |
| Modifier and Type | Method and Description |
|---|---|
TestingData |
clone() |
boolean |
equals(Object obj) |
List<Asset> |
getAssets()
The assets used for testing.
|
Boolean |
getAutoCreate()
If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test
dataset (20%) for the training job.
|
int |
hashCode() |
Boolean |
isAutoCreate()
If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test
dataset (20%) for the training job.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAssets(Collection<Asset> assets)
The assets used for testing.
|
void |
setAutoCreate(Boolean autoCreate)
If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test
dataset (20%) for the training job.
|
String |
toString()
Returns a string representation of this object.
|
TestingData |
withAssets(Asset... assets)
The assets used for testing.
|
TestingData |
withAssets(Collection<Asset> assets)
The assets used for testing.
|
TestingData |
withAutoCreate(Boolean autoCreate)
If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test
dataset (20%) for the training job.
|
public List<Asset> getAssets()
The assets used for testing.
public void setAssets(Collection<Asset> assets)
The assets used for testing.
assets - The assets used for testing.public TestingData withAssets(Asset... assets)
The assets used for testing.
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 - The assets used for testing.public TestingData withAssets(Collection<Asset> assets)
The assets used for testing.
assets - The assets used for testing.public void setAutoCreate(Boolean autoCreate)
If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job. After training completes, the test dataset is not stored and the training dataset reverts to its previous size.
autoCreate - If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a
test dataset (20%) for the training job. After training completes, the test dataset is not stored and the
training dataset reverts to its previous size.public Boolean getAutoCreate()
If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job. After training completes, the test dataset is not stored and the training dataset reverts to its previous size.
public TestingData withAutoCreate(Boolean autoCreate)
If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job. After training completes, the test dataset is not stored and the training dataset reverts to its previous size.
autoCreate - If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a
test dataset (20%) for the training job. After training completes, the test dataset is not stored and the
training dataset reverts to its previous size.public Boolean isAutoCreate()
If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job. After training completes, the test dataset is not stored and the training dataset reverts to its previous size.
public String toString()
toString in class ObjectObject.toString()public TestingData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.