Interface DocumentReviews.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentReviews.Builder,
,DocumentReviews> SdkBuilder<DocumentReviews.Builder,
,DocumentReviews> SdkPojo
- Enclosing class:
DocumentReviews
@Mutable
@NotThreadSafe
public static interface DocumentReviews.Builder
extends SdkPojo, CopyableBuilder<DocumentReviews.Builder,DocumentReviews>
-
Method Summary
Modifier and TypeMethodDescriptionThe action to take on a document approval review request.action
(DocumentReviewAction action) The action to take on a document approval review request.comment
(Collection<DocumentReviewCommentSource> comment) A comment entered by a user in your organization about the document review request.comment
(Consumer<DocumentReviewCommentSource.Builder>... comment) A comment entered by a user in your organization about the document review request.comment
(DocumentReviewCommentSource... comment) A comment entered by a user in your organization about the 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 Details
-
action
The action to take on a document approval review request.
- Parameters:
action
- The action to take on a document approval review request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action to take on a document approval review request.
- Parameters:
action
- The action to take on a document approval review request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
comment
A comment entered by a user in your organization about the document review request.
- Parameters:
comment
- A comment entered by a user in your organization about the document review request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
A comment entered by a user in your organization about the document review request.
- Parameters:
comment
- A comment entered by a user in your organization about the document review request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
A comment entered by a user in your organization about the document review request.
This is a convenience method that creates an instance of theDocumentReviewCommentSource.Builder
avoiding the need to create one manually viaDocumentReviewCommentSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomment(List<DocumentReviewCommentSource>)
.- 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:
-