@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListReferencesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListReferencesResult() |
Modifier and Type | Method and Description |
---|---|
ListReferencesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A pagination token that's included if more results are available.
|
List<ReferenceListItem> |
getReferences()
A list of references.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A pagination token that's included if more results are available.
|
void |
setReferences(Collection<ReferenceListItem> references)
A list of references.
|
String |
toString()
Returns a string representation of this object.
|
ListReferencesResult |
withNextToken(String nextToken)
A pagination token that's included if more results are available.
|
ListReferencesResult |
withReferences(Collection<ReferenceListItem> references)
A list of references.
|
ListReferencesResult |
withReferences(ReferenceListItem... references)
A list of references.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public String getNextToken()
A pagination token that's included if more results are available.
public ListReferencesResult withNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public List<ReferenceListItem> getReferences()
A list of references.
public void setReferences(Collection<ReferenceListItem> references)
A list of references.
references
- A list of references.public ListReferencesResult withReferences(ReferenceListItem... references)
A list of references.
NOTE: This method appends the values to the existing list (if any). Use
setReferences(java.util.Collection)
or withReferences(java.util.Collection)
if you want to
override the existing values.
references
- A list of references.public ListReferencesResult withReferences(Collection<ReferenceListItem> references)
A list of references.
references
- A list of references.public String toString()
toString
in class Object
Object.toString()
public ListReferencesResult clone()