Struct aws_sdk_auditmanager::types::builders::ControlCommentBuilder
source · #[non_exhaustive]pub struct ControlCommentBuilder { /* private fields */ }
Expand description
A builder for ControlComment
.
Implementations§
source§impl ControlCommentBuilder
impl ControlCommentBuilder
The name of the user who authored the comment.
The name of the user who authored the comment.
The name of the user who authored the comment.
sourcepub fn comment_body(self, input: impl Into<String>) -> Self
pub fn comment_body(self, input: impl Into<String>) -> Self
The body text of a control comment.
sourcepub fn set_comment_body(self, input: Option<String>) -> Self
pub fn set_comment_body(self, input: Option<String>) -> Self
The body text of a control comment.
sourcepub fn get_comment_body(&self) -> &Option<String>
pub fn get_comment_body(&self) -> &Option<String>
The body text of a control comment.
sourcepub fn posted_date(self, input: DateTime) -> Self
pub fn posted_date(self, input: DateTime) -> Self
The time when the comment was posted.
sourcepub fn set_posted_date(self, input: Option<DateTime>) -> Self
pub fn set_posted_date(self, input: Option<DateTime>) -> Self
The time when the comment was posted.
sourcepub fn get_posted_date(&self) -> &Option<DateTime>
pub fn get_posted_date(&self) -> &Option<DateTime>
The time when the comment was posted.
sourcepub fn build(self) -> ControlComment
pub fn build(self) -> ControlComment
Consumes the builder and constructs a ControlComment
.
Trait Implementations§
source§impl Clone for ControlCommentBuilder
impl Clone for ControlCommentBuilder
source§fn clone(&self) -> ControlCommentBuilder
fn clone(&self) -> ControlCommentBuilder
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 ControlCommentBuilder
impl Debug for ControlCommentBuilder
source§impl Default for ControlCommentBuilder
impl Default for ControlCommentBuilder
source§fn default() -> ControlCommentBuilder
fn default() -> ControlCommentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ControlCommentBuilder
impl PartialEq for ControlCommentBuilder
source§fn eq(&self, other: &ControlCommentBuilder) -> bool
fn eq(&self, other: &ControlCommentBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ControlCommentBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ControlCommentBuilder
impl Send for ControlCommentBuilder
impl Sync for ControlCommentBuilder
impl Unpin for ControlCommentBuilder
impl UnwindSafe for ControlCommentBuilder
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> 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>
Creates a shared type from an unshared type.