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