Interface MetricAttribution.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MetricAttribution.Builder,MetricAttribution>, SdkBuilder<MetricAttribution.Builder,MetricAttribution>, SdkPojo
Enclosing class:
MetricAttribution

public static interface MetricAttribution.Builder extends SdkPojo, CopyableBuilder<MetricAttribution.Builder,MetricAttribution>
  • Method Details

    • name

      The metric attribution's name.

      Parameters:
      name - The metric attribution's name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricAttributionArn

      MetricAttribution.Builder metricAttributionArn(String metricAttributionArn)

      The metric attribution's Amazon Resource Name (ARN).

      Parameters:
      metricAttributionArn - The metric attribution's Amazon Resource Name (ARN).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetGroupArn

      MetricAttribution.Builder datasetGroupArn(String datasetGroupArn)

      The metric attribution's dataset group Amazon Resource Name (ARN).

      Parameters:
      datasetGroupArn - The metric attribution's dataset group Amazon Resource Name (ARN).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricsOutputConfig

      MetricAttribution.Builder metricsOutputConfig(MetricAttributionOutput metricsOutputConfig)

      The metric attribution's output configuration.

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

      default MetricAttribution.Builder metricsOutputConfig(Consumer<MetricAttributionOutput.Builder> metricsOutputConfig)

      The metric attribution's output configuration.

      This is a convenience method that creates an instance of the MetricAttributionOutput.Builder avoiding the need to create one manually via MetricAttributionOutput.builder().

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

      Parameters:
      metricsOutputConfig - a consumer that will call methods on MetricAttributionOutput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The metric attribution's status.

      Parameters:
      status - The metric attribution's status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDateTime

      MetricAttribution.Builder creationDateTime(Instant creationDateTime)

      The metric attribution's creation date time.

      Parameters:
      creationDateTime - The metric attribution's creation date time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedDateTime

      MetricAttribution.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)

      The metric attribution's last updated date time.

      Parameters:
      lastUpdatedDateTime - The metric attribution's last updated date time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReason

      MetricAttribution.Builder failureReason(String failureReason)

      The metric attribution's failure reason.

      Parameters:
      failureReason - The metric attribution's failure reason.
      Returns:
      Returns a reference to this object so that method calls can be chained together.