@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccountLinksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAccountLinksResult() |
Modifier and Type | Method and Description |
---|---|
ListAccountLinksResult |
clone() |
boolean |
equals(Object obj) |
List<AccountLink> |
getAccountLinks()
Information about the account links.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setAccountLinks(Collection<AccountLink> accountLinks)
Information about the account links.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListAccountLinksResult |
withAccountLinks(AccountLink... accountLinks)
Information about the account links.
|
ListAccountLinksResult |
withAccountLinks(Collection<AccountLink> accountLinks)
Information about the account links.
|
ListAccountLinksResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AccountLink> getAccountLinks()
Information about the account links.
public void setAccountLinks(Collection<AccountLink> accountLinks)
Information about the account links.
accountLinks
- Information about the account links.public ListAccountLinksResult withAccountLinks(AccountLink... accountLinks)
Information about the account links.
NOTE: This method appends the values to the existing list (if any). Use
setAccountLinks(java.util.Collection)
or withAccountLinks(java.util.Collection)
if you want to
override the existing values.
accountLinks
- Information about the account links.public ListAccountLinksResult withAccountLinks(Collection<AccountLink> accountLinks)
Information about the account links.
accountLinks
- Information about the account links.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
public ListAccountLinksResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public String toString()
toString
in class Object
Object.toString()
public ListAccountLinksResult clone()