#[non_exhaustive]pub struct ServerDetailBuilder { /* private fields */ }Expand description
A builder for ServerDetail.
Implementations§
source§impl ServerDetailBuilder
impl ServerDetailBuilder
sourcepub fn recommendation_set(self, input: RecommendationSet) -> Self
pub fn recommendation_set(self, input: RecommendationSet) -> Self
A set of recommendations.
sourcepub fn set_recommendation_set(self, input: Option<RecommendationSet>) -> Self
pub fn set_recommendation_set(self, input: Option<RecommendationSet>) -> Self
A set of recommendations.
sourcepub fn get_recommendation_set(&self) -> &Option<RecommendationSet>
pub fn get_recommendation_set(&self) -> &Option<RecommendationSet>
A set of recommendations.
sourcepub fn data_collection_status(self, input: RunTimeAssessmentStatus) -> Self
pub fn data_collection_status(self, input: RunTimeAssessmentStatus) -> Self
The status of assessment for the server.
sourcepub fn set_data_collection_status(
self,
input: Option<RunTimeAssessmentStatus>
) -> Self
pub fn set_data_collection_status( self, input: Option<RunTimeAssessmentStatus> ) -> Self
The status of assessment for the server.
sourcepub fn get_data_collection_status(&self) -> &Option<RunTimeAssessmentStatus>
pub fn get_data_collection_status(&self) -> &Option<RunTimeAssessmentStatus>
The status of assessment for the server.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
A message about the status of data collection, which contains detailed descriptions of any error messages.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
A message about the status of data collection, which contains detailed descriptions of any error messages.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
A message about the status of data collection, which contains detailed descriptions of any error messages.
sourcepub fn list_antipattern_severity_summary(
self,
input: AntipatternSeveritySummary
) -> Self
pub fn list_antipattern_severity_summary( self, input: AntipatternSeveritySummary ) -> Self
Appends an item to list_antipattern_severity_summary.
To override the contents of this collection use set_list_antipattern_severity_summary.
A list of anti-pattern severity summaries.
sourcepub fn set_list_antipattern_severity_summary(
self,
input: Option<Vec<AntipatternSeveritySummary>>
) -> Self
pub fn set_list_antipattern_severity_summary( self, input: Option<Vec<AntipatternSeveritySummary>> ) -> Self
A list of anti-pattern severity summaries.
sourcepub fn get_list_antipattern_severity_summary(
&self
) -> &Option<Vec<AntipatternSeveritySummary>>
pub fn get_list_antipattern_severity_summary( &self ) -> &Option<Vec<AntipatternSeveritySummary>>
A list of anti-pattern severity summaries.
sourcepub fn system_info(self, input: SystemInfo) -> Self
pub fn system_info(self, input: SystemInfo) -> Self
System information about the server.
sourcepub fn set_system_info(self, input: Option<SystemInfo>) -> Self
pub fn set_system_info(self, input: Option<SystemInfo>) -> Self
System information about the server.
sourcepub fn get_system_info(&self) -> &Option<SystemInfo>
pub fn get_system_info(&self) -> &Option<SystemInfo>
System information about the server.
sourcepub fn application_component_strategy_summary(
self,
input: StrategySummary
) -> Self
pub fn application_component_strategy_summary( self, input: StrategySummary ) -> Self
Appends an item to application_component_strategy_summary.
To override the contents of this collection use set_application_component_strategy_summary.
A list of strategy summaries.
sourcepub fn set_application_component_strategy_summary(
self,
input: Option<Vec<StrategySummary>>
) -> Self
pub fn set_application_component_strategy_summary( self, input: Option<Vec<StrategySummary>> ) -> Self
A list of strategy summaries.
sourcepub fn get_application_component_strategy_summary(
&self
) -> &Option<Vec<StrategySummary>>
pub fn get_application_component_strategy_summary( &self ) -> &Option<Vec<StrategySummary>>
A list of strategy summaries.
sourcepub fn antipattern_report_s3_object(self, input: S3Object) -> Self
pub fn antipattern_report_s3_object(self, input: S3Object) -> Self
The S3 bucket name and Amazon S3 key name for anti-pattern report.
sourcepub fn set_antipattern_report_s3_object(self, input: Option<S3Object>) -> Self
pub fn set_antipattern_report_s3_object(self, input: Option<S3Object>) -> Self
The S3 bucket name and Amazon S3 key name for anti-pattern report.
sourcepub fn get_antipattern_report_s3_object(&self) -> &Option<S3Object>
pub fn get_antipattern_report_s3_object(&self) -> &Option<S3Object>
The S3 bucket name and Amazon S3 key name for anti-pattern report.
sourcepub fn antipattern_report_status(self, input: AntipatternReportStatus) -> Self
pub fn antipattern_report_status(self, input: AntipatternReportStatus) -> Self
The status of the anti-pattern report generation.
sourcepub fn set_antipattern_report_status(
self,
input: Option<AntipatternReportStatus>
) -> Self
pub fn set_antipattern_report_status( self, input: Option<AntipatternReportStatus> ) -> Self
The status of the anti-pattern report generation.
sourcepub fn get_antipattern_report_status(&self) -> &Option<AntipatternReportStatus>
pub fn get_antipattern_report_status(&self) -> &Option<AntipatternReportStatus>
The status of the anti-pattern report generation.
sourcepub fn antipattern_report_status_message(self, input: impl Into<String>) -> Self
pub fn antipattern_report_status_message(self, input: impl Into<String>) -> Self
A message about the status of the anti-pattern report generation.
sourcepub fn set_antipattern_report_status_message(
self,
input: Option<String>
) -> Self
pub fn set_antipattern_report_status_message( self, input: Option<String> ) -> Self
A message about the status of the anti-pattern report generation.
sourcepub fn get_antipattern_report_status_message(&self) -> &Option<String>
pub fn get_antipattern_report_status_message(&self) -> &Option<String>
A message about the status of the anti-pattern report generation.
sourcepub fn server_type(self, input: impl Into<String>) -> Self
pub fn server_type(self, input: impl Into<String>) -> Self
The type of server.
sourcepub fn set_server_type(self, input: Option<String>) -> Self
pub fn set_server_type(self, input: Option<String>) -> Self
The type of server.
sourcepub fn get_server_type(&self) -> &Option<String>
pub fn get_server_type(&self) -> &Option<String>
The type of server.
sourcepub fn last_analyzed_timestamp(self, input: DateTime) -> Self
pub fn last_analyzed_timestamp(self, input: DateTime) -> Self
The timestamp of when the server was assessed.
sourcepub fn set_last_analyzed_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_analyzed_timestamp(self, input: Option<DateTime>) -> Self
The timestamp of when the server was assessed.
sourcepub fn get_last_analyzed_timestamp(&self) -> &Option<DateTime>
pub fn get_last_analyzed_timestamp(&self) -> &Option<DateTime>
The timestamp of when the server was assessed.
sourcepub fn server_error(self, input: ServerError) -> Self
pub fn server_error(self, input: ServerError) -> Self
The error in server analysis.
sourcepub fn set_server_error(self, input: Option<ServerError>) -> Self
pub fn set_server_error(self, input: Option<ServerError>) -> Self
The error in server analysis.
sourcepub fn get_server_error(&self) -> &Option<ServerError>
pub fn get_server_error(&self) -> &Option<ServerError>
The error in server analysis.
sourcepub fn build(self) -> ServerDetail
pub fn build(self) -> ServerDetail
Consumes the builder and constructs a ServerDetail.
Trait Implementations§
source§impl Clone for ServerDetailBuilder
impl Clone for ServerDetailBuilder
source§fn clone(&self) -> ServerDetailBuilder
fn clone(&self) -> ServerDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ServerDetailBuilder
impl Debug for ServerDetailBuilder
source§impl Default for ServerDetailBuilder
impl Default for ServerDetailBuilder
source§fn default() -> ServerDetailBuilder
fn default() -> ServerDetailBuilder
source§impl PartialEq for ServerDetailBuilder
impl PartialEq for ServerDetailBuilder
source§fn eq(&self, other: &ServerDetailBuilder) -> bool
fn eq(&self, other: &ServerDetailBuilder) -> bool
self and other values to be equal, and is used
by ==.