Interface DocumentReviews.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentReviews.Builder,DocumentReviews>
,SdkBuilder<DocumentReviews.Builder,DocumentReviews>
,SdkPojo
- Enclosing class:
- DocumentReviews
public static interface DocumentReviews.Builder extends SdkPojo, CopyableBuilder<DocumentReviews.Builder,DocumentReviews>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentReviews.Builder
action(String action)
The action to take on a document approval review request.DocumentReviews.Builder
action(DocumentReviewAction action)
The action to take on a document approval review request.DocumentReviews.Builder
comment(Collection<DocumentReviewCommentSource> comment)
A comment entered by a user in your organization about the document review request.DocumentReviews.Builder
comment(Consumer<DocumentReviewCommentSource.Builder>... comment)
A comment entered by a user in your organization about the document review request.DocumentReviews.Builder
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 Detail
-
action
DocumentReviews.Builder action(String 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:
DocumentReviewAction
,DocumentReviewAction
-
action
DocumentReviews.Builder action(DocumentReviewAction 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:
DocumentReviewAction
,DocumentReviewAction
-
comment
DocumentReviews.Builder comment(Collection<DocumentReviewCommentSource> 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
DocumentReviews.Builder comment(DocumentReviewCommentSource... 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
DocumentReviews.Builder comment(Consumer<DocumentReviewCommentSource.Builder>... 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 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
)
-
-