#[non_exhaustive]pub struct MetricAttributionOutputBuilder { /* private fields */ }
Expand description
A builder for MetricAttributionOutput
.
Implementations§
source§impl MetricAttributionOutputBuilder
impl MetricAttributionOutputBuilder
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 get_s3_data_destination(&self) -> &Option<S3DataConfig>
pub fn get_s3_data_destination(&self) -> &Option<S3DataConfig>
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.
This field is required.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 get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
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) -> Result<MetricAttributionOutput, BuildError>
pub fn build(self) -> Result<MetricAttributionOutput, BuildError>
Consumes the builder and constructs a MetricAttributionOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for MetricAttributionOutputBuilder
impl Clone for MetricAttributionOutputBuilder
source§fn clone(&self) -> MetricAttributionOutputBuilder
fn clone(&self) -> MetricAttributionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MetricAttributionOutputBuilder
impl Default for MetricAttributionOutputBuilder
source§fn default() -> MetricAttributionOutputBuilder
fn default() -> MetricAttributionOutputBuilder
source§impl PartialEq for MetricAttributionOutputBuilder
impl PartialEq for MetricAttributionOutputBuilder
source§fn eq(&self, other: &MetricAttributionOutputBuilder) -> bool
fn eq(&self, other: &MetricAttributionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.