Interface BatchGetCommentResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetCommentResponse.Builder,,BatchGetCommentResponse> SdkBuilder<BatchGetCommentResponse.Builder,,BatchGetCommentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetCommentResponse
-
Method Summary
Modifier and TypeMethodDescriptioncomments(Collection<Comment> comments) The list of comments.comments(Consumer<Comment.Builder>... comments) The list of comments.The list of comments.errors(Collection<BatchGetCommentError> errors) The entries for requested comments that the operation could not return.errors(Consumer<BatchGetCommentError.Builder>... errors) The entries for requested comments that the operation could not return.errors(BatchGetCommentError... errors) The entries for requested comments that the operation could not return.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
comments
The list of comments.
- Parameters:
comments- The list of comments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comments
The list of comments.
- Parameters:
comments- The list of comments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comments
The list of comments.
This is a convenience method that creates an instance of theComment.Builderavoiding the need to create one manually viaComment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomments(List<Comment>).- Parameters:
comments- a consumer that will call methods onComment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
The entries for requested comments that the operation could not return. Empty when the operation returned all of them; a request in which every comment failed still succeeds.
- Parameters:
errors- The entries for requested comments that the operation could not return. Empty when the operation returned all of them; a request in which every comment failed still succeeds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The entries for requested comments that the operation could not return. Empty when the operation returned all of them; a request in which every comment failed still succeeds.
- Parameters:
errors- The entries for requested comments that the operation could not return. Empty when the operation returned all of them; a request in which every comment failed still succeeds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The entries for requested comments that the operation could not return. Empty when the operation returned all of them; a request in which every comment failed still succeeds.
This is a convenience method that creates an instance of theBatchGetCommentError.Builderavoiding the need to create one manually viaBatchGetCommentError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchGetCommentError>).- Parameters:
errors- a consumer that will call methods onBatchGetCommentError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-