@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 creates
a testing dataset using an 80/20 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 creates a testing dataset with an 80/20 split of the training
dataset.
|
int |
hashCode() |
Boolean |
isAutoCreate()
If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training
dataset.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssets(Collection<Asset> assets)
The assets used for testing.
|
void |
setAutoCreate(Boolean autoCreate)
If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training
dataset.
|
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 creates a testing dataset with an 80/20 split of the training
dataset.
|
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 creates a testing dataset with an 80/20 split of the training dataset.
autoCreate
- If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the
training dataset.public Boolean getAutoCreate()
If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training dataset.
public TestingData withAutoCreate(Boolean autoCreate)
If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training dataset.
autoCreate
- If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the
training dataset.public Boolean isAutoCreate()
If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training dataset.
public String toString()
toString
in class Object
Object.toString()
public TestingData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.