@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeOutboundConnectionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result of a DescribeOutboundConnections request. Contains the list of connections matching
the filter criteria.
| Constructor and Description |
|---|
DescribeOutboundConnectionsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeOutboundConnectionsResult |
clone() |
boolean |
equals(Object obj) |
List<OutboundConnection> |
getConnections()
A list of
OutboundConnection matching the specified filter criteria. |
String |
getNextToken()
If more results are available and NextToken is present, make the next request to the same API with the received
NextToken to paginate the remaining results.
|
int |
hashCode() |
void |
setConnections(Collection<OutboundConnection> connections)
A list of
OutboundConnection matching the specified filter criteria. |
void |
setNextToken(String nextToken)
If more results are available and NextToken is present, make the next request to the same API with the received
NextToken to paginate the remaining results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeOutboundConnectionsResult |
withConnections(Collection<OutboundConnection> connections)
A list of
OutboundConnection matching the specified filter criteria. |
DescribeOutboundConnectionsResult |
withConnections(OutboundConnection... connections)
A list of
OutboundConnection matching the specified filter criteria. |
DescribeOutboundConnectionsResult |
withNextToken(String nextToken)
If more results are available and NextToken is present, make the next request to the same API with the received
NextToken to paginate the remaining results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<OutboundConnection> getConnections()
A list of OutboundConnection matching the specified filter criteria.
OutboundConnection matching the specified filter criteria.public void setConnections(Collection<OutboundConnection> connections)
A list of OutboundConnection matching the specified filter criteria.
connections - A list of OutboundConnection matching the specified filter criteria.public DescribeOutboundConnectionsResult withConnections(OutboundConnection... connections)
A list of OutboundConnection matching the specified filter criteria.
NOTE: This method appends the values to the existing list (if any). Use
setConnections(java.util.Collection) or withConnections(java.util.Collection) if you want to
override the existing values.
connections - A list of OutboundConnection matching the specified filter criteria.public DescribeOutboundConnectionsResult withConnections(Collection<OutboundConnection> connections)
A list of OutboundConnection matching the specified filter criteria.
connections - A list of OutboundConnection matching the specified filter criteria.public void setNextToken(String nextToken)
If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.
nextToken - If more results are available and NextToken is present, make the next request to the same API with the
received NextToken to paginate the remaining results.public String getNextToken()
If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.
public DescribeOutboundConnectionsResult withNextToken(String nextToken)
If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.
nextToken - If more results are available and NextToken is present, make the next request to the same API with the
received NextToken to paginate the remaining results.public String toString()
toString in class ObjectObject.toString()public DescribeOutboundConnectionsResult clone()
Copyright © 2022. All rights reserved.