@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssetRelationshipsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssetRelationshipsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssetRelationshipsResult |
clone() |
boolean |
equals(Object obj) |
List<AssetRelationshipSummary> |
getAssetRelationshipSummaries()
A list that summarizes each asset relationship.
|
String |
getNextToken()
The token for the next set of results, or null if there are no additional results.
|
int |
hashCode() |
void |
setAssetRelationshipSummaries(Collection<AssetRelationshipSummary> assetRelationshipSummaries)
A list that summarizes each asset relationship.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListAssetRelationshipsResult |
withAssetRelationshipSummaries(AssetRelationshipSummary... assetRelationshipSummaries)
A list that summarizes each asset relationship.
|
ListAssetRelationshipsResult |
withAssetRelationshipSummaries(Collection<AssetRelationshipSummary> assetRelationshipSummaries)
A list that summarizes each asset relationship.
|
ListAssetRelationshipsResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AssetRelationshipSummary> getAssetRelationshipSummaries()
A list that summarizes each asset relationship.
public void setAssetRelationshipSummaries(Collection<AssetRelationshipSummary> assetRelationshipSummaries)
A list that summarizes each asset relationship.
assetRelationshipSummaries
- A list that summarizes each asset relationship.public ListAssetRelationshipsResult withAssetRelationshipSummaries(AssetRelationshipSummary... assetRelationshipSummaries)
A list that summarizes each asset relationship.
NOTE: This method appends the values to the existing list (if any). Use
setAssetRelationshipSummaries(java.util.Collection)
or
withAssetRelationshipSummaries(java.util.Collection)
if you want to override the existing values.
assetRelationshipSummaries
- A list that summarizes each asset relationship.public ListAssetRelationshipsResult withAssetRelationshipSummaries(Collection<AssetRelationshipSummary> assetRelationshipSummaries)
A list that summarizes each asset relationship.
assetRelationshipSummaries
- A list that summarizes each asset relationship.public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String getNextToken()
The token for the next set of results, or null if there are no additional results.
public ListAssetRelationshipsResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListAssetRelationshipsResult clone()