Class TestConnectionResult
- java.lang.Object
-
- com.amazonaws.services.databasemigrationservice.model.TestConnectionResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class TestConnectionResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TestConnectionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestConnectionResultclone()booleanequals(Object obj)ConnectiongetConnection()The connection tested.inthashCode()voidsetConnection(Connection connection)The connection tested.StringtoString()Returns a string representation of this object; useful for testing and debugging.TestConnectionResultwithConnection(Connection connection)The connection tested.
-
-
-
Method Detail
-
setConnection
public void setConnection(Connection connection)
The connection tested.
- Parameters:
connection- The connection tested.
-
getConnection
public Connection getConnection()
The connection tested.
- Returns:
- The connection tested.
-
withConnection
public TestConnectionResult withConnection(Connection connection)
The connection tested.
- Parameters:
connection- The connection tested.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TestConnectionResult clone()
-
-