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 TestConnectionResult
clone()
boolean
equals(Object obj)
Connection
getConnection()
The connection tested.int
hashCode()
void
setConnection(Connection connection)
The connection tested.String
toString()
Returns a string representation of this object; useful for testing and debugging.TestConnectionResult
withConnection(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TestConnectionResult clone()
-
-