Interface DocumentReviewerResponseSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentReviewerResponseSource.Builder,DocumentReviewerResponseSource>,SdkBuilder<DocumentReviewerResponseSource.Builder,DocumentReviewerResponseSource>,SdkPojo
- Enclosing class:
- DocumentReviewerResponseSource
public static interface DocumentReviewerResponseSource.Builder extends SdkPojo, CopyableBuilder<DocumentReviewerResponseSource.Builder,DocumentReviewerResponseSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentReviewerResponseSource.Buildercomment(Collection<DocumentReviewCommentSource> comment)The comment entered by a reviewer as part of their document review response.DocumentReviewerResponseSource.Buildercomment(Consumer<DocumentReviewCommentSource.Builder>... comment)The comment entered by a reviewer as part of their document review response.DocumentReviewerResponseSource.Buildercomment(DocumentReviewCommentSource... comment)The comment entered by a reviewer as part of their document review response.DocumentReviewerResponseSource.BuildercreateTime(Instant createTime)The date and time that a reviewer entered a response to a document review request.DocumentReviewerResponseSource.Builderreviewer(String reviewer)The user in your organization assigned to review a document request.DocumentReviewerResponseSource.BuilderreviewStatus(String 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.DocumentReviewerResponseSource.BuilderreviewStatus(ReviewStatus 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.DocumentReviewerResponseSource.BuilderupdatedTime(Instant updatedTime)The date and time that a reviewer last updated a response to a document review request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
createTime
DocumentReviewerResponseSource.Builder createTime(Instant createTime)
The date and time that a reviewer entered a response to a document review request.
- Parameters:
createTime- The date and time that a reviewer entered a response to a document review request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedTime
DocumentReviewerResponseSource.Builder updatedTime(Instant updatedTime)
The date and time that a reviewer last updated a response to a document review request.
- Parameters:
updatedTime- The date and time that a reviewer last updated a response to a document review request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reviewStatus
DocumentReviewerResponseSource.Builder reviewStatus(String 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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReviewStatus,ReviewStatus
-
reviewStatus
DocumentReviewerResponseSource.Builder reviewStatus(ReviewStatus 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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReviewStatus,ReviewStatus
-
comment
DocumentReviewerResponseSource.Builder comment(Collection<DocumentReviewCommentSource> comment)
The comment entered by a reviewer as part of their document review response.
- Parameters:
comment- The comment entered by a reviewer as part of their document review response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
DocumentReviewerResponseSource.Builder comment(DocumentReviewCommentSource... comment)
The comment entered by a reviewer as part of their document review response.
- Parameters:
comment- The comment entered by a reviewer as part of their document review response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
DocumentReviewerResponseSource.Builder comment(Consumer<DocumentReviewCommentSource.Builder>... comment)
The comment entered by a reviewer as part of their document review response.
This is a convenience method that creates an instance of theDocumentReviewCommentSource.Builderavoiding the need to create one manually viaDocumentReviewCommentSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#comment(List.) - Parameters:
comment- a consumer that will call methods onDocumentReviewCommentSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#comment(java.util.Collection)
-
reviewer
DocumentReviewerResponseSource.Builder reviewer(String reviewer)
The user in your organization assigned to review a document request.
- Parameters:
reviewer- The user in your organization assigned to review a document request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-