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