Interface NodeOption.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<NodeOption.Builder,NodeOption>
,SdkBuilder<NodeOption.Builder,NodeOption>
,SdkPojo
- Enclosing class:
- NodeOption
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.Builder
nodeConfig(Consumer<NodeConfig.Builder> nodeConfig)
Container for specifying configuration of any node type.NodeOption.Builder
nodeConfig(NodeConfig nodeConfig)
Container for specifying configuration of any node type.NodeOption.Builder
nodeType(String nodeType)
Container for node type like coordinating.NodeOption.Builder
nodeType(NodeOptionsNodeType nodeType)
Container for node type like coordinating.-
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
-
nodeType
NodeOption.Builder nodeType(String nodeType)
Container for node type like coordinating.
- Parameters:
nodeType
- Container for node type like coordinating.- 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)
Container for node type like coordinating.
- Parameters:
nodeType
- Container for node type like coordinating.- 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)
Container for specifying configuration of any node type.
- Parameters:
nodeConfig
- Container for specifying configuration 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)
Container for specifying configuration 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:
nodeConfig(NodeConfig)
-
-