Interface MetricAttributionOutput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MetricAttributionOutput.Builder,
,MetricAttributionOutput> SdkBuilder<MetricAttributionOutput.Builder,
,MetricAttributionOutput> SdkPojo
- Enclosing class:
MetricAttributionOutput
public static interface MetricAttributionOutput.Builder
extends SdkPojo, CopyableBuilder<MetricAttributionOutput.Builder,MetricAttributionOutput>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3 bucket and add metrics to Amazon CloudWatch.default MetricAttributionOutput.Builder
s3DataDestination
(Consumer<S3DataConfig.Builder> s3DataDestination) Sets the value of the S3DataDestination property for this object.s3DataDestination
(S3DataConfig s3DataDestination) Sets the value of the S3DataDestination property for this object.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
-
s3DataDestination
Sets the value of the S3DataDestination property for this object.- Parameters:
s3DataDestination
- The new value for the S3DataDestination property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DataDestination
default MetricAttributionOutput.Builder s3DataDestination(Consumer<S3DataConfig.Builder> s3DataDestination) Sets the value of the S3DataDestination property for this object. This is a convenience method that creates an instance of theS3DataConfig.Builder
avoiding the need to create one manually viaS3DataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3DataDestination(S3DataConfig)
.- Parameters:
s3DataDestination
- a consumer that will call methods onS3DataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3 bucket and add metrics to Amazon CloudWatch. For more information, see Measuring impact of recommendations.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3 bucket and add metrics to Amazon CloudWatch. For more information, see Measuring impact of recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-