Interface CreateLaunchRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLaunchRequest.Builder,CreateLaunchRequest>,EvidentlyRequest.Builder,SdkBuilder<CreateLaunchRequest.Builder,CreateLaunchRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateLaunchRequest
public static interface CreateLaunchRequest.Builder extends EvidentlyRequest.Builder, SdkPojo, CopyableBuilder<CreateLaunchRequest.Builder,CreateLaunchRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateLaunchRequest.Builderdescription(String description)An optional description for the launch.CreateLaunchRequest.Buildergroups(Collection<LaunchGroupConfig> groups)An array of structures that contains the feature and variations that are to be used for the launch.CreateLaunchRequest.Buildergroups(Consumer<LaunchGroupConfig.Builder>... groups)An array of structures that contains the feature and variations that are to be used for the launch.CreateLaunchRequest.Buildergroups(LaunchGroupConfig... groups)An array of structures that contains the feature and variations that are to be used for the launch.CreateLaunchRequest.BuildermetricMonitors(Collection<MetricMonitorConfig> metricMonitors)An array of structures that define the metrics that will be used to monitor the launch performance.CreateLaunchRequest.BuildermetricMonitors(Consumer<MetricMonitorConfig.Builder>... metricMonitors)An array of structures that define the metrics that will be used to monitor the launch performance.CreateLaunchRequest.BuildermetricMonitors(MetricMonitorConfig... metricMonitors)An array of structures that define the metrics that will be used to monitor the launch performance.CreateLaunchRequest.Buildername(String name)The name for the new launch.CreateLaunchRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateLaunchRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateLaunchRequest.Builderproject(String project)The name or ARN of the project that you want to create the launch in.CreateLaunchRequest.BuilderrandomizationSalt(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.default CreateLaunchRequest.BuilderscheduledSplitsConfig(Consumer<ScheduledSplitsLaunchConfig.Builder> scheduledSplitsConfig)An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.CreateLaunchRequest.BuilderscheduledSplitsConfig(ScheduledSplitsLaunchConfig scheduledSplitsConfig)An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.CreateLaunchRequest.Buildertags(Map<String,String> tags)Assigns one or more tags (key-value pairs) to the launch.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
description
CreateLaunchRequest.Builder description(String description)
An optional description for the launch.
- Parameters:
description- An optional description for the launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
CreateLaunchRequest.Builder groups(Collection<LaunchGroupConfig> groups)
An array of structures that contains the feature and variations that are to be used for the launch.
- Parameters:
groups- An array of structures that contains the feature and variations that are to be used for the launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
CreateLaunchRequest.Builder groups(LaunchGroupConfig... groups)
An array of structures that contains the feature and variations that are to be used for the launch.
- Parameters:
groups- An array of structures that contains the feature and variations that are to be used for the launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
CreateLaunchRequest.Builder groups(Consumer<LaunchGroupConfig.Builder>... groups)
An array of structures that contains the feature and variations that are to be used for the launch.
This is a convenience method that creates an instance of theLaunchGroupConfig.Builderavoiding the need to create one manually viaLaunchGroupConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#groups(List.) - Parameters:
groups- a consumer that will call methods onLaunchGroupConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#groups(java.util.Collection)
-
metricMonitors
CreateLaunchRequest.Builder metricMonitors(Collection<MetricMonitorConfig> metricMonitors)
An array of structures that define the metrics that will be used to monitor the launch performance.
- Parameters:
metricMonitors- An array of structures that define the metrics that will be used to monitor the launch performance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricMonitors
CreateLaunchRequest.Builder metricMonitors(MetricMonitorConfig... metricMonitors)
An array of structures that define the metrics that will be used to monitor the launch performance.
- Parameters:
metricMonitors- An array of structures that define the metrics that will be used to monitor the launch performance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricMonitors
CreateLaunchRequest.Builder metricMonitors(Consumer<MetricMonitorConfig.Builder>... metricMonitors)
An array of structures that define the metrics that will be used to monitor the launch performance.
This is a convenience method that creates an instance of theMetricMonitorConfig.Builderavoiding the need to create one manually viaMetricMonitorConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metricMonitors(List.) - Parameters:
metricMonitors- a consumer that will call methods onMetricMonitorConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metricMonitors(java.util.Collection)
-
name
CreateLaunchRequest.Builder name(String name)
The name for the new launch.
- Parameters:
name- The name for the new launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
CreateLaunchRequest.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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
randomizationSalt
CreateLaunchRequest.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 omitrandomizationSalt, Evidently uses the launch name as therandomizationSalt.- 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 therandomizationSalt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledSplitsConfig
CreateLaunchRequest.Builder scheduledSplitsConfig(ScheduledSplitsLaunchConfig 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledSplitsConfig
default CreateLaunchRequest.Builder scheduledSplitsConfig(Consumer<ScheduledSplitsLaunchConfig.Builder> scheduledSplitsConfig)
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
This is a convenience method that creates an instance of theScheduledSplitsLaunchConfig.Builderavoiding the need to create one manually viaScheduledSplitsLaunchConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduledSplitsConfig(ScheduledSplitsLaunchConfig).- Parameters:
scheduledSplitsConfig- a consumer that will call methods onScheduledSplitsLaunchConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scheduledSplitsConfig(ScheduledSplitsLaunchConfig)
-
tags
CreateLaunchRequest.Builder tags(Map<String,String> 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 Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a launch.
For more information, see Tagging Amazon Web Services resources.
- 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 Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a launch.
For more information, see Tagging Amazon Web Services resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateLaunchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateLaunchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-