Interface BlockReference.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BlockReference.Builder,BlockReference>,SdkBuilder<BlockReference.Builder,BlockReference>,SdkPojo
- Enclosing class:
- BlockReference
public static interface BlockReference.Builder extends SdkPojo, CopyableBuilder<BlockReference.Builder,BlockReference>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlockReference.BuilderbeginOffset(Integer beginOffset)Offset of the start of the block within its parent block.BlockReference.BuilderblockId(String blockId)Unique identifier for the block.BlockReference.BuilderchildBlocks(Collection<ChildBlock> childBlocks)List of child blocks within this block.BlockReference.BuilderchildBlocks(Consumer<ChildBlock.Builder>... childBlocks)List of child blocks within this block.BlockReference.BuilderchildBlocks(ChildBlock... childBlocks)List of child blocks within this block.BlockReference.BuilderendOffset(Integer endOffset)Offset of the end of the block within its parent block.-
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
-
blockId
BlockReference.Builder blockId(String blockId)
Unique identifier for the block.
- Parameters:
blockId- Unique identifier for the block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beginOffset
BlockReference.Builder beginOffset(Integer beginOffset)
Offset of the start of the block within its parent block.
- Parameters:
beginOffset- Offset of the start of the block within its parent block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endOffset
BlockReference.Builder endOffset(Integer endOffset)
Offset of the end of the block within its parent block.
- Parameters:
endOffset- Offset of the end of the block within its parent block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
childBlocks
BlockReference.Builder childBlocks(Collection<ChildBlock> childBlocks)
List of child blocks within this block.
- Parameters:
childBlocks- List of child blocks within this block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
childBlocks
BlockReference.Builder childBlocks(ChildBlock... childBlocks)
List of child blocks within this block.
- Parameters:
childBlocks- List of child blocks within this block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
childBlocks
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.Builderavoiding the need to create one manually viaChildBlock.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#childBlocks(List.) - Parameters:
childBlocks- a consumer that will call methods onChildBlock.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#childBlocks(java.util.Collection)
-
-