@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDataSourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDataSourcesResult() |
Modifier and Type | Method and Description |
---|---|
ListDataSourcesResult |
clone() |
boolean |
equals(Object obj) |
List<DataSource> |
getDataSources()
A list of data sources.
|
String |
getNextToken()
The token for the next set of results, or null if there are no more results.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
int |
hashCode() |
void |
setDataSources(Collection<DataSource> dataSources)
A list of data sources.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
String |
toString()
Returns a string representation of this object.
|
ListDataSourcesResult |
withDataSources(Collection<DataSource> dataSources)
A list of data sources.
|
ListDataSourcesResult |
withDataSources(DataSource... dataSources)
A list of data sources.
|
ListDataSourcesResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
ListDataSourcesResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
ListDataSourcesResult |
withStatus(Integer status)
The HTTP status of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DataSource> getDataSources()
A list of data sources.
public void setDataSources(Collection<DataSource> dataSources)
A list of data sources.
dataSources
- A list of data sources.public ListDataSourcesResult withDataSources(DataSource... dataSources)
A list of data sources.
NOTE: This method appends the values to the existing list (if any). Use
setDataSources(java.util.Collection)
or withDataSources(java.util.Collection)
if you want to
override the existing values.
dataSources
- A list of data sources.public ListDataSourcesResult withDataSources(Collection<DataSource> dataSources)
A list of data sources.
dataSources
- A list of data sources.public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
nextToken
- The token for the next set of results, or null if there are no more results.public String getNextToken()
The token for the next set of results, or null if there are no more results.
public ListDataSourcesResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
nextToken
- The token for the next set of results, or null if there are no more results.public void setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String getRequestId()
The Amazon Web Services request ID for this operation.
public ListDataSourcesResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services 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 ListDataSourcesResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public String toString()
toString
in class Object
Object.toString()
public ListDataSourcesResult clone()