#[non_exhaustive]pub struct DataCollectionDetailsBuilder { /* private fields */ }Expand description
A builder for DataCollectionDetails.
Implementations§
source§impl DataCollectionDetailsBuilder
impl DataCollectionDetailsBuilder
sourcepub fn status(self, input: AssessmentStatus) -> Self
pub fn status(self, input: AssessmentStatus) -> Self
The status of the assessment.
sourcepub fn set_status(self, input: Option<AssessmentStatus>) -> Self
pub fn set_status(self, input: Option<AssessmentStatus>) -> Self
The status of the assessment.
sourcepub fn get_status(&self) -> &Option<AssessmentStatus>
pub fn get_status(&self) -> &Option<AssessmentStatus>
The status of the assessment.
sourcepub fn set_servers(self, input: Option<i32>) -> Self
pub fn set_servers(self, input: Option<i32>) -> Self
The total number of servers in the assessment.
sourcepub fn get_servers(&self) -> &Option<i32>
pub fn get_servers(&self) -> &Option<i32>
The total number of servers in the assessment.
sourcepub fn set_failed(self, input: Option<i32>) -> Self
pub fn set_failed(self, input: Option<i32>) -> Self
The number of failed servers in the assessment.
sourcepub fn get_failed(&self) -> &Option<i32>
pub fn get_failed(&self) -> &Option<i32>
The number of failed servers in the assessment.
sourcepub fn set_success(self, input: Option<i32>) -> Self
pub fn set_success(self, input: Option<i32>) -> Self
The number of successful servers in the assessment.
sourcepub fn get_success(&self) -> &Option<i32>
pub fn get_success(&self) -> &Option<i32>
The number of successful servers in the assessment.
sourcepub fn in_progress(self, input: i32) -> Self
pub fn in_progress(self, input: i32) -> Self
The number of servers with the assessment status IN_PROGESS.
sourcepub fn set_in_progress(self, input: Option<i32>) -> Self
pub fn set_in_progress(self, input: Option<i32>) -> Self
The number of servers with the assessment status IN_PROGESS.
sourcepub fn get_in_progress(&self) -> &Option<i32>
pub fn get_in_progress(&self) -> &Option<i32>
The number of servers with the assessment status IN_PROGESS.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time of assessment.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time of assessment.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start time of assessment.
sourcepub fn completion_time(self, input: DateTime) -> Self
pub fn completion_time(self, input: DateTime) -> Self
The time the assessment completes.
sourcepub fn set_completion_time(self, input: Option<DateTime>) -> Self
pub fn set_completion_time(self, input: Option<DateTime>) -> Self
The time the assessment completes.
sourcepub fn get_completion_time(&self) -> &Option<DateTime>
pub fn get_completion_time(&self) -> &Option<DateTime>
The time the assessment completes.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message of the assessment.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message of the assessment.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message of the assessment.
sourcepub fn build(self) -> DataCollectionDetails
pub fn build(self) -> DataCollectionDetails
Consumes the builder and constructs a DataCollectionDetails.
Trait Implementations§
source§impl Clone for DataCollectionDetailsBuilder
impl Clone for DataCollectionDetailsBuilder
source§fn clone(&self) -> DataCollectionDetailsBuilder
fn clone(&self) -> DataCollectionDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DataCollectionDetailsBuilder
impl Debug for DataCollectionDetailsBuilder
source§impl Default for DataCollectionDetailsBuilder
impl Default for DataCollectionDetailsBuilder
source§fn default() -> DataCollectionDetailsBuilder
fn default() -> DataCollectionDetailsBuilder
source§impl PartialEq for DataCollectionDetailsBuilder
impl PartialEq for DataCollectionDetailsBuilder
source§fn eq(&self, other: &DataCollectionDetailsBuilder) -> bool
fn eq(&self, other: &DataCollectionDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.