@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDataSourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result of a GetDataSource operation.
| Constructor and Description |
|---|
GetDataSourceResult() |
| Modifier and Type | Method and Description |
|---|---|
GetDataSourceResult |
clone() |
boolean |
equals(Object obj) |
DataSourceType |
getDataSourceType()
The type of data source.
|
String |
getDescription()
A description of the data source.
|
String |
getName()
The name of the data source.
|
String |
getStatus()
The status of the data source.
|
int |
hashCode() |
void |
setDataSourceType(DataSourceType dataSourceType)
The type of data source.
|
void |
setDescription(String description)
A description of the data source.
|
void |
setName(String name)
The name of the data source.
|
void |
setStatus(String status)
The status of the data source.
|
String |
toString()
Returns a string representation of this object.
|
GetDataSourceResult |
withDataSourceType(DataSourceType dataSourceType)
The type of data source.
|
GetDataSourceResult |
withDescription(String description)
A description of the data source.
|
GetDataSourceResult |
withName(String name)
The name of the data source.
|
GetDataSourceResult |
withStatus(DataSourceStatus status)
The status of the data source.
|
GetDataSourceResult |
withStatus(String status)
The status of the data source.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setDataSourceType(DataSourceType dataSourceType)
The type of data source.
dataSourceType - The type of data source.public DataSourceType getDataSourceType()
The type of data source.
public GetDataSourceResult withDataSourceType(DataSourceType dataSourceType)
The type of data source.
dataSourceType - The type of data source.public void setName(String name)
The name of the data source.
name - The name of the data source.public String getName()
The name of the data source.
public GetDataSourceResult withName(String name)
The name of the data source.
name - The name of the data source.public void setDescription(String description)
A description of the data source.
description - A description of the data source.public String getDescription()
A description of the data source.
public GetDataSourceResult withDescription(String description)
A description of the data source.
description - A description of the data source.public void setStatus(String status)
The status of the data source.
status - The status of the data source.DataSourceStatuspublic String getStatus()
The status of the data source.
DataSourceStatuspublic GetDataSourceResult withStatus(String status)
The status of the data source.
status - The status of the data source.DataSourceStatuspublic GetDataSourceResult withStatus(DataSourceStatus status)
The status of the data source.
status - The status of the data source.DataSourceStatuspublic String toString()
toString in class ObjectObject.toString()public GetDataSourceResult clone()