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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MetricAttributionOutput.BuilderroleArn(String 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.default MetricAttributionOutput.Builders3DataDestination(Consumer<S3DataConfig.Builder> s3DataDestination)Sets the value of the S3DataDestination property for this object.MetricAttributionOutput.Builders3DataDestination(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
s3DataDestination
MetricAttributionOutput.Builder s3DataDestination(S3DataConfig 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.Builderavoiding the need to create one manually viaS3DataConfig.builder().When the
Consumercompletes,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:
s3DataDestination(S3DataConfig)
-
roleArn
MetricAttributionOutput.Builder roleArn(String 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.
-
-