Interface Launch.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Launch.Builder,Launch>,SdkBuilder<Launch.Builder,Launch>,SdkPojo
- Enclosing class:
- Launch
public static interface Launch.Builder extends SdkPojo, CopyableBuilder<Launch.Builder,Launch>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Launch.Builderarn(String arn)The ARN of the launch.Launch.BuildercreatedTime(Instant createdTime)The date and time that the launch is created.Launch.Builderdescription(String description)The description of the launch.default Launch.Builderexecution(Consumer<LaunchExecution.Builder> execution)A structure that contains information about the start and end times of the launch.Launch.Builderexecution(LaunchExecution execution)A structure that contains information about the start and end times of the launch.Launch.Buildergroups(Collection<LaunchGroup> groups)An array of structures that define the feature variations that are being used in the launch.Launch.Buildergroups(Consumer<LaunchGroup.Builder>... groups)An array of structures that define the feature variations that are being used in the launch.Launch.Buildergroups(LaunchGroup... groups)An array of structures that define the feature variations that are being used in the launch.Launch.BuilderlastUpdatedTime(Instant lastUpdatedTime)The date and time that the launch was most recently updated.Launch.BuildermetricMonitors(Collection<MetricMonitor> metricMonitors)An array of structures that define the metrics that are being used to monitor the launch performance.Launch.BuildermetricMonitors(Consumer<MetricMonitor.Builder>... metricMonitors)An array of structures that define the metrics that are being used to monitor the launch performance.Launch.BuildermetricMonitors(MetricMonitor... metricMonitors)An array of structures that define the metrics that are being used to monitor the launch performance.Launch.Buildername(String name)The name of the launch.Launch.Builderproject(String project)The name or ARN of the project that contains the launch.Launch.BuilderrandomizationSalt(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.BuilderscheduledSplitsDefinition(Consumer<ScheduledSplitsLaunchDefinition.Builder> scheduledSplitsDefinition)An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.Launch.BuilderscheduledSplitsDefinition(ScheduledSplitsLaunchDefinition scheduledSplitsDefinition)An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.Launch.Builderstatus(String status)The current state of the launch.Launch.Builderstatus(LaunchStatus status)The current state of the launch.Launch.BuilderstatusReason(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.Launch.Buildertags(Map<String,String> tags)The list of tag keys and values associated with this launch.Launch.Buildertype(String type)The type of launch.Launch.Buildertype(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 Detail
-
arn
Launch.Builder arn(String 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
Launch.Builder createdTime(Instant 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
Launch.Builder description(String 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
Launch.Builder execution(LaunchExecution 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
default Launch.Builder execution(Consumer<LaunchExecution.Builder> 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.Builderavoiding the need to create one manually viaLaunchExecution.builder().When the
Consumercompletes,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:
execution(LaunchExecution)
-
groups
Launch.Builder groups(Collection<LaunchGroup> 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
Launch.Builder groups(LaunchGroup... 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
Launch.Builder groups(Consumer<LaunchGroup.Builder>... 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.Builderavoiding the need to create one manually viaLaunchGroup.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 onLaunchGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#groups(java.util.Collection)
-
lastUpdatedTime
Launch.Builder lastUpdatedTime(Instant 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
Launch.Builder metricMonitors(Collection<MetricMonitor> 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
Launch.Builder metricMonitors(MetricMonitor... 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
Launch.Builder metricMonitors(Consumer<MetricMonitor.Builder>... 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.Builderavoiding the need to create one manually viaMetricMonitor.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 onMetricMonitor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metricMonitors(java.util.Collection)
-
name
Launch.Builder name(String 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
Launch.Builder project(String 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
Launch.Builder 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. 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
Launch.Builder scheduledSplitsDefinition(ScheduledSplitsLaunchDefinition 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.Builderavoiding the need to create one manually viaScheduledSplitsLaunchDefinition.builder().When the
Consumercompletes,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:
scheduledSplitsDefinition(ScheduledSplitsLaunchDefinition)
-
status
Launch.Builder status(String 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:
LaunchStatus,LaunchStatus
-
status
Launch.Builder status(LaunchStatus 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:
LaunchStatus,LaunchStatus
-
statusReason
Launch.Builder 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.
- 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
Launch.Builder tags(Map<String,String> 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
Launch.Builder type(String 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:
LaunchType,LaunchType
-
type
Launch.Builder type(LaunchType 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:
LaunchType,LaunchType
-
-