Interface BatchGetCommentError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchGetCommentError.Builder,,BatchGetCommentError> SdkBuilder<BatchGetCommentError.Builder,,BatchGetCommentError> SdkPojo
- Enclosing class:
BatchGetCommentError
@Mutable
@NotThreadSafe
public static interface BatchGetCommentError.Builder
extends SdkPojo, CopyableBuilder<BatchGetCommentError.Builder,BatchGetCommentError>
-
Method Summary
Modifier and TypeMethodDescriptionThe error code.default BatchGetCommentError.Builderkey(Consumer<CommentKey.Builder> key) The identifier of the comment that the operation could not retrieve.key(CommentKey key) The identifier of the comment that the operation could not retrieve.A human-readable explanation of why the operation could not return this comment.Methods 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, sdkFields
-
Method Details
-
key
The identifier of the comment that the operation could not retrieve.
- Parameters:
key- The identifier of the comment that the operation could not retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
The identifier of the comment that the operation could not retrieve.
This is a convenience method that creates an instance of theCommentKey.Builderavoiding the need to create one manually viaCommentKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokey(CommentKey).- Parameters:
key- a consumer that will call methods onCommentKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
The error code. Known values: NOT_FOUND, ACCESS_DENIED, THROTTLED, INTERNAL_ERROR.
- Parameters:
code- The error code. Known values: NOT_FOUND, ACCESS_DENIED, THROTTLED, INTERNAL_ERROR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
A human-readable explanation of why the operation could not return this comment. Intended for display and logging; match on
codefor programmatic handling.- Parameters:
message- A human-readable explanation of why the operation could not return this comment. Intended for display and logging; match oncodefor programmatic handling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-