Interface NodePropertyOverride.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NodePropertyOverride.Builder,
,NodePropertyOverride> SdkBuilder<NodePropertyOverride.Builder,
,NodePropertyOverride> SdkPojo
- Enclosing class:
NodePropertyOverride
public static interface NodePropertyOverride.Builder
extends SdkPojo, CopyableBuilder<NodePropertyOverride.Builder,NodePropertyOverride>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NodePropertyOverride.Builder
containerOverrides
(Consumer<ContainerOverrides.Builder> containerOverrides) The overrides that are sent to a node range.containerOverrides
(ContainerOverrides containerOverrides) The overrides that are sent to a node range.targetNodes
(String targetNodes) The range of nodes, using node index values, that's used to override.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 Details
-
targetNodes
The range of nodes, using node index values, that's used to override. A range of
0:3
indicates nodes with index values of0
through3
. If the starting range value is omitted (:n
), then0
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.- Parameters:
targetNodes
- The range of nodes, using node index values, that's used to override. A range of0:3
indicates nodes with index values of0
through3
. If the starting range value is omitted (:n
), then0
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerOverrides
The overrides that are sent to a node range.
- Parameters:
containerOverrides
- The overrides that are sent to a node range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerOverrides
default NodePropertyOverride.Builder containerOverrides(Consumer<ContainerOverrides.Builder> containerOverrides) The overrides that are sent to a node range.
This is a convenience method that creates an instance of theContainerOverrides.Builder
avoiding the need to create one manually viaContainerOverrides.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainerOverrides(ContainerOverrides)
.- Parameters:
containerOverrides
- a consumer that will call methods onContainerOverrides.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-