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