Interface ResponseItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResponseItem.Builder,,ResponseItem> SdkBuilder<ResponseItem.Builder,,ResponseItem> SdkPojo
- Enclosing class:
ResponseItem
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResponseItem.BuildercommentMetadata(Consumer<CommentMetadata.Builder> commentMetadata) The comment that matches the query.commentMetadata(CommentMetadata commentMetadata) The comment that matches the query.default ResponseItem.BuilderdocumentMetadata(Consumer<DocumentMetadata.Builder> documentMetadata) The document that matches the query.documentMetadata(DocumentMetadata documentMetadata) The document that matches the query.default ResponseItem.BuilderdocumentVersionMetadata(Consumer<DocumentVersionMetadata.Builder> documentVersionMetadata) The document version that matches the metadata.documentVersionMetadata(DocumentVersionMetadata documentVersionMetadata) The document version that matches the metadata.default ResponseItem.BuilderfolderMetadata(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
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
-
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.Builderavoiding the need to create one manually viaDocumentMetadata.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFolderMetadata.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCommentMetadata.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDocumentVersionMetadata.builder().When the
Consumercompletes,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:
-