@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLabelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| GetLabelsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetLabelsResult | clone() | 
| boolean | equals(Object obj) | 
| List<Label> | getLabels()
 An array of labels. | 
| String | getNextToken()
 The next page token. | 
| int | hashCode() | 
| void | setLabels(Collection<Label> labels)
 An array of labels. | 
| void | setNextToken(String nextToken)
 The next page token. | 
| String | toString()Returns a string representation of this object. | 
| GetLabelsResult | withLabels(Collection<Label> labels)
 An array of labels. | 
| GetLabelsResult | withLabels(Label... labels)
 An array of labels. | 
| GetLabelsResult | withNextToken(String nextToken)
 The next page token. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setLabels(Collection<Label> labels)
An array of labels.
labels - An array of labels.public GetLabelsResult withLabels(Label... labels)
An array of labels.
 NOTE: This method appends the values to the existing list (if any). Use
 setLabels(java.util.Collection) or withLabels(java.util.Collection) if you want to override the
 existing values.
 
labels - An array of labels.public GetLabelsResult withLabels(Collection<Label> labels)
An array of labels.
labels - An array of labels.public void setNextToken(String nextToken)
The next page token.
nextToken - The next page token.public String getNextToken()
The next page token.
public GetLabelsResult withNextToken(String nextToken)
The next page token.
nextToken - The next page token.public String toString()
toString in class ObjectObject.toString()public GetLabelsResult clone()