Interface Experiment.Builder

    • Method Detail

      • experimentName

        Experiment.Builder experimentName​(String experimentName)

        The name of the experiment.

        Parameters:
        experimentName - The name of the experiment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • experimentArn

        Experiment.Builder experimentArn​(String experimentArn)

        The Amazon Resource Name (ARN) of the experiment.

        Parameters:
        experimentArn - The Amazon Resource Name (ARN) of the experiment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • displayName

        Experiment.Builder displayName​(String displayName)

        The name of the experiment as displayed. If DisplayName isn't specified, ExperimentName is displayed.

        Parameters:
        displayName - The name of the experiment as displayed. If DisplayName isn't specified, ExperimentName is displayed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • source

        Experiment.Builder source​(ExperimentSource source)
        Sets the value of the Source property for this object.
        Parameters:
        source - The new value for the Source property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        Experiment.Builder description​(String description)

        The description of the experiment.

        Parameters:
        description - The description of the experiment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        Experiment.Builder creationTime​(Instant creationTime)

        When the experiment was created.

        Parameters:
        creationTime - When the experiment was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        Experiment.Builder createdBy​(UserContext createdBy)

        Who created the experiment.

        Parameters:
        createdBy - Who created the experiment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTime

        Experiment.Builder lastModifiedTime​(Instant lastModifiedTime)

        When the experiment was last modified.

        Parameters:
        lastModifiedTime - When the experiment was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedBy

        Experiment.Builder lastModifiedBy​(UserContext lastModifiedBy)
        Sets the value of the LastModifiedBy property for this object.
        Parameters:
        lastModifiedBy - The new value for the LastModifiedBy property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Experiment.Builder tags​(Collection<Tag> tags)

        The list of tags that are associated with the experiment. You can use Search API to search on the tags.

        Parameters:
        tags - The list of tags that are associated with the experiment. You can use Search API to search on the tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Experiment.Builder tags​(Tag... tags)

        The list of tags that are associated with the experiment. You can use Search API to search on the tags.

        Parameters:
        tags - The list of tags that are associated with the experiment. You can use Search API to search on the tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Experiment.Builder tags​(Consumer<Tag.Builder>... tags)

        The list of tags that are associated with the experiment. You can use Search API to search on the tags.

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

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

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