JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.personalize.model

Class CreateMetricAttributionRequest

    • Constructor Detail

      • CreateMetricAttributionRequest

        public CreateMetricAttributionRequest()
    • Method Detail

      • setName

        public void setName(String name)

        A name for the metric attribution.

        Parameters:
        name - A name for the metric attribution.
      • getName

        public String getName()

        A name for the metric attribution.

        Returns:
        A name for the metric attribution.
      • withName

        public CreateMetricAttributionRequest withName(String name)

        A name for the metric attribution.

        Parameters:
        name - A name for the metric attribution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDatasetGroupArn

        public void setDatasetGroupArn(String datasetGroupArn)

        The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.

        Parameters:
        datasetGroupArn - The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.
      • getDatasetGroupArn

        public String getDatasetGroupArn()

        The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.

        Returns:
        The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.
      • withDatasetGroupArn

        public CreateMetricAttributionRequest withDatasetGroupArn(String datasetGroupArn)

        The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.

        Parameters:
        datasetGroupArn - The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getMetrics

        public List<MetricAttribute> getMetrics()

        A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track and a function. Available functions are SUM() or SAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).

        Returns:
        A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track and a function. Available functions are SUM() or SAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).
      • setMetrics

        public void setMetrics(Collection<MetricAttribute> metrics)

        A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track and a function. Available functions are SUM() or SAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).

        Parameters:
        metrics - A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track and a function. Available functions are SUM() or SAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).
      • withMetrics

        public CreateMetricAttributionRequest withMetrics(MetricAttribute... metrics)

        A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track and a function. Available functions are SUM() or SAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).

        NOTE: This method appends the values to the existing list (if any). Use setMetrics(java.util.Collection) or withMetrics(java.util.Collection) if you want to override the existing values.

        Parameters:
        metrics - A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track and a function. Available functions are SUM() or SAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withMetrics

        public CreateMetricAttributionRequest withMetrics(Collection<MetricAttribute> metrics)

        A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track and a function. Available functions are SUM() or SAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).

        Parameters:
        metrics - A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track and a function. Available functions are SUM() or SAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMetricsOutputConfig

        public void setMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)

        The output configuration details for the metric attribution.

        Parameters:
        metricsOutputConfig - The output configuration details for the metric attribution.
      • getMetricsOutputConfig

        public MetricAttributionOutput getMetricsOutputConfig()

        The output configuration details for the metric attribution.

        Returns:
        The output configuration details for the metric attribution.
      • withMetricsOutputConfig

        public CreateMetricAttributionRequest withMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)

        The output configuration details for the metric attribution.

        Parameters:
        metricsOutputConfig - The output configuration details for the metric attribution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /