#[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 ==
.impl StructuralPartialEq for DocumentReviewerResponseSourceBuilder
Auto Trait Implementations§
impl Freeze for DocumentReviewerResponseSourceBuilder
impl RefUnwindSafe for DocumentReviewerResponseSourceBuilder
impl Send for DocumentReviewerResponseSourceBuilder
impl Sync for DocumentReviewerResponseSourceBuilder
impl Unpin for DocumentReviewerResponseSourceBuilder
impl UnwindSafe for DocumentReviewerResponseSourceBuilder
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
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)
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>
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>
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 more