@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInboundConnectionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result of a DescribeInboundConnections
request. Contains a list of connections matching the
filter criteria.
Constructor and Description |
---|
DescribeInboundConnectionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInboundConnectionsResult |
clone() |
boolean |
equals(Object obj) |
List<InboundConnection> |
getConnections()
A list of
InboundConnection 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<InboundConnection> connections)
A list of
InboundConnection 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.
|
DescribeInboundConnectionsResult |
withConnections(Collection<InboundConnection> connections)
A list of
InboundConnection matching the specified filter criteria. |
DescribeInboundConnectionsResult |
withConnections(InboundConnection... connections)
A list of
InboundConnection matching the specified filter criteria. |
DescribeInboundConnectionsResult |
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, setSdkResponseMetadata
public List<InboundConnection> getConnections()
A list of InboundConnection
matching the specified filter criteria.
InboundConnection
matching the specified filter criteria.public void setConnections(Collection<InboundConnection> connections)
A list of InboundConnection
matching the specified filter criteria.
connections
- A list of InboundConnection
matching the specified filter criteria.public DescribeInboundConnectionsResult withConnections(InboundConnection... connections)
A list of InboundConnection
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 InboundConnection
matching the specified filter criteria.public DescribeInboundConnectionsResult withConnections(Collection<InboundConnection> connections)
A list of InboundConnection
matching the specified filter criteria.
connections
- A list of InboundConnection
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 DescribeInboundConnectionsResult 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 Object
Object.toString()
public DescribeInboundConnectionsResult clone()