Interface ResponseItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResponseItem.Builder,
,ResponseItem> SdkBuilder<ResponseItem.Builder,
,ResponseItem> SdkPojo
- Enclosing class:
ResponseItem
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResponseItem.Builder
commentMetadata
(Consumer<CommentMetadata.Builder> commentMetadata) The comment that matches the query.commentMetadata
(CommentMetadata commentMetadata) The comment that matches the query.default ResponseItem.Builder
documentMetadata
(Consumer<DocumentMetadata.Builder> documentMetadata) The document that matches the query.documentMetadata
(DocumentMetadata documentMetadata) The document that matches the query.default ResponseItem.Builder
documentVersionMetadata
(Consumer<DocumentVersionMetadata.Builder> documentVersionMetadata) The document version that matches the metadata.documentVersionMetadata
(DocumentVersionMetadata documentVersionMetadata) The document version that matches the metadata.default ResponseItem.Builder
folderMetadata
(Consumer<FolderMetadata.Builder> folderMetadata) The folder that matches the query.folderMetadata
(FolderMetadata folderMetadata) The folder that matches the query.resourceType
(String resourceType) The type of item being returned.resourceType
(ResponseItemType resourceType) The type of item being returned.The webUrl of the item being returned.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, sdkFields
-
Method Details
-
resourceType
The type of item being returned.
- Parameters:
resourceType
- The type of item being returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of item being returned.
- Parameters:
resourceType
- The type of item being returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
webUrl
The webUrl of the item being returned.
- Parameters:
webUrl
- The webUrl of the item being returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentMetadata
The document that matches the query.
- Parameters:
documentMetadata
- The document that matches the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentMetadata
The document that matches the query.
This is a convenience method that creates an instance of theDocumentMetadata.Builder
avoiding the need to create one manually viaDocumentMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentMetadata(DocumentMetadata)
.- Parameters:
documentMetadata
- a consumer that will call methods onDocumentMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
folderMetadata
The folder that matches the query.
- Parameters:
folderMetadata
- The folder that matches the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folderMetadata
The folder that matches the query.
This is a convenience method that creates an instance of theFolderMetadata.Builder
avoiding the need to create one manually viaFolderMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofolderMetadata(FolderMetadata)
.- Parameters:
folderMetadata
- a consumer that will call methods onFolderMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
commentMetadata
The comment that matches the query.
- Parameters:
commentMetadata
- The comment that matches the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commentMetadata
The comment that matches the query.
This is a convenience method that creates an instance of theCommentMetadata.Builder
avoiding the need to create one manually viaCommentMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommentMetadata(CommentMetadata)
.- Parameters:
commentMetadata
- a consumer that will call methods onCommentMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentVersionMetadata
The document version that matches the metadata.
- Parameters:
documentVersionMetadata
- The document version that matches the metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentVersionMetadata
default ResponseItem.Builder documentVersionMetadata(Consumer<DocumentVersionMetadata.Builder> documentVersionMetadata) The document version that matches the metadata.
This is a convenience method that creates an instance of theDocumentVersionMetadata.Builder
avoiding the need to create one manually viaDocumentVersionMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentVersionMetadata(DocumentVersionMetadata)
.- Parameters:
documentVersionMetadata
- a consumer that will call methods onDocumentVersionMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-