Interface NodeRangeProperty.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NodeRangeProperty.Builder,NodeRangeProperty>,SdkBuilder<NodeRangeProperty.Builder,NodeRangeProperty>,SdkPojo
- Enclosing class:
- NodeRangeProperty
public static interface NodeRangeProperty.Builder extends SdkPojo, CopyableBuilder<NodeRangeProperty.Builder,NodeRangeProperty>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NodeRangeProperty.Buildercontainer(Consumer<ContainerProperties.Builder> container)The container details for the node range.NodeRangeProperty.Buildercontainer(ContainerProperties container)The container details for the node range.NodeRangeProperty.BuildertargetNodes(String targetNodes)The range of nodes, using node index values.-
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
-
targetNodes
NodeRangeProperty.Builder targetNodes(String targetNodes)
The range of nodes, using node index values. A range of
0:3indicates nodes with index values of0through3. If the starting range value is omitted (:n), then0is used to start the range. If the ending range value is omitted (n:), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You can nest node ranges (for example,0:10and4:5). In this case, the4:5range properties override the0:10properties.- Parameters:
targetNodes- The range of nodes, using node index values. A range of0:3indicates nodes with index values of0through3. If the starting range value is omitted (:n), then0is used to start the range. If the ending range value is omitted (n:), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You can nest node ranges (for example,0:10and4:5). In this case, the4:5range properties override the0:10properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
container
NodeRangeProperty.Builder container(ContainerProperties container)
The container details for the node range.
- Parameters:
container- The container details for the node range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
container
default NodeRangeProperty.Builder container(Consumer<ContainerProperties.Builder> container)
The container details for the node range.
This is a convenience method that creates an instance of theContainerProperties.Builderavoiding the need to create one manually viaContainerProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainer(ContainerProperties).- Parameters:
container- a consumer that will call methods onContainerProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
container(ContainerProperties)
-
-