Interface NodegroupResources.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NodegroupResources.Builder,,NodegroupResources> SdkBuilder<NodegroupResources.Builder,,NodegroupResources> SdkPojo
- Enclosing class:
NodegroupResources
public static interface NodegroupResources.Builder
extends SdkPojo, CopyableBuilder<NodegroupResources.Builder,NodegroupResources>
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups) The Auto Scaling groups associated with the node group.autoScalingGroups(Consumer<AutoScalingGroup.Builder>... autoScalingGroups) The Auto Scaling groups associated with the node group.autoScalingGroups(AutoScalingGroup... autoScalingGroups) The Auto Scaling groups associated with the node group.remoteAccessSecurityGroup(String remoteAccessSecurityGroup) The remote access security group associated with the node group.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, sdkFields
-
Method Details
-
autoScalingGroups
The Auto Scaling groups associated with the node group.
- Parameters:
autoScalingGroups- The Auto Scaling groups associated with the node group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroups
The Auto Scaling groups associated with the node group.
- Parameters:
autoScalingGroups- The Auto Scaling groups associated with the node group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroups
NodegroupResources.Builder autoScalingGroups(Consumer<AutoScalingGroup.Builder>... autoScalingGroups) The Auto Scaling groups associated with the node group.
This is a convenience method that creates an instance of theAutoScalingGroup.Builderavoiding the need to create one manually viaAutoScalingGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoScalingGroups(List<AutoScalingGroup>).- Parameters:
autoScalingGroups- a consumer that will call methods onAutoScalingGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remoteAccessSecurityGroup
The remote access security group associated with the node group. This security group controls SSH access to the nodes.
- Parameters:
remoteAccessSecurityGroup- The remote access security group associated with the node group. This security group controls SSH access to the nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-