Class DescribeConnectionsResult
- java.lang.Object
-
- com.amazonaws.services.databasemigrationservice.model.DescribeConnectionsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeConnectionsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeConnectionsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeConnectionsResult
clone()
boolean
equals(Object obj)
List<Connection>
getConnections()
A description of the connections.String
getMarker()
An optional pagination token provided by a previous request.int
hashCode()
void
setConnections(Collection<Connection> connections)
A description of the connections.void
setMarker(String marker)
An optional pagination token provided by a previous request.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeConnectionsResult
withConnections(Connection... connections)
A description of the connections.DescribeConnectionsResult
withConnections(Collection<Connection> connections)
A description of the connections.DescribeConnectionsResult
withMarker(String marker)
An optional pagination token provided by a previous request.
-
-
-
Method Detail
-
setMarker
public void setMarker(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
.- Parameters:
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 byMaxRecords
.
-
getMarker
public 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
.- Returns:
- 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
.
-
withMarker
public DescribeConnectionsResult withMarker(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
.- Parameters:
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 byMaxRecords
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getConnections
public List<Connection> getConnections()
A description of the connections.
- Returns:
- A description of the connections.
-
setConnections
public void setConnections(Collection<Connection> connections)
A description of the connections.
- Parameters:
connections
- A description of the connections.
-
withConnections
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)
orwithConnections(java.util.Collection)
if you want to override the existing values.- Parameters:
connections
- A description of the connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withConnections
public DescribeConnectionsResult withConnections(Collection<Connection> connections)
A description of the connections.
- Parameters:
connections
- A description of the connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeConnectionsResult clone()
-
-