Class DescribeDataSourcesResult
- java.lang.Object
-
- com.amazonaws.services.machinelearning.model.DescribeDataSourcesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeDataSourcesResult extends Object implements Serializable, Cloneable
Represents the query results from a DescribeDataSources operation. The content is essentially a list of
DataSource
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeDataSourcesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeDataSourcesResult
clone()
boolean
equals(Object obj)
String
getNextToken()
An ID of the next page in the paginated results that indicates at least one more page follows.List<DataSource>
getResults()
A list ofDataSource
that meet the search criteria.int
hashCode()
void
setNextToken(String nextToken)
An ID of the next page in the paginated results that indicates at least one more page follows.void
setResults(Collection<DataSource> results)
A list ofDataSource
that meet the search criteria.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeDataSourcesResult
withNextToken(String nextToken)
An ID of the next page in the paginated results that indicates at least one more page follows.DescribeDataSourcesResult
withResults(DataSource... results)
A list ofDataSource
that meet the search criteria.DescribeDataSourcesResult
withResults(Collection<DataSource> results)
A list ofDataSource
that meet the search criteria.
-
-
-
Method Detail
-
getResults
public List<DataSource> getResults()
A list of
DataSource
that meet the search criteria.- Returns:
- A list of
DataSource
that meet the search criteria.
-
setResults
public void setResults(Collection<DataSource> results)
A list of
DataSource
that meet the search criteria.- Parameters:
results
- A list ofDataSource
that meet the search criteria.
-
withResults
public DescribeDataSourcesResult withResults(DataSource... results)
A list of
DataSource
that meet the search criteria.NOTE: This method appends the values to the existing list (if any). Use
setResults(java.util.Collection)
orwithResults(java.util.Collection)
if you want to override the existing values.- Parameters:
results
- A list ofDataSource
that meet the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withResults
public DescribeDataSourcesResult withResults(Collection<DataSource> results)
A list of
DataSource
that meet the search criteria.- Parameters:
results
- A list ofDataSource
that meet the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
An ID of the next page in the paginated results that indicates at least one more page follows.
- Parameters:
nextToken
- An ID of the next page in the paginated results that indicates at least one more page follows.
-
getNextToken
public String getNextToken()
An ID of the next page in the paginated results that indicates at least one more page follows.
- Returns:
- An ID of the next page in the paginated results that indicates at least one more page follows.
-
withNextToken
public DescribeDataSourcesResult withNextToken(String nextToken)
An ID of the next page in the paginated results that indicates at least one more page follows.
- Parameters:
nextToken
- An ID of the next page in the paginated results that indicates at least one more page follows.- 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 DescribeDataSourcesResult clone()
-
-