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 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

      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 the LaunchExecution.Builder avoiding the need to create one manually via LaunchExecution.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to execution(LaunchExecution).

      Parameters:
      execution - a consumer that will call methods on LaunchExecution.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

      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

      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 the LaunchGroup.Builder avoiding the need to create one manually via LaunchGroup.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to groups(List<LaunchGroup>).

      Parameters:
      groups - a consumer that will call methods on LaunchGroup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the MetricMonitor.Builder avoiding the need to create one manually via MetricMonitor.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to metricMonitors(List<MetricMonitor>).

      Parameters:
      metricMonitors - a consumer that will call methods on MetricMonitor.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 and randomizationSalt.
      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 the ScheduledSplitsLaunchDefinition.Builder avoiding the need to create one manually via ScheduledSplitsLaunchDefinition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scheduledSplitsDefinition(ScheduledSplitsLaunchDefinition).

      Parameters:
      scheduledSplitsDefinition - a consumer that will call methods on ScheduledSplitsLaunchDefinition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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:
    • 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

      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:
    • 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: