@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.
If you don't supply the LabelGroupName
request parameter, or if you supply the name of a label group
that doesn't exist, ListLabels
returns an empty array in LabelSummaries
.
If you don't supply the LabelGroupName
request parameter, or if you supply the name of a
label group that doesn't exist, ListLabels
returns an empty array in
LabelSummaries
.
public void setLabelSummaries(Collection<LabelSummary> labelSummaries)
A summary of the items in the label group.
If you don't supply the LabelGroupName
request parameter, or if you supply the name of a label group
that doesn't exist, ListLabels
returns an empty array in LabelSummaries
.
labelSummaries
- A summary of the items in the label group.
If you don't supply the LabelGroupName
request parameter, or if you supply the name of a
label group that doesn't exist, ListLabels
returns an empty array in
LabelSummaries
.
public ListLabelsResult withLabelSummaries(LabelSummary... labelSummaries)
A summary of the items in the label group.
If you don't supply the LabelGroupName
request parameter, or if you supply the name of a label group
that doesn't exist, ListLabels
returns an empty array in LabelSummaries
.
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.
If you don't supply the LabelGroupName
request parameter, or if you supply the name of a
label group that doesn't exist, ListLabels
returns an empty array in
LabelSummaries
.
public ListLabelsResult withLabelSummaries(Collection<LabelSummary> labelSummaries)
A summary of the items in the label group.
If you don't supply the LabelGroupName
request parameter, or if you supply the name of a label group
that doesn't exist, ListLabels
returns an empty array in LabelSummaries
.
labelSummaries
- A summary of the items in the label group.
If you don't supply the LabelGroupName
request parameter, or if you supply the name of a
label group that doesn't exist, ListLabels
returns an empty array in
LabelSummaries
.
public String toString()
toString
in class Object
Object.toString()
public ListLabelsResult clone()