@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<Experiment> |
getExperiments()
An array of structures that contain the configuration details of the experiments in the specified project.
|
String |
getNextToken()
The token to use in a subsequent
ListExperiments operation to return the next set of results. |
int |
hashCode() |
void |
setExperiments(Collection<Experiment> experiments)
An array of structures that contain the configuration details of the experiments in the specified project.
|
void |
setNextToken(String nextToken)
The token to use in a subsequent
ListExperiments operation to return the next set of results. |
String |
toString()
Returns a string representation of this object.
|
ListExperimentsResult |
withExperiments(Collection<Experiment> experiments)
An array of structures that contain the configuration details of the experiments in the specified project.
|
ListExperimentsResult |
withExperiments(Experiment... experiments)
An array of structures that contain the configuration details of the experiments in the specified project.
|
ListExperimentsResult |
withNextToken(String nextToken)
The token to use in a subsequent
ListExperiments operation to return the next set of results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Experiment> getExperiments()
An array of structures that contain the configuration details of the experiments in the specified project.
public void setExperiments(Collection<Experiment> experiments)
An array of structures that contain the configuration details of the experiments in the specified project.
experiments
- An array of structures that contain the configuration details of the experiments in the specified project.public ListExperimentsResult withExperiments(Experiment... experiments)
An array of structures that contain the configuration details of the experiments in the specified project.
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
- An array of structures that contain the configuration details of the experiments in the specified project.public ListExperimentsResult withExperiments(Collection<Experiment> experiments)
An array of structures that contain the configuration details of the experiments in the specified project.
experiments
- An array of structures that contain the configuration details of the experiments in the specified project.public void setNextToken(String nextToken)
The token to use in a subsequent ListExperiments
operation to return the next set of results.
nextToken
- The token to use in a subsequent ListExperiments
operation to return the next set of results.public String getNextToken()
The token to use in a subsequent ListExperiments
operation to return the next set of results.
ListExperiments
operation to return the next set of
results.public ListExperimentsResult withNextToken(String nextToken)
The token to use in a subsequent ListExperiments
operation to return the next set of results.
nextToken
- The token to use in a subsequent ListExperiments
operation to return the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListExperimentsResult clone()