@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDataSourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| DescribeDataSourceResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| DescribeDataSourceResult | clone() | 
| boolean | equals(Object obj) | 
| DataSource | getDataSource()
 The information on the data source. | 
| String | getRequestId()
 The AWS request ID for this operation. | 
| Integer | getStatus()
 The HTTP status of the request. | 
| int | hashCode() | 
| void | setDataSource(DataSource dataSource)
 The information on the data source. | 
| void | setRequestId(String requestId)
 The AWS request ID for this operation. | 
| void | setStatus(Integer status)
 The HTTP status of the request. | 
| String | toString()Returns a string representation of this object. | 
| DescribeDataSourceResult | withDataSource(DataSource dataSource)
 The information on the data source. | 
| DescribeDataSourceResult | withRequestId(String requestId)
 The AWS request ID for this operation. | 
| DescribeDataSourceResult | withStatus(Integer status)
 The HTTP status of the request. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setDataSource(DataSource dataSource)
The information on the data source.
dataSource - The information on the data source.public DataSource getDataSource()
The information on the data source.
public DescribeDataSourceResult withDataSource(DataSource dataSource)
The information on the data source.
dataSource - The information on the data source.public void setRequestId(String requestId)
The AWS request ID for this operation.
requestId - The AWS request ID for this operation.public String getRequestId()
The AWS request ID for this operation.
public DescribeDataSourceResult withRequestId(String requestId)
The AWS request ID for this operation.
requestId - The AWS request ID for this operation.public void setStatus(Integer status)
The HTTP status of the request.
status - The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public DescribeDataSourceResult withStatus(Integer status)
The HTTP status of the request.
status - The HTTP status of the request.public String toString()
toString in class ObjectObject.toString()public DescribeDataSourceResult clone()