Struct aws_sdk_pi::types::builders::AnalysisReportBuilder
source · #[non_exhaustive]pub struct AnalysisReportBuilder { /* private fields */ }Expand description
A builder for AnalysisReport.
Implementations§
source§impl AnalysisReportBuilder
impl AnalysisReportBuilder
sourcepub fn analysis_report_id(self, input: impl Into<String>) -> Self
pub fn analysis_report_id(self, input: impl Into<String>) -> Self
The name of the analysis report.
This field is required.sourcepub fn set_analysis_report_id(self, input: Option<String>) -> Self
pub fn set_analysis_report_id(self, input: Option<String>) -> Self
The name of the analysis report.
sourcepub fn get_analysis_report_id(&self) -> &Option<String>
pub fn get_analysis_report_id(&self) -> &Option<String>
The name of the analysis report.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The unique identifier of the analysis report.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The unique identifier of the analysis report.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The unique identifier of the analysis report.
sourcepub fn service_type(self, input: ServiceType) -> Self
pub fn service_type(self, input: ServiceType) -> Self
List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:
-
RDS -
DOCDB
sourcepub fn set_service_type(self, input: Option<ServiceType>) -> Self
pub fn set_service_type(self, input: Option<ServiceType>) -> Self
List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:
-
RDS -
DOCDB
sourcepub fn get_service_type(&self) -> &Option<ServiceType>
pub fn get_service_type(&self) -> &Option<ServiceType>
List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:
-
RDS -
DOCDB
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The time you created the analysis report.
sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
The time you created the analysis report.
sourcepub fn get_create_time(&self) -> &Option<DateTime>
pub fn get_create_time(&self) -> &Option<DateTime>
The time you created the analysis report.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The analysis start time in the report.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The analysis start time in the report.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The analysis start time in the report.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The analysis end time in the report.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The analysis end time in the report.
sourcepub fn status(self, input: AnalysisStatus) -> Self
pub fn status(self, input: AnalysisStatus) -> Self
The status of the created analysis report.
sourcepub fn set_status(self, input: Option<AnalysisStatus>) -> Self
pub fn set_status(self, input: Option<AnalysisStatus>) -> Self
The status of the created analysis report.
sourcepub fn get_status(&self) -> &Option<AnalysisStatus>
pub fn get_status(&self) -> &Option<AnalysisStatus>
The status of the created analysis report.
sourcepub fn insights(self, input: Insight) -> Self
pub fn insights(self, input: Insight) -> Self
Appends an item to insights.
To override the contents of this collection use set_insights.
The list of identified insights in the analysis report.
sourcepub fn set_insights(self, input: Option<Vec<Insight>>) -> Self
pub fn set_insights(self, input: Option<Vec<Insight>>) -> Self
The list of identified insights in the analysis report.
sourcepub fn get_insights(&self) -> &Option<Vec<Insight>>
pub fn get_insights(&self) -> &Option<Vec<Insight>>
The list of identified insights in the analysis report.
sourcepub fn build(self) -> Result<AnalysisReport, BuildError>
pub fn build(self) -> Result<AnalysisReport, BuildError>
Consumes the builder and constructs a AnalysisReport.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AnalysisReportBuilder
impl Clone for AnalysisReportBuilder
source§fn clone(&self) -> AnalysisReportBuilder
fn clone(&self) -> AnalysisReportBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AnalysisReportBuilder
impl Debug for AnalysisReportBuilder
source§impl Default for AnalysisReportBuilder
impl Default for AnalysisReportBuilder
source§fn default() -> AnalysisReportBuilder
fn default() -> AnalysisReportBuilder
source§impl PartialEq for AnalysisReportBuilder
impl PartialEq for AnalysisReportBuilder
source§fn eq(&self, other: &AnalysisReportBuilder) -> bool
fn eq(&self, other: &AnalysisReportBuilder) -> bool
self and other values to be equal, and is used
by ==.