Struct aws_sdk_iot::types::builders::AuditTaskMetadataBuilder
source · #[non_exhaustive]pub struct AuditTaskMetadataBuilder { /* private fields */ }
Expand description
A builder for AuditTaskMetadata
.
Implementations§
source§impl AuditTaskMetadataBuilder
impl AuditTaskMetadataBuilder
sourcepub fn set_task_id(self, input: Option<String>) -> Self
pub fn set_task_id(self, input: Option<String>) -> Self
The ID of this audit.
sourcepub fn task_status(self, input: AuditTaskStatus) -> Self
pub fn task_status(self, input: AuditTaskStatus) -> Self
The status of this 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 this 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 this audit. One of "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 this audit. One of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
sourcepub fn build(self) -> AuditTaskMetadata
pub fn build(self) -> AuditTaskMetadata
Consumes the builder and constructs a AuditTaskMetadata
.
Trait Implementations§
source§impl Clone for AuditTaskMetadataBuilder
impl Clone for AuditTaskMetadataBuilder
source§fn clone(&self) -> AuditTaskMetadataBuilder
fn clone(&self) -> AuditTaskMetadataBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AuditTaskMetadataBuilder
impl Debug for AuditTaskMetadataBuilder
source§impl Default for AuditTaskMetadataBuilder
impl Default for AuditTaskMetadataBuilder
source§fn default() -> AuditTaskMetadataBuilder
fn default() -> AuditTaskMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AuditTaskMetadataBuilder> for AuditTaskMetadataBuilder
impl PartialEq<AuditTaskMetadataBuilder> for AuditTaskMetadataBuilder
source§fn eq(&self, other: &AuditTaskMetadataBuilder) -> bool
fn eq(&self, other: &AuditTaskMetadataBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.