Interface ListExperimentsResponse.Builder

    • Method Detail

      • experiments

        ListExperimentsResponse.Builder experiments​(Collection<Experiment> experiments)

        An array of structures that contain the configuration details of the experiments in the specified project.

        Parameters:
        experiments - An array of structures that contain the configuration details of the experiments in the specified project.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • experiments

        ListExperimentsResponse.Builder experiments​(Experiment... experiments)

        An array of structures that contain the configuration details of the experiments in the specified project.

        Parameters:
        experiments - An array of structures that contain the configuration details of the experiments in the specified project.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • experiments

        ListExperimentsResponse.Builder experiments​(Consumer<Experiment.Builder>... experiments)

        An array of structures that contain the configuration details of the experiments in the specified project.

        This is a convenience method that creates an instance of the Experiment.Builder avoiding the need to create one manually via Experiment.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #experiments(List).

        Parameters:
        experiments - a consumer that will call methods on Experiment.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #experiments(java.util.Collection)
      • nextToken

        ListExperimentsResponse.Builder nextToken​(String nextToken)

        The token to use in a subsequent ListExperiments operation to return the next set of results.

        Parameters:
        nextToken - The token to use in a subsequent ListExperiments operation to return the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.