public static interface BlockReference.Builder extends SdkPojo, CopyableBuilder<BlockReference.Builder,BlockReference>
| Modifier and Type | Method and Description |
|---|---|
BlockReference.Builder |
beginOffset(Integer beginOffset)
Offset of the start of the block within its parent block.
|
BlockReference.Builder |
blockId(String blockId)
Unique identifier for the block.
|
BlockReference.Builder |
childBlocks(ChildBlock... childBlocks)
List of child blocks within this block.
|
BlockReference.Builder |
childBlocks(Collection<ChildBlock> childBlocks)
List of child blocks within this block.
|
BlockReference.Builder |
childBlocks(Consumer<ChildBlock.Builder>... childBlocks)
List of child blocks within this block.
|
BlockReference.Builder |
endOffset(Integer endOffset)
Offset of the end of the block within its parent block.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBlockReference.Builder blockId(String blockId)
Unique identifier for the block.
blockId - Unique identifier for the block.BlockReference.Builder beginOffset(Integer beginOffset)
Offset of the start of the block within its parent block.
beginOffset - Offset of the start of the block within its parent block.BlockReference.Builder endOffset(Integer endOffset)
Offset of the end of the block within its parent block.
endOffset - Offset of the end of the block within its parent block.BlockReference.Builder childBlocks(Collection<ChildBlock> childBlocks)
List of child blocks within this block.
childBlocks - List of child blocks within this block.BlockReference.Builder childBlocks(ChildBlock... childBlocks)
List of child blocks within this block.
childBlocks - List of child blocks within this block.BlockReference.Builder childBlocks(Consumer<ChildBlock.Builder>... childBlocks)
List of child blocks within this block.
This is a convenience method that creates an instance of theChildBlock.Builder avoiding the need to create one
manually via ChildBlock.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #childBlocks(List.
childBlocks - a consumer that will call methods on
ChildBlock.Builder#childBlocks(java.util.Collection) Copyright © 2023. All rights reserved.