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 Summary
Modifier and TypeMethodDescriptioncreationDateTime
(Instant creationDateTime) The metric attribution's creation date time.datasetGroupArn
(String datasetGroupArn) The metric attribution's dataset group Amazon Resource Name (ARN).failureReason
(String failureReason) The metric attribution's failure reason.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The metric attribution's last updated date time.metricAttributionArn
(String metricAttributionArn) The metric attribution's Amazon Resource Name (ARN).default MetricAttribution.Builder
metricsOutputConfig
(Consumer<MetricAttributionOutput.Builder> metricsOutputConfig) The metric attribution's output configuration.metricsOutputConfig
(MetricAttributionOutput metricsOutputConfig) The metric attribution's output configuration.The metric attribution's name.The metric attribution's status.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 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
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
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
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 theMetricAttributionOutput.Builder
avoiding the need to create one manually viaMetricAttributionOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricsOutputConfig(MetricAttributionOutput)
.- Parameters:
metricsOutputConfig
- a consumer that will call methods onMetricAttributionOutput.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
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
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
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.
-