#[non_exhaustive]pub struct DocumentReviewerResponseSourceBuilder { /* private fields */ }
Expand description
A builder for DocumentReviewerResponseSource
.
Implementations§
source§impl DocumentReviewerResponseSourceBuilder
impl DocumentReviewerResponseSourceBuilder
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The date and time that a reviewer entered a response to a document review request.
sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
The date and time that a reviewer entered a response to a document review request.
sourcepub fn get_create_time(&self) -> &Option<DateTime>
pub fn get_create_time(&self) -> &Option<DateTime>
The date and time that a reviewer entered a response to a document review request.
sourcepub fn updated_time(self, input: DateTime) -> Self
pub fn updated_time(self, input: DateTime) -> Self
The date and time that a reviewer last updated a response to a document review request.
sourcepub fn set_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_updated_time(self, input: Option<DateTime>) -> Self
The date and time that a reviewer last updated a response to a document review request.
sourcepub fn get_updated_time(&self) -> &Option<DateTime>
pub fn get_updated_time(&self) -> &Option<DateTime>
The date and time that a reviewer last updated a response to a document review request.
sourcepub fn review_status(self, input: ReviewStatus) -> Self
pub fn review_status(self, input: ReviewStatus) -> Self
The current review status of a new custom SSM document created by a member of your organization, or of the latest version of an existing SSM document.
Only one version of a document can be in the APPROVED state at a time. When a new version is approved, the status of the previous version changes to REJECTED.
Only one version of a document can be in review, or PENDING, at a time.
sourcepub fn set_review_status(self, input: Option<ReviewStatus>) -> Self
pub fn set_review_status(self, input: Option<ReviewStatus>) -> Self
The current review status of a new custom SSM document created by a member of your organization, or of the latest version of an existing SSM document.
Only one version of a document can be in the APPROVED state at a time. When a new version is approved, the status of the previous version changes to REJECTED.
Only one version of a document can be in review, or PENDING, at a time.
sourcepub fn get_review_status(&self) -> &Option<ReviewStatus>
pub fn get_review_status(&self) -> &Option<ReviewStatus>
The current review status of a new custom SSM document created by a member of your organization, or of the latest version of an existing SSM document.
Only one version of a document can be in the APPROVED state at a time. When a new version is approved, the status of the previous version changes to REJECTED.
Only one version of a document can be in review, or PENDING, at a time.
sourcepub fn comment(self, input: DocumentReviewCommentSource) -> Self
pub fn comment(self, input: DocumentReviewCommentSource) -> Self
Appends an item to comment
.
To override the contents of this collection use set_comment
.
The comment entered by a reviewer as part of their document review response.
sourcepub fn set_comment(
self,
input: Option<Vec<DocumentReviewCommentSource>>
) -> Self
pub fn set_comment( self, input: Option<Vec<DocumentReviewCommentSource>> ) -> Self
The comment entered by a reviewer as part of their document review response.
sourcepub fn get_comment(&self) -> &Option<Vec<DocumentReviewCommentSource>>
pub fn get_comment(&self) -> &Option<Vec<DocumentReviewCommentSource>>
The comment entered by a reviewer as part of their document review response.
sourcepub fn reviewer(self, input: impl Into<String>) -> Self
pub fn reviewer(self, input: impl Into<String>) -> Self
The user in your organization assigned to review a document request.
sourcepub fn set_reviewer(self, input: Option<String>) -> Self
pub fn set_reviewer(self, input: Option<String>) -> Self
The user in your organization assigned to review a document request.
sourcepub fn get_reviewer(&self) -> &Option<String>
pub fn get_reviewer(&self) -> &Option<String>
The user in your organization assigned to review a document request.
sourcepub fn build(self) -> DocumentReviewerResponseSource
pub fn build(self) -> DocumentReviewerResponseSource
Consumes the builder and constructs a DocumentReviewerResponseSource
.
Trait Implementations§
source§impl Clone for DocumentReviewerResponseSourceBuilder
impl Clone for DocumentReviewerResponseSourceBuilder
source§fn clone(&self) -> DocumentReviewerResponseSourceBuilder
fn clone(&self) -> DocumentReviewerResponseSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DocumentReviewerResponseSourceBuilder
impl Default for DocumentReviewerResponseSourceBuilder
source§fn default() -> DocumentReviewerResponseSourceBuilder
fn default() -> DocumentReviewerResponseSourceBuilder
source§impl PartialEq for DocumentReviewerResponseSourceBuilder
impl PartialEq for DocumentReviewerResponseSourceBuilder
source§fn eq(&self, other: &DocumentReviewerResponseSourceBuilder) -> bool
fn eq(&self, other: &DocumentReviewerResponseSourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.