@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLinkAssociationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetLinkAssociationsResult() |
Modifier and Type | Method and Description |
---|---|
GetLinkAssociationsResult |
clone() |
boolean |
equals(Object obj) |
List<LinkAssociation> |
getLinkAssociations()
The link associations.
|
String |
getNextToken()
The token for the next page of results.
|
int |
hashCode() |
void |
setLinkAssociations(Collection<LinkAssociation> linkAssociations)
The link associations.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
GetLinkAssociationsResult |
withLinkAssociations(Collection<LinkAssociation> linkAssociations)
The link associations.
|
GetLinkAssociationsResult |
withLinkAssociations(LinkAssociation... linkAssociations)
The link associations.
|
GetLinkAssociationsResult |
withNextToken(String nextToken)
The token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<LinkAssociation> getLinkAssociations()
The link associations.
public void setLinkAssociations(Collection<LinkAssociation> linkAssociations)
The link associations.
linkAssociations
- The link associations.public GetLinkAssociationsResult withLinkAssociations(LinkAssociation... linkAssociations)
The link associations.
NOTE: This method appends the values to the existing list (if any). Use
setLinkAssociations(java.util.Collection)
or withLinkAssociations(java.util.Collection)
if you
want to override the existing values.
linkAssociations
- The link associations.public GetLinkAssociationsResult withLinkAssociations(Collection<LinkAssociation> linkAssociations)
The link associations.
linkAssociations
- The link associations.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 GetLinkAssociationsResult 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 Object
Object.toString()
public GetLinkAssociationsResult clone()