@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListExperimentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListExperimentsResult() |
Modifier and Type | Method and Description |
---|---|
ListExperimentsResult |
clone() |
boolean |
equals(Object obj) |
List<ExperimentSummary> |
getExperiments()
The experiments.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setExperiments(Collection<ExperimentSummary> experiments)
The experiments.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListExperimentsResult |
withExperiments(Collection<ExperimentSummary> experiments)
The experiments.
|
ListExperimentsResult |
withExperiments(ExperimentSummary... experiments)
The experiments.
|
ListExperimentsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ExperimentSummary> getExperiments()
The experiments.
public void setExperiments(Collection<ExperimentSummary> experiments)
The experiments.
experiments
- The experiments.public ListExperimentsResult withExperiments(ExperimentSummary... experiments)
The experiments.
NOTE: This method appends the values to the existing list (if any). Use
setExperiments(java.util.Collection)
or withExperiments(java.util.Collection)
if you want to
override the existing values.
experiments
- The experiments.public ListExperimentsResult withExperiments(Collection<ExperimentSummary> experiments)
The experiments.
experiments
- The experiments.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public ListExperimentsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public ListExperimentsResult clone()