Interface Experiment.Builder

    • Method Detail

      • id

        Experiment.Builder id​(String id)

        The ID of the experiment.

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

        Experiment.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the experiment.

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

        Experiment.Builder experimentTemplateId​(String experimentTemplateId)

        The ID of the experiment template.

        Parameters:
        experimentTemplateId - The ID of the experiment template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        Experiment.Builder roleArn​(String roleArn)

        The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        Experiment.Builder state​(ExperimentState state)

        The state of the experiment.

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

        Experiment.Builder targets​(Map<String,​ExperimentTarget> targets)

        The targets for the experiment.

        Parameters:
        targets - The targets for the experiment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        Experiment.Builder actions​(Map<String,​ExperimentAction> actions)

        The actions for the experiment.

        Parameters:
        actions - The actions for the experiment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stopConditions

        Experiment.Builder stopConditions​(Collection<ExperimentStopCondition> stopConditions)

        The stop conditions for the experiment.

        Parameters:
        stopConditions - The stop conditions for the experiment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stopConditions

        Experiment.Builder stopConditions​(ExperimentStopCondition... stopConditions)

        The stop conditions for the experiment.

        Parameters:
        stopConditions - The stop conditions for the experiment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        Experiment.Builder creationTime​(Instant creationTime)

        The time that the experiment was created.

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

        Experiment.Builder startTime​(Instant startTime)

        The time that the experiment started.

        Parameters:
        startTime - The time that the experiment started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        Experiment.Builder endTime​(Instant endTime)

        The time that the experiment ended.

        Parameters:
        endTime - The time that the experiment ended.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Experiment.Builder tags​(Map<String,​String> tags)

        The tags for the experiment.

        Parameters:
        tags - The tags for the experiment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logConfiguration

        Experiment.Builder logConfiguration​(ExperimentLogConfiguration logConfiguration)

        The configuration for experiment logging.

        Parameters:
        logConfiguration - The configuration for experiment logging.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • experimentOptions

        Experiment.Builder experimentOptions​(ExperimentOptions experimentOptions)

        The experiment options for the experiment.

        Parameters:
        experimentOptions - The experiment options for the experiment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetAccountConfigurationsCount

        Experiment.Builder targetAccountConfigurationsCount​(Long targetAccountConfigurationsCount)

        The count of target account configurations for the experiment.

        Parameters:
        targetAccountConfigurationsCount - The count of target account configurations for the experiment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.