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 get_task_id(&self) -> &Option<String>
pub fn get_task_id(&self) -> &Option<String>
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 get_task_status(&self) -> &Option<AuditTaskStatus>
pub fn get_task_status(&self) -> &Option<AuditTaskStatus>
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 get_task_type(&self) -> &Option<AuditTaskType>
pub fn get_task_type(&self) -> &Option<AuditTaskType>
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 for AuditTaskMetadataBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for AuditTaskMetadataBuilder
Auto Trait Implementations§
impl Freeze for AuditTaskMetadataBuilder
impl RefUnwindSafe for AuditTaskMetadataBuilder
impl Send for AuditTaskMetadataBuilder
impl Sync for AuditTaskMetadataBuilder
impl Unpin for AuditTaskMetadataBuilder
impl UnwindSafe for AuditTaskMetadataBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.