public class DescribeConnectionsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.List<Connection> |
connections
A description of the connections.
|
private java.lang.String |
marker
An optional pagination token provided by a previous request.
|
Constructor and Description |
---|
DescribeConnectionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeConnectionsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Connection> |
getConnections()
A description of the connections.
|
java.lang.String |
getMarker()
An optional pagination token provided by a previous request.
|
int |
hashCode() |
void |
setConnections(java.util.Collection<Connection> connections)
A description of the connections.
|
void |
setMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeConnectionsResult |
withConnections(java.util.Collection<Connection> connections)
A description of the connections.
|
DescribeConnectionsResult |
withConnections(Connection... connections)
A description of the connections.
|
DescribeConnectionsResult |
withMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
private java.lang.String marker
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
private java.util.List<Connection> connections
A description of the connections.
public void setMarker(java.lang.String marker)
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
marker
- An optional pagination token provided by a previous request. If
this parameter is specified, the response includes only records
beyond the marker, up to the value specified by
MaxRecords
.public java.lang.String getMarker()
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
MaxRecords
.public DescribeConnectionsResult withMarker(java.lang.String marker)
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
marker
- An optional pagination token provided by a previous request. If
this parameter is specified, the response includes only records
beyond the marker, up to the value specified by
MaxRecords
.public java.util.List<Connection> getConnections()
A description of the connections.
public void setConnections(java.util.Collection<Connection> connections)
A description of the connections.
connections
- A description of the connections.public DescribeConnectionsResult withConnections(Connection... connections)
A description of the connections.
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 description of the connections.public DescribeConnectionsResult withConnections(java.util.Collection<Connection> connections)
A description of the connections.
connections
- A description of the connections.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeConnectionsResult clone()
clone
in class java.lang.Object