@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLabelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListLabelsResult() |
Modifier and Type | Method and Description |
---|---|
ListLabelsResult |
clone() |
boolean |
equals(Object obj) |
List<LabelSummary> |
getLabelSummaries()
A summary of the items in the label group.
|
String |
getNextToken()
An opaque pagination token indicating where to continue the listing of datasets.
|
int |
hashCode() |
void |
setLabelSummaries(Collection<LabelSummary> labelSummaries)
A summary of the items in the label group.
|
void |
setNextToken(String nextToken)
An opaque pagination token indicating where to continue the listing of datasets.
|
String |
toString()
Returns a string representation of this object.
|
ListLabelsResult |
withLabelSummaries(Collection<LabelSummary> labelSummaries)
A summary of the items in the label group.
|
ListLabelsResult |
withLabelSummaries(LabelSummary... labelSummaries)
A summary of the items in the label group.
|
ListLabelsResult |
withNextToken(String nextToken)
An opaque pagination token indicating where to continue the listing of datasets.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
An opaque pagination token indicating where to continue the listing of datasets.
nextToken
- An opaque pagination token indicating where to continue the listing of datasets.public String getNextToken()
An opaque pagination token indicating where to continue the listing of datasets.
public ListLabelsResult withNextToken(String nextToken)
An opaque pagination token indicating where to continue the listing of datasets.
nextToken
- An opaque pagination token indicating where to continue the listing of datasets.public List<LabelSummary> getLabelSummaries()
A summary of the items in the label group.
public void setLabelSummaries(Collection<LabelSummary> labelSummaries)
A summary of the items in the label group.
labelSummaries
- A summary of the items in the label group.public ListLabelsResult withLabelSummaries(LabelSummary... labelSummaries)
A summary of the items in the label group.
NOTE: This method appends the values to the existing list (if any). Use
setLabelSummaries(java.util.Collection)
or withLabelSummaries(java.util.Collection)
if you want
to override the existing values.
labelSummaries
- A summary of the items in the label group.public ListLabelsResult withLabelSummaries(Collection<LabelSummary> labelSummaries)
A summary of the items in the label group.
labelSummaries
- A summary of the items in the label group.public String toString()
toString
in class Object
Object.toString()
public ListLabelsResult clone()