Interface Launch.Builder

    • 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.
      • 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 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).

        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:
        #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 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).

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