Class CfnLaunch.Builder

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

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

    • create

      @Stability(Stable) public static CfnLaunch.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 CfnLaunch.Builder.
    • groups

      @Stability(Stable) public CfnLaunch.Builder groups(IResolvable groups)
      An array of structures that contains the feature and variations that are to be used for the launch.

      You can up to five launch groups in a launch.

      Parameters:
      groups - An array of structures that contains the feature and variations that are to be used for the launch. This parameter is required.
      Returns:
      this
    • groups

      @Stability(Stable) public CfnLaunch.Builder groups(List<? extends Object> groups)
      An array of structures that contains the feature and variations that are to be used for the launch.

      You can up to five launch groups in a launch.

      Parameters:
      groups - An array of structures that contains the feature and variations that are to be used for the launch. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnLaunch.Builder name(String name)
      The name for the launch.

      It can include up to 127 characters.

      Parameters:
      name - The name for the launch. This parameter is required.
      Returns:
      this
    • project

      @Stability(Stable) public CfnLaunch.Builder project(String project)
      The name or ARN of the project that you want to create the launch in.

      Parameters:
      project - The name or ARN of the project that you want to create the launch in. This parameter is required.
      Returns:
      this
    • scheduledSplitsConfig

      @Stability(Stable) public CfnLaunch.Builder scheduledSplitsConfig(IResolvable scheduledSplitsConfig)
      An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.

      Parameters:
      scheduledSplitsConfig - An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch. This parameter is required.
      Returns:
      this
    • scheduledSplitsConfig

      @Stability(Stable) public CfnLaunch.Builder scheduledSplitsConfig(List<? extends Object> scheduledSplitsConfig)
      An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.

      Parameters:
      scheduledSplitsConfig - An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnLaunch.Builder description(String description)
      An optional description for the launch.

      Parameters:
      description - An optional description for the launch. This parameter is required.
      Returns:
      this
    • executionStatus

      @Stability(Stable) public CfnLaunch.Builder executionStatus(IResolvable executionStatus)
      A structure that you can use to start and stop the launch.

      Parameters:
      executionStatus - A structure that you can use to start and stop the launch. This parameter is required.
      Returns:
      this
    • executionStatus

      @Stability(Stable) public CfnLaunch.Builder executionStatus(CfnLaunch.ExecutionStatusObjectProperty executionStatus)
      A structure that you can use to start and stop the launch.

      Parameters:
      executionStatus - A structure that you can use to start and stop the launch. This parameter is required.
      Returns:
      this
    • metricMonitors

      @Stability(Stable) public CfnLaunch.Builder metricMonitors(IResolvable metricMonitors)
      An array of structures that define the metrics that will be used to monitor the launch performance.

      You can have up to three metric monitors in the array.

      Parameters:
      metricMonitors - An array of structures that define the metrics that will be used to monitor the launch performance. This parameter is required.
      Returns:
      this
    • metricMonitors

      @Stability(Stable) public CfnLaunch.Builder metricMonitors(List<? extends Object> metricMonitors)
      An array of structures that define the metrics that will be used to monitor the launch performance.

      You can have up to three metric monitors in the array.

      Parameters:
      metricMonitors - An array of structures that define the metrics that will be used to monitor the launch performance. This parameter is required.
      Returns:
      this
    • randomizationSalt

      @Stability(Stable) public CfnLaunch.Builder randomizationSalt(String randomizationSalt)
      When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served.

      This randomization ID is a combination of the entity ID and randomizationSalt . If you omit randomizationSalt , Evidently uses the launch name as the randomizationsSalt .

      Parameters:
      randomizationSalt - When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnLaunch.Builder tags(List<? extends CfnTag> tags)
      Assigns one or more tags (key-value pairs) to the launch.

      Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

      Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.

      You can associate as many as 50 tags with a launch.

      For more information, see Tagging AWS resources .

      Parameters:
      tags - Assigns one or more tags (key-value pairs) to the launch. This parameter is required.
      Returns:
      this
    • build

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