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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NodeOption.BuildernodeConfig(Consumer<NodeConfig.Builder> nodeConfig)Configuration options for defining the setup of any node type.NodeOption.BuildernodeConfig(NodeConfig nodeConfig)Configuration options for defining the setup of any node type.NodeOption.BuildernodeType(String nodeType)Defines the type of node, such as coordinating nodes.NodeOption.BuildernodeType(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 Detail
-
nodeType
NodeOption.Builder nodeType(String 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:
NodeOptionsNodeType,NodeOptionsNodeType
-
nodeType
NodeOption.Builder nodeType(NodeOptionsNodeType 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:
NodeOptionsNodeType,NodeOptionsNodeType
-
nodeConfig
NodeOption.Builder nodeConfig(NodeConfig 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
default NodeOption.Builder nodeConfig(Consumer<NodeConfig.Builder> nodeConfig)
Configuration options for defining the setup of any node type.
This is a convenience method that creates an instance of theNodeConfig.Builderavoiding the need to create one manually viaNodeConfig.builder().When the
Consumercompletes,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:
nodeConfig(NodeConfig)
-
-