pub struct Builder { /* private fields */ }
Expand description
A builder for MetricAttributionOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn s3_data_destination(self, input: S3DataConfig) -> Self
pub fn s3_data_destination(self, input: S3DataConfig) -> Self
The configuration details of an Amazon S3 input or output bucket.
sourcepub fn set_s3_data_destination(self, input: Option<S3DataConfig>) -> Self
pub fn set_s3_data_destination(self, input: Option<S3DataConfig>) -> Self
The configuration details of an Amazon S3 input or output bucket.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
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.
sourcepub fn build(self) -> MetricAttributionOutput
pub fn build(self) -> MetricAttributionOutput
Consumes the builder and constructs a MetricAttributionOutput
.