Interface CreateLaunchRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLaunchRequest.Builder,
,CreateLaunchRequest> EvidentlyRequest.Builder
,SdkBuilder<CreateLaunchRequest.Builder,
,CreateLaunchRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLaunchRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) An optional description for the launch.groups
(Collection<LaunchGroupConfig> groups) An array of structures that contains the feature and variations that are to be used for the launch.groups
(Consumer<LaunchGroupConfig.Builder>... groups) An array of structures that contains the feature and variations that are to be used for the launch.groups
(LaunchGroupConfig... groups) An array of structures that contains the feature and variations that are to be used for the launch.metricMonitors
(Collection<MetricMonitorConfig> metricMonitors) An array of structures that define the metrics that will be used to monitor the launch performance.metricMonitors
(Consumer<MetricMonitorConfig.Builder>... metricMonitors) An array of structures that define the metrics that will be used to monitor the launch performance.metricMonitors
(MetricMonitorConfig... metricMonitors) An array of structures that define the metrics that will be used to monitor the launch performance.The name for the new launch.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name or ARN of the project that you want to create the launch in.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.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.scheduledSplitsConfig
(ScheduledSplitsLaunchConfig scheduledSplitsConfig) An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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.Builder
avoiding the need to create one manually viaLaunchGroupConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroups(List<LaunchGroupConfig>)
.- 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:
-
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
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
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.Builder
avoiding the need to create one manually viaMetricMonitorConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricMonitors(List<MetricMonitorConfig>)
.- 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:
-
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
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
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.Builder
avoiding the need to create one manually viaScheduledSplitsLaunchConfig.builder()
.When the
Consumer
completes,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:
-
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLaunchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-