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
Modifier and TypeMethodDescriptiondefault NodeOption.BuildernodeConfig(Consumer<NodeConfig.Builder> nodeConfig) Container for specifying configuration of any node type.nodeConfig(NodeConfig nodeConfig) Container for specifying configuration of any node type.Container for node type like coordinating.nodeType(NodeOptionsNodeType nodeType) Container for node type like coordinating.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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:
-
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
Container for specifying configuration 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:
-