Struct aws_sdk_backup::model::report_setting::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ReportSetting.
Implementations§
source§impl Builder
impl Builder
sourcepub fn report_template(self, input: impl Into<String>) -> Self
pub fn report_template(self, input: impl Into<String>) -> Self
Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
sourcepub fn set_report_template(self, input: Option<String>) -> Self
pub fn set_report_template(self, input: Option<String>) -> Self
Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
sourcepub fn framework_arns(self, input: impl Into<String>) -> Self
pub fn framework_arns(self, input: impl Into<String>) -> Self
Appends an item to framework_arns.
To override the contents of this collection use set_framework_arns.
The Amazon Resource Names (ARNs) of the frameworks a report covers.
sourcepub fn set_framework_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_framework_arns(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Names (ARNs) of the frameworks a report covers.
sourcepub fn number_of_frameworks(self, input: i32) -> Self
pub fn number_of_frameworks(self, input: i32) -> Self
The number of frameworks a report covers.
sourcepub fn set_number_of_frameworks(self, input: Option<i32>) -> Self
pub fn set_number_of_frameworks(self, input: Option<i32>) -> Self
The number of frameworks a report covers.
sourcepub fn accounts(self, input: impl Into<String>) -> Self
pub fn accounts(self, input: impl Into<String>) -> Self
Appends an item to accounts.
To override the contents of this collection use set_accounts.
These are the accounts to be included in the report.
sourcepub fn set_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_accounts(self, input: Option<Vec<String>>) -> Self
These are the accounts to be included in the report.
sourcepub fn organization_units(self, input: impl Into<String>) -> Self
pub fn organization_units(self, input: impl Into<String>) -> Self
Appends an item to organization_units.
To override the contents of this collection use set_organization_units.
These are the Organizational Units to be included in the report.
sourcepub fn set_organization_units(self, input: Option<Vec<String>>) -> Self
pub fn set_organization_units(self, input: Option<Vec<String>>) -> Self
These are the Organizational Units to be included in the report.
sourcepub fn regions(self, input: impl Into<String>) -> Self
pub fn regions(self, input: impl Into<String>) -> Self
Appends an item to regions.
To override the contents of this collection use set_regions.
These are the Regions to be included in the report.
sourcepub fn set_regions(self, input: Option<Vec<String>>) -> Self
pub fn set_regions(self, input: Option<Vec<String>>) -> Self
These are the Regions to be included in the report.
sourcepub fn build(self) -> ReportSetting
pub fn build(self) -> ReportSetting
Consumes the builder and constructs a ReportSetting.