Class CfnExperimentTemplate.Builder

java.lang.Object
software.amazon.awscdk.services.fis.CfnExperimentTemplate.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentTemplate>
Enclosing class:
CfnExperimentTemplate

@Stability(Stable) public static final class CfnExperimentTemplate.Builder extends Object implements software.amazon.jsii.Builder<CfnExperimentTemplate>
A fluent builder for CfnExperimentTemplate.
  • Method Details

    • create

      @Stability(Stable) public static CfnExperimentTemplate.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnExperimentTemplate.Builder.
    • description

      @Stability(Stable) public CfnExperimentTemplate.Builder description(String description)
      A description for the experiment template.

      Parameters:
      description - A description for the experiment template. This parameter is required.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnExperimentTemplate.Builder roleArn(String roleArn)
      The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf. This parameter is required.
      Returns:
      this
    • stopConditions

      @Stability(Stable) public CfnExperimentTemplate.Builder stopConditions(IResolvable stopConditions)
      The stop conditions.

      Parameters:
      stopConditions - The stop conditions. This parameter is required.
      Returns:
      this
    • stopConditions

      @Stability(Stable) public CfnExperimentTemplate.Builder stopConditions(List<? extends Object> stopConditions)
      The stop conditions.

      Parameters:
      stopConditions - The stop conditions. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnExperimentTemplate.Builder tags(Map<String,String> tags)
      The tags to apply to the experiment template.

      Parameters:
      tags - The tags to apply to the experiment template. This parameter is required.
      Returns:
      this
    • targets

      @Stability(Stable) public CfnExperimentTemplate.Builder targets(IResolvable targets)
      The targets for the experiment.

      Parameters:
      targets - The targets for the experiment. This parameter is required.
      Returns:
      this
    • targets

      @Stability(Stable) public CfnExperimentTemplate.Builder targets(Map<String,? extends Object> targets)
      The targets for the experiment.

      Parameters:
      targets - The targets for the experiment. This parameter is required.
      Returns:
      this
    • actions

      @Stability(Stable) public CfnExperimentTemplate.Builder actions(IResolvable actions)
      The actions for the experiment.

      Parameters:
      actions - The actions for the experiment. This parameter is required.
      Returns:
      this
    • actions

      @Stability(Stable) public CfnExperimentTemplate.Builder actions(Map<String,? extends Object> actions)
      The actions for the experiment.

      Parameters:
      actions - The actions for the experiment. This parameter is required.
      Returns:
      this
    • logConfiguration

      @Stability(Stable) public CfnExperimentTemplate.Builder logConfiguration(IResolvable logConfiguration)
      The configuration for experiment logging.

      Parameters:
      logConfiguration - The configuration for experiment logging. This parameter is required.
      Returns:
      this
    • logConfiguration

      @Stability(Stable) public CfnExperimentTemplate.Builder logConfiguration(CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty logConfiguration)
      The configuration for experiment logging.

      Parameters:
      logConfiguration - The configuration for experiment logging. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnExperimentTemplate build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnExperimentTemplate>
      Returns:
      a newly built instance of CfnExperimentTemplate.