public class TestingData
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Asset> |
getAssets()
The assets used for testing.
|
java.lang.Boolean |
getAutoCreate()
If specified, Amazon Rekognition Custom Labels creates a testing dataset
with an 80/20 split of the training dataset.
|
int |
hashCode() |
java.lang.Boolean |
isAutoCreate()
If specified, Amazon Rekognition Custom Labels creates a testing dataset
with an 80/20 split of the training dataset.
|
void |
setAssets(java.util.Collection<Asset> assets)
The assets used for testing.
|
void |
setAutoCreate(java.lang.Boolean autoCreate)
If specified, Amazon Rekognition Custom Labels creates a testing dataset
with an 80/20 split of the training dataset.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TestingData |
withAssets(Asset... assets)
The assets used for testing.
|
TestingData |
withAssets(java.util.Collection<Asset> assets)
The assets used for testing.
|
TestingData |
withAutoCreate(java.lang.Boolean autoCreate)
If specified, Amazon Rekognition Custom Labels creates a testing dataset
with an 80/20 split of the training dataset.
|
public java.util.List<Asset> getAssets()
The assets used for testing.
The assets used for testing.
public void setAssets(java.util.Collection<Asset> assets)
The assets used for testing.
assets
- The assets used for testing.
public TestingData withAssets(Asset... assets)
The assets used for testing.
Returns a reference to this object so that method calls can be chained together.
assets
- The assets used for testing.
public TestingData withAssets(java.util.Collection<Asset> assets)
The assets used for testing.
Returns a reference to this object so that method calls can be chained together.
assets
- The assets used for testing.
public java.lang.Boolean isAutoCreate()
If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training dataset.
If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training dataset.
public java.lang.Boolean getAutoCreate()
If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training dataset.
If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training dataset.
public void setAutoCreate(java.lang.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 TestingData withAutoCreate(java.lang.Boolean autoCreate)
If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training dataset.
Returns a reference to this object so that method calls can be chained together.
autoCreate
- If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training dataset.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.