Interface ResponseItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResponseItem.Builder,ResponseItem>,SdkBuilder<ResponseItem.Builder,ResponseItem>,SdkPojo
- Enclosing class:
- ResponseItem
public static interface ResponseItem.Builder extends SdkPojo, CopyableBuilder<ResponseItem.Builder,ResponseItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ResponseItem.BuildercommentMetadata(Consumer<CommentMetadata.Builder> commentMetadata)The comment that matches the query.ResponseItem.BuildercommentMetadata(CommentMetadata commentMetadata)The comment that matches the query.default ResponseItem.BuilderdocumentMetadata(Consumer<DocumentMetadata.Builder> documentMetadata)The document that matches the query.ResponseItem.BuilderdocumentMetadata(DocumentMetadata documentMetadata)The document that matches the query.default ResponseItem.BuilderdocumentVersionMetadata(Consumer<DocumentVersionMetadata.Builder> documentVersionMetadata)The document version that matches the metadata.ResponseItem.BuilderdocumentVersionMetadata(DocumentVersionMetadata documentVersionMetadata)The document version that matches the metadata.default ResponseItem.BuilderfolderMetadata(Consumer<FolderMetadata.Builder> folderMetadata)The folder that matches the query.ResponseItem.BuilderfolderMetadata(FolderMetadata folderMetadata)The folder that matches the query.ResponseItem.BuilderresourceType(String resourceType)The type of item being returned.ResponseItem.BuilderresourceType(ResponseItemType resourceType)The type of item being returned.ResponseItem.BuilderwebUrl(String webUrl)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 Detail
-
resourceType
ResponseItem.Builder resourceType(String 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:
ResponseItemType,ResponseItemType
-
resourceType
ResponseItem.Builder resourceType(ResponseItemType 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:
ResponseItemType,ResponseItemType
-
webUrl
ResponseItem.Builder webUrl(String 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
ResponseItem.Builder documentMetadata(DocumentMetadata 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
default ResponseItem.Builder documentMetadata(Consumer<DocumentMetadata.Builder> 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:
documentMetadata(DocumentMetadata)
-
folderMetadata
ResponseItem.Builder folderMetadata(FolderMetadata 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
default ResponseItem.Builder folderMetadata(Consumer<FolderMetadata.Builder> 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:
folderMetadata(FolderMetadata)
-
commentMetadata
ResponseItem.Builder commentMetadata(CommentMetadata 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
default ResponseItem.Builder commentMetadata(Consumer<CommentMetadata.Builder> 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:
commentMetadata(CommentMetadata)
-
documentVersionMetadata
ResponseItem.Builder documentVersionMetadata(DocumentVersionMetadata 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:
documentVersionMetadata(DocumentVersionMetadata)
-
-