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.
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 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 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<ControlCommentBuilder> for ControlCommentBuilder
impl PartialEq<ControlCommentBuilder> 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 ==.