Struct aws_sdk_iot::operation::describe_audit_task::builders::DescribeAuditTaskOutputBuilder
source · #[non_exhaustive]pub struct DescribeAuditTaskOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeAuditTaskOutput
.
Implementations§
source§impl DescribeAuditTaskOutputBuilder
impl DescribeAuditTaskOutputBuilder
sourcepub fn task_status(self, input: AuditTaskStatus) -> Self
pub fn task_status(self, input: AuditTaskStatus) -> Self
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
sourcepub fn set_task_status(self, input: Option<AuditTaskStatus>) -> Self
pub fn set_task_status(self, input: Option<AuditTaskStatus>) -> Self
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
sourcepub fn get_task_status(&self) -> &Option<AuditTaskStatus>
pub fn get_task_status(&self) -> &Option<AuditTaskStatus>
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
sourcepub fn task_type(self, input: AuditTaskType) -> Self
pub fn task_type(self, input: AuditTaskType) -> Self
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
sourcepub fn set_task_type(self, input: Option<AuditTaskType>) -> Self
pub fn set_task_type(self, input: Option<AuditTaskType>) -> Self
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
sourcepub fn get_task_type(&self) -> &Option<AuditTaskType>
pub fn get_task_type(&self) -> &Option<AuditTaskType>
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
sourcepub fn task_start_time(self, input: DateTime) -> Self
pub fn task_start_time(self, input: DateTime) -> Self
The time the audit started.
sourcepub fn set_task_start_time(self, input: Option<DateTime>) -> Self
pub fn set_task_start_time(self, input: Option<DateTime>) -> Self
The time the audit started.
sourcepub fn get_task_start_time(&self) -> &Option<DateTime>
pub fn get_task_start_time(&self) -> &Option<DateTime>
The time the audit started.
sourcepub fn task_statistics(self, input: TaskStatistics) -> Self
pub fn task_statistics(self, input: TaskStatistics) -> Self
Statistical information about the audit.
sourcepub fn set_task_statistics(self, input: Option<TaskStatistics>) -> Self
pub fn set_task_statistics(self, input: Option<TaskStatistics>) -> Self
Statistical information about the audit.
sourcepub fn get_task_statistics(&self) -> &Option<TaskStatistics>
pub fn get_task_statistics(&self) -> &Option<TaskStatistics>
Statistical information about the audit.
sourcepub fn scheduled_audit_name(self, input: impl Into<String>) -> Self
pub fn scheduled_audit_name(self, input: impl Into<String>) -> Self
The name of the scheduled audit (only if the audit was a scheduled audit).
sourcepub fn set_scheduled_audit_name(self, input: Option<String>) -> Self
pub fn set_scheduled_audit_name(self, input: Option<String>) -> Self
The name of the scheduled audit (only if the audit was a scheduled audit).
sourcepub fn get_scheduled_audit_name(&self) -> &Option<String>
pub fn get_scheduled_audit_name(&self) -> &Option<String>
The name of the scheduled audit (only if the audit was a scheduled audit).
sourcepub fn audit_details(self, k: impl Into<String>, v: AuditCheckDetails) -> Self
pub fn audit_details(self, k: impl Into<String>, v: AuditCheckDetails) -> Self
Adds a key-value pair to audit_details
.
To override the contents of this collection use set_audit_details
.
Detailed information about each check performed during this audit.
sourcepub fn set_audit_details(
self,
input: Option<HashMap<String, AuditCheckDetails>>
) -> Self
pub fn set_audit_details( self, input: Option<HashMap<String, AuditCheckDetails>> ) -> Self
Detailed information about each check performed during this audit.
sourcepub fn get_audit_details(&self) -> &Option<HashMap<String, AuditCheckDetails>>
pub fn get_audit_details(&self) -> &Option<HashMap<String, AuditCheckDetails>>
Detailed information about each check performed during this audit.
sourcepub fn build(self) -> DescribeAuditTaskOutput
pub fn build(self) -> DescribeAuditTaskOutput
Consumes the builder and constructs a DescribeAuditTaskOutput
.
Trait Implementations§
source§impl Clone for DescribeAuditTaskOutputBuilder
impl Clone for DescribeAuditTaskOutputBuilder
source§fn clone(&self) -> DescribeAuditTaskOutputBuilder
fn clone(&self) -> DescribeAuditTaskOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeAuditTaskOutputBuilder
impl Default for DescribeAuditTaskOutputBuilder
source§fn default() -> DescribeAuditTaskOutputBuilder
fn default() -> DescribeAuditTaskOutputBuilder
source§impl PartialEq for DescribeAuditTaskOutputBuilder
impl PartialEq for DescribeAuditTaskOutputBuilder
source§fn eq(&self, other: &DescribeAuditTaskOutputBuilder) -> bool
fn eq(&self, other: &DescribeAuditTaskOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.