@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDatasetLabelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDatasetLabelsResult() |
Modifier and Type | Method and Description |
---|---|
ListDatasetLabelsResult |
clone() |
boolean |
equals(Object obj) |
List<DatasetLabelDescription> |
getDatasetLabelDescriptions()
A list of the labels in the dataset.
|
String |
getNextToken()
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom
Labels returns a pagination token in the response.
|
int |
hashCode() |
void |
setDatasetLabelDescriptions(Collection<DatasetLabelDescription> datasetLabelDescriptions)
A list of the labels in the dataset.
|
void |
setNextToken(String nextToken)
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom
Labels returns a pagination token in the response.
|
String |
toString()
Returns a string representation of this object.
|
ListDatasetLabelsResult |
withDatasetLabelDescriptions(Collection<DatasetLabelDescription> datasetLabelDescriptions)
A list of the labels in the dataset.
|
ListDatasetLabelsResult |
withDatasetLabelDescriptions(DatasetLabelDescription... datasetLabelDescriptions)
A list of the labels in the dataset.
|
ListDatasetLabelsResult |
withNextToken(String nextToken)
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom
Labels returns a pagination token in the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DatasetLabelDescription> getDatasetLabelDescriptions()
A list of the labels in the dataset.
public void setDatasetLabelDescriptions(Collection<DatasetLabelDescription> datasetLabelDescriptions)
A list of the labels in the dataset.
datasetLabelDescriptions
- A list of the labels in the dataset.public ListDatasetLabelsResult withDatasetLabelDescriptions(DatasetLabelDescription... datasetLabelDescriptions)
A list of the labels in the dataset.
NOTE: This method appends the values to the existing list (if any). Use
setDatasetLabelDescriptions(java.util.Collection)
or
withDatasetLabelDescriptions(java.util.Collection)
if you want to override the existing values.
datasetLabelDescriptions
- A list of the labels in the dataset.public ListDatasetLabelsResult withDatasetLabelDescriptions(Collection<DatasetLabelDescription> datasetLabelDescriptions)
A list of the labels in the dataset.
datasetLabelDescriptions
- A list of the labels in the dataset.public void setNextToken(String nextToken)
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
nextToken
- If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition
Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve
the next set of results.public String getNextToken()
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
public ListDatasetLabelsResult withNextToken(String nextToken)
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
nextToken
- If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition
Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve
the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListDatasetLabelsResult clone()