@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDataSourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetDataSourceResult() |
Modifier and Type | Method and Description |
---|---|
GetDataSourceResult |
clone() |
boolean |
equals(Object obj) |
DataSource |
getDataSource()
The
DataSource object. |
int |
hashCode() |
void |
setDataSource(DataSource dataSource)
The
DataSource object. |
String |
toString()
Returns a string representation of this object.
|
GetDataSourceResult |
withDataSource(DataSource dataSource)
The
DataSource object. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDataSource(DataSource dataSource)
The DataSource
object.
dataSource
- The DataSource
object.public DataSource getDataSource()
The DataSource
object.
DataSource
object.public GetDataSourceResult withDataSource(DataSource dataSource)
The DataSource
object.
dataSource
- The DataSource
object.public String toString()
toString
in class Object
Object.toString()
public GetDataSourceResult clone()