Class CfnLaunchMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.evidently.CfnLaunchMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchMixinProps>
- Enclosing interface:
CfnLaunchMixinProps
@Stability(Stable)
public static final class CfnLaunchMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchMixinProps>
A builder for
CfnLaunchMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnLaunchMixinProps.getDescription()executionStatus(CfnLaunchPropsMixin.ExecutionStatusObjectProperty executionStatus) Sets the value ofCfnLaunchMixinProps.getExecutionStatus()executionStatus(IResolvable executionStatus) Sets the value ofCfnLaunchMixinProps.getExecutionStatus()Sets the value ofCfnLaunchMixinProps.getGroups()groups(IResolvable groups) Sets the value ofCfnLaunchMixinProps.getGroups()metricMonitors(List<? extends Object> metricMonitors) Sets the value ofCfnLaunchMixinProps.getMetricMonitors()metricMonitors(IResolvable metricMonitors) Sets the value ofCfnLaunchMixinProps.getMetricMonitors()Sets the value ofCfnLaunchMixinProps.getName()Sets the value ofCfnLaunchMixinProps.getProject()project(IProjectRef project) Sets the value ofCfnLaunchMixinProps.getProject()randomizationSalt(String randomizationSalt) Sets the value ofCfnLaunchMixinProps.getRandomizationSalt()scheduledSplitsConfig(List<? extends Object> scheduledSplitsConfig) Sets the value ofCfnLaunchMixinProps.getScheduledSplitsConfig()scheduledSplitsConfig(IResolvable scheduledSplitsConfig) Sets the value ofCfnLaunchMixinProps.getScheduledSplitsConfig()Sets the value ofCfnLaunchMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnLaunchMixinProps.getDescription()- Parameters:
description- An optional description for the launch.- Returns:
this
-
executionStatus
Sets the value ofCfnLaunchMixinProps.getExecutionStatus()- Parameters:
executionStatus- A structure that you can use to start and stop the launch.- Returns:
this
-
executionStatus
@Stability(Stable) public CfnLaunchMixinProps.Builder executionStatus(CfnLaunchPropsMixin.ExecutionStatusObjectProperty executionStatus) Sets the value ofCfnLaunchMixinProps.getExecutionStatus()- Parameters:
executionStatus- A structure that you can use to start and stop the launch.- Returns:
this
-
groups
Sets the value ofCfnLaunchMixinProps.getGroups()- Parameters:
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.- Returns:
this
-
groups
Sets the value ofCfnLaunchMixinProps.getGroups()- Parameters:
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.- Returns:
this
-
metricMonitors
Sets the value ofCfnLaunchMixinProps.getMetricMonitors()- 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 CfnLaunchMixinProps.Builder metricMonitors(List<? extends Object> metricMonitors) Sets the value ofCfnLaunchMixinProps.getMetricMonitors()- 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
-
name
Sets the value ofCfnLaunchMixinProps.getName()- Parameters:
name- The name for the launch. It can include up to 127 characters.- Returns:
this
-
project
Sets the value ofCfnLaunchMixinProps.getProject()- Parameters:
project- The name or ARN of the project that you want to create the launch in.- Returns:
this
-
project
Sets the value ofCfnLaunchMixinProps.getProject()- Parameters:
project- The name or ARN of the project that you want to create the launch in.- Returns:
this
-
randomizationSalt
Sets the value ofCfnLaunchMixinProps.getRandomizationSalt()- 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 andrandomizationSalt. If you omitrandomizationSalt, Evidently uses the launch name as therandomizationsSalt.- Returns:
this
-
scheduledSplitsConfig
@Stability(Stable) public CfnLaunchMixinProps.Builder scheduledSplitsConfig(IResolvable scheduledSplitsConfig) Sets the value ofCfnLaunchMixinProps.getScheduledSplitsConfig()- Parameters:
scheduledSplitsConfig- An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.- Returns:
this
-
scheduledSplitsConfig
@Stability(Stable) public CfnLaunchMixinProps.Builder scheduledSplitsConfig(List<? extends Object> scheduledSplitsConfig) Sets the value ofCfnLaunchMixinProps.getScheduledSplitsConfig()- Parameters:
scheduledSplitsConfig- An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.- Returns:
this
-
tags
Sets the value ofCfnLaunchMixinProps.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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchMixinProps>- Returns:
- a new instance of
CfnLaunchMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-