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