Class CfnLaunchProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • groups

      @Stability(Stable) public CfnLaunchProps.Builder groups(IResolvable groups)
      Sets the value of CfnLaunchProps.getGroups()
      Parameters:
      groups - An array of structures that contains the feature and variations that are to be used for the launch. This parameter is required. You can up to five launch groups in a launch.
      Returns:
      this
    • groups

      @Stability(Stable) public CfnLaunchProps.Builder groups(List<? extends Object> groups)
      Sets the value of CfnLaunchProps.getGroups()
      Parameters:
      groups - An array of structures that contains the feature and variations that are to be used for the launch. This parameter is required. You can up to five launch groups in a launch.
      Returns:
      this
    • name

      @Stability(Stable) public CfnLaunchProps.Builder name(String name)
      Sets the value of CfnLaunchProps.getName()
      Parameters:
      name - The name for the launch. This parameter is required. It can include up to 127 characters.
      Returns:
      this
    • project

      @Stability(Stable) public CfnLaunchProps.Builder project(String project)
      Sets the value of CfnLaunchProps.getProject()
      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 CfnLaunchProps.Builder scheduledSplitsConfig(IResolvable scheduledSplitsConfig)
      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 CfnLaunchProps.Builder scheduledSplitsConfig(List<? extends Object> scheduledSplitsConfig)
      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 CfnLaunchProps.Builder description(String description)
      Parameters:
      description - An optional description for the launch.
      Returns:
      this
    • executionStatus

      @Stability(Stable) public CfnLaunchProps.Builder executionStatus(IResolvable executionStatus)
      Parameters:
      executionStatus - A structure that you can use to start and stop the launch.
      Returns:
      this
    • executionStatus

      @Stability(Stable) public CfnLaunchProps.Builder executionStatus(CfnLaunch.ExecutionStatusObjectProperty executionStatus)
      Parameters:
      executionStatus - A structure that you can use to start and stop the launch.
      Returns:
      this
    • metricMonitors

      @Stability(Stable) public CfnLaunchProps.Builder metricMonitors(IResolvable metricMonitors)
      Parameters:
      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.
      Returns:
      this
    • metricMonitors

      @Stability(Stable) public CfnLaunchProps.Builder metricMonitors(List<? extends Object> metricMonitors)
      Parameters:
      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.
      Returns:
      this
    • randomizationSalt

      @Stability(Stable) public CfnLaunchProps.Builder randomizationSalt(String randomizationSalt)
      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 randomization ID is a combination of the entity ID and randomizationSalt . If you omit randomizationSalt , Evidently uses the launch name as the randomizationsSalt .
      Returns:
      this
    • tags

      @Stability(Stable) public CfnLaunchProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnLaunchProps.getTags()
      Parameters:
      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 .

      Returns:
      this
    • build

      @Stability(Stable) public CfnLaunchProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnLaunchProps>
      Returns:
      a new instance of CfnLaunchProps
      Throws:
      NullPointerException - if any required attribute was not provided