Interface Launch.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Launch.Builder,
,Launch> SdkBuilder<Launch.Builder,
,Launch> SdkPojo
- Enclosing class:
Launch
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the launch.createdTime
(Instant createdTime) The date and time that the launch is created.description
(String description) The description of the launch.default Launch.Builder
execution
(Consumer<LaunchExecution.Builder> execution) A structure that contains information about the start and end times of the launch.execution
(LaunchExecution execution) A structure that contains information about the start and end times of the launch.groups
(Collection<LaunchGroup> groups) An array of structures that define the feature variations that are being used in the launch.groups
(Consumer<LaunchGroup.Builder>... groups) An array of structures that define the feature variations that are being used in the launch.groups
(LaunchGroup... groups) An array of structures that define the feature variations that are being used in the launch.lastUpdatedTime
(Instant lastUpdatedTime) The date and time that the launch was most recently updated.metricMonitors
(Collection<MetricMonitor> metricMonitors) An array of structures that define the metrics that are being used to monitor the launch performance.metricMonitors
(Consumer<MetricMonitor.Builder>... metricMonitors) An array of structures that define the metrics that are being used to monitor the launch performance.metricMonitors
(MetricMonitor... metricMonitors) An array of structures that define the metrics that are being used to monitor the launch performance.The name of the launch.The name or ARN of the project that contains the launch.randomizationSalt
(String randomizationSalt) This value is used when Evidently assigns a particular user session to the launch, to help create a randomization ID to determine which variation the user session is served.default Launch.Builder
scheduledSplitsDefinition
(Consumer<ScheduledSplitsLaunchDefinition.Builder> scheduledSplitsDefinition) An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.scheduledSplitsDefinition
(ScheduledSplitsLaunchDefinition scheduledSplitsDefinition) An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.The current state of the launch.status
(LaunchStatus status) The current state of the launch.statusReason
(String statusReason) If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped.The list of tag keys and values associated with this launch.The type of launch.type
(LaunchType type) The type of launch.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The ARN of the launch.
- Parameters:
arn
- The ARN of the launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
The date and time that the launch is created.
- Parameters:
createdTime
- The date and time that the launch is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the launch.
- Parameters:
description
- The description of the launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
execution
A structure that contains information about the start and end times of the launch.
- Parameters:
execution
- A structure that contains information about the start and end times of the launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
execution
A structure that contains information about the start and end times of the launch.
This is a convenience method that creates an instance of theLaunchExecution.Builder
avoiding the need to create one manually viaLaunchExecution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecution(LaunchExecution)
.- Parameters:
execution
- a consumer that will call methods onLaunchExecution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groups
An array of structures that define the feature variations that are being used in the launch.
- Parameters:
groups
- An array of structures that define the feature variations that are being used in the launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
An array of structures that define the feature variations that are being used in the launch.
- Parameters:
groups
- An array of structures that define the feature variations that are being used in the launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
An array of structures that define the feature variations that are being used in the launch.
This is a convenience method that creates an instance of theLaunchGroup.Builder
avoiding the need to create one manually viaLaunchGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroups(List<LaunchGroup>)
.- Parameters:
groups
- a consumer that will call methods onLaunchGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedTime
The date and time that the launch was most recently updated.
- Parameters:
lastUpdatedTime
- The date and time that the launch was most recently updated.- 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 are being used to monitor the launch performance.
- Parameters:
metricMonitors
- An array of structures that define the metrics that are being 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 are being used to monitor the launch performance.
- Parameters:
metricMonitors
- An array of structures that define the metrics that are being 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 are being used to monitor the launch performance.
This is a convenience method that creates an instance of theMetricMonitor.Builder
avoiding the need to create one manually viaMetricMonitor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricMonitors(List<MetricMonitor>)
.- Parameters:
metricMonitors
- a consumer that will call methods onMetricMonitor.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the launch.
- Parameters:
name
- The name of the 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 contains the launch.
- Parameters:
project
- The name or ARN of the project that contains the launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
randomizationSalt
This value is used when Evidently assigns a particular user session to the launch, to help create a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and
randomizationSalt
.- Parameters:
randomizationSalt
- This value is used when Evidently assigns a particular user session to the launch, to help create a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID andrandomizationSalt
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledSplitsDefinition
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
- Parameters:
scheduledSplitsDefinition
- 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.
-
scheduledSplitsDefinition
default Launch.Builder scheduledSplitsDefinition(Consumer<ScheduledSplitsLaunchDefinition.Builder> scheduledSplitsDefinition) 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 theScheduledSplitsLaunchDefinition.Builder
avoiding the need to create one manually viaScheduledSplitsLaunchDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscheduledSplitsDefinition(ScheduledSplitsLaunchDefinition)
.- Parameters:
scheduledSplitsDefinition
- a consumer that will call methods onScheduledSplitsLaunchDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current state of the launch.
- Parameters:
status
- The current state of the launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current state of the launch.
- Parameters:
status
- The current state of the launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped.
- Parameters:
statusReason
- If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of tag keys and values associated with this launch.
- Parameters:
tags
- The list of tag keys and values associated with this launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of launch.
- Parameters:
type
- The type of launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of launch.
- Parameters:
type
- The type of launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-