public static interface NodeRangeProperty.Builder extends SdkPojo, CopyableBuilder<NodeRangeProperty.Builder,NodeRangeProperty>
Modifier and Type | Method and Description |
---|---|
default NodeRangeProperty.Builder |
container(Consumer<ContainerProperties.Builder> container)
The container details for the node range.
|
NodeRangeProperty.Builder |
container(ContainerProperties container)
The container details for the node range.
|
NodeRangeProperty.Builder |
targetNodes(String targetNodes)
The range of nodes, using node index values.
|
copy
applyMutation, build
NodeRangeProperty.Builder targetNodes(String targetNodes)
The range of nodes, using node index values. A range of 0:3
indicates nodes with index values of
0
through 3
. If the starting range value is omitted (:n
), then
0
is 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 may nest node ranges, for example 0:10 and 4:5, in which case the 4:5 range properties
override the 0:10 properties.
targetNodes
- The range of nodes, using node index values. A range of 0:3
indicates nodes with index
values of 0
through 3
. If the starting range value is omitted (
:n
), then 0
is 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 may nest node ranges, for example 0:10 and 4:5, in
which case the 4:5 range properties override the 0:10 properties.NodeRangeProperty.Builder container(ContainerProperties container)
The container details for the node range.
container
- The container details for the node range.default NodeRangeProperty.Builder container(Consumer<ContainerProperties.Builder> container)
The container details for the node range.
This is a convenience that creates an instance of theContainerProperties.Builder
avoiding the need
to create one manually via ContainerProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to container(ContainerProperties)
.container
- a consumer that will call methods on ContainerProperties.Builder
container(ContainerProperties)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.