Interface NodeType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NodeType.Builder,,NodeType> SdkBuilder<NodeType.Builder,,NodeType> SdkPojo
- Enclosing class:
- NodeType
@Mutable
@NotThreadSafe
public static interface NodeType.Builder
extends SdkPojo, CopyableBuilder<NodeType.Builder,NodeType>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NodeType.Builderinstance(Consumer<InstanceInfo.Builder> instance) Information about a specific managed node.instance(InstanceInfo instance) Information about a specific managed node.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
-
instance
Information about a specific managed node.
- Parameters:
instance- Information about a specific managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instance
Information about a specific managed node.
This is a convenience method that creates an instance of theInstanceInfo.Builderavoiding the need to create one manually viaInstanceInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstance(InstanceInfo).- Parameters:
instance- a consumer that will call methods onInstanceInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-