Interface NodeOption.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NodeOption.Builder,
,NodeOption> SdkBuilder<NodeOption.Builder,
,NodeOption> SdkPojo
- Enclosing class:
NodeOption
@Mutable
@NotThreadSafe
public static interface NodeOption.Builder
extends SdkPojo, CopyableBuilder<NodeOption.Builder,NodeOption>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NodeOption.Builder
nodeConfig
(Consumer<NodeConfig.Builder> nodeConfig) Configuration options for defining the setup of any node type.nodeConfig
(NodeConfig nodeConfig) Configuration options for defining the setup of any node type.Defines the type of node, such as coordinating nodes.nodeType
(NodeOptionsNodeType nodeType) Defines the type of node, such as coordinating nodes.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, sdkFieldNameToField, sdkFields
-
Method Details
-
nodeType
Defines the type of node, such as coordinating nodes.
- Parameters:
nodeType
- Defines the type of node, such as coordinating nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodeType
Defines the type of node, such as coordinating nodes.
- Parameters:
nodeType
- Defines the type of node, such as coordinating nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodeConfig
Configuration options for defining the setup of any node type.
- Parameters:
nodeConfig
- Configuration options for defining the setup of any node type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeConfig
Configuration options for defining the setup of any node type.
This is a convenience method that creates an instance of theNodeConfig.Builder
avoiding the need to create one manually viaNodeConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodeConfig(NodeConfig)
.- Parameters:
nodeConfig
- a consumer that will call methods onNodeConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-