public static interface Nodegroup.Builder extends SdkPojo, CopyableBuilder<Nodegroup.Builder,Nodegroup>
| Modifier and Type | Method and Description |
|---|---|
Nodegroup.Builder |
amiType(AMITypes amiType)
If the node group was deployed using a launch template with a custom AMI, then this is
CUSTOM. |
Nodegroup.Builder |
amiType(String amiType)
If the node group was deployed using a launch template with a custom AMI, then this is
CUSTOM. |
Nodegroup.Builder |
capacityType(CapacityTypes capacityType)
The capacity type of your managed node group.
|
Nodegroup.Builder |
capacityType(String capacityType)
The capacity type of your managed node group.
|
Nodegroup.Builder |
clusterName(String clusterName)
The name of the cluster that the managed node group resides in.
|
Nodegroup.Builder |
createdAt(Instant createdAt)
The Unix epoch timestamp in seconds for when the managed node group was created.
|
Nodegroup.Builder |
diskSize(Integer diskSize)
If the node group wasn't deployed with a launch template, then this is the disk size in the node group
configuration.
|
default Nodegroup.Builder |
health(Consumer<NodegroupHealth.Builder> health)
The health status of the node group.
|
Nodegroup.Builder |
health(NodegroupHealth health)
The health status of the node group.
|
Nodegroup.Builder |
instanceTypes(Collection<String> instanceTypes)
If the node group wasn't deployed with a launch template, then this is the instance type that is associated
with the node group.
|
Nodegroup.Builder |
instanceTypes(String... instanceTypes)
If the node group wasn't deployed with a launch template, then this is the instance type that is associated
with the node group.
|
Nodegroup.Builder |
labels(Map<String,String> labels)
The Kubernetes labels applied to the nodes in the node group.
|
default Nodegroup.Builder |
launchTemplate(Consumer<LaunchTemplateSpecification.Builder> launchTemplate)
If a launch template was used to create the node group, then this is the launch template that was used.
|
Nodegroup.Builder |
launchTemplate(LaunchTemplateSpecification launchTemplate)
If a launch template was used to create the node group, then this is the launch template that was used.
|
Nodegroup.Builder |
modifiedAt(Instant modifiedAt)
The Unix epoch timestamp in seconds for when the managed node group was last modified.
|
Nodegroup.Builder |
nodegroupArn(String nodegroupArn)
The Amazon Resource Name (ARN) associated with the managed node group.
|
Nodegroup.Builder |
nodegroupName(String nodegroupName)
The name associated with an Amazon EKS managed node group.
|
Nodegroup.Builder |
nodeRole(String nodeRole)
The IAM role associated with your node group.
|
Nodegroup.Builder |
releaseVersion(String releaseVersion)
If the node group was deployed using a launch template with a custom AMI, then this is the AMI ID that was
specified in the launch template.
|
default Nodegroup.Builder |
remoteAccess(Consumer<RemoteAccessConfig.Builder> remoteAccess)
If the node group wasn't deployed with a launch template, then this is the remote access configuration that
is associated with the node group.
|
Nodegroup.Builder |
remoteAccess(RemoteAccessConfig remoteAccess)
If the node group wasn't deployed with a launch template, then this is the remote access configuration that
is associated with the node group.
|
default Nodegroup.Builder |
resources(Consumer<NodegroupResources.Builder> resources)
The resources associated with the node group, such as Auto Scaling groups and security groups for remote
access.
|
Nodegroup.Builder |
resources(NodegroupResources resources)
The resources associated with the node group, such as Auto Scaling groups and security groups for remote
access.
|
default Nodegroup.Builder |
scalingConfig(Consumer<NodegroupScalingConfig.Builder> scalingConfig)
The scaling configuration details for the Auto Scaling group that is associated with your node group.
|
Nodegroup.Builder |
scalingConfig(NodegroupScalingConfig scalingConfig)
The scaling configuration details for the Auto Scaling group that is associated with your node group.
|
Nodegroup.Builder |
status(NodegroupStatus status)
The current status of the managed node group.
|
Nodegroup.Builder |
status(String status)
The current status of the managed node group.
|
Nodegroup.Builder |
subnets(Collection<String> subnets)
The subnets that were specified for the Auto Scaling group that is associated with your node group.
|
Nodegroup.Builder |
subnets(String... subnets)
The subnets that were specified for the Auto Scaling group that is associated with your node group.
|
Nodegroup.Builder |
tags(Map<String,String> tags)
The metadata applied to the node group to assist with categorization and organization.
|
Nodegroup.Builder |
taints(Collection<Taint> taints)
The Kubernetes taints to be applied to the nodes in the node group when they are created.
|
Nodegroup.Builder |
taints(Consumer<Taint.Builder>... taints)
The Kubernetes taints to be applied to the nodes in the node group when they are created.
|
Nodegroup.Builder |
taints(Taint... taints)
The Kubernetes taints to be applied to the nodes in the node group when they are created.
|
default Nodegroup.Builder |
updateConfig(Consumer<NodegroupUpdateConfig.Builder> updateConfig)
The node group update configuration.
|
Nodegroup.Builder |
updateConfig(NodegroupUpdateConfig updateConfig)
The node group update configuration.
|
Nodegroup.Builder |
version(String version)
The Kubernetes version of the managed node group.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNodegroup.Builder nodegroupName(String nodegroupName)
The name associated with an Amazon EKS managed node group.
nodegroupName - The name associated with an Amazon EKS managed node group.Nodegroup.Builder nodegroupArn(String nodegroupArn)
The Amazon Resource Name (ARN) associated with the managed node group.
nodegroupArn - The Amazon Resource Name (ARN) associated with the managed node group.Nodegroup.Builder clusterName(String clusterName)
The name of the cluster that the managed node group resides in.
clusterName - The name of the cluster that the managed node group resides in.Nodegroup.Builder version(String version)
The Kubernetes version of the managed node group.
version - The Kubernetes version of the managed node group.Nodegroup.Builder releaseVersion(String releaseVersion)
If the node group was deployed using a launch template with a custom AMI, then this is the AMI ID that was specified in the launch template. For node groups that weren't deployed using a launch template, this is the version of the Amazon EKS optimized AMI that the node group was deployed with.
releaseVersion - If the node group was deployed using a launch template with a custom AMI, then this is the AMI ID that
was specified in the launch template. For node groups that weren't deployed using a launch template,
this is the version of the Amazon EKS optimized AMI that the node group was deployed with.Nodegroup.Builder createdAt(Instant createdAt)
The Unix epoch timestamp in seconds for when the managed node group was created.
createdAt - The Unix epoch timestamp in seconds for when the managed node group was created.Nodegroup.Builder modifiedAt(Instant modifiedAt)
The Unix epoch timestamp in seconds for when the managed node group was last modified.
modifiedAt - The Unix epoch timestamp in seconds for when the managed node group was last modified.Nodegroup.Builder status(String status)
The current status of the managed node group.
status - The current status of the managed node group.NodegroupStatus,
NodegroupStatusNodegroup.Builder status(NodegroupStatus status)
The current status of the managed node group.
status - The current status of the managed node group.NodegroupStatus,
NodegroupStatusNodegroup.Builder capacityType(String capacityType)
The capacity type of your managed node group.
capacityType - The capacity type of your managed node group.CapacityTypes,
CapacityTypesNodegroup.Builder capacityType(CapacityTypes capacityType)
The capacity type of your managed node group.
capacityType - The capacity type of your managed node group.CapacityTypes,
CapacityTypesNodegroup.Builder scalingConfig(NodegroupScalingConfig scalingConfig)
The scaling configuration details for the Auto Scaling group that is associated with your node group.
scalingConfig - The scaling configuration details for the Auto Scaling group that is associated with your node group.default Nodegroup.Builder scalingConfig(Consumer<NodegroupScalingConfig.Builder> scalingConfig)
The scaling configuration details for the Auto Scaling group that is associated with your node group.
This is a convenience that creates an instance of theNodegroupScalingConfig.Builder avoiding the
need to create one manually via NodegroupScalingConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to scalingConfig(NodegroupScalingConfig).scalingConfig - a consumer that will call methods on NodegroupScalingConfig.BuilderscalingConfig(NodegroupScalingConfig)Nodegroup.Builder instanceTypes(Collection<String> instanceTypes)
If the node group wasn't deployed with a launch template, then this is the instance type that is associated
with the node group. If the node group was deployed with a launch template, then this is null.
instanceTypes - If the node group wasn't deployed with a launch template, then this is the instance type that is
associated with the node group. If the node group was deployed with a launch template, then this is
null.Nodegroup.Builder instanceTypes(String... instanceTypes)
If the node group wasn't deployed with a launch template, then this is the instance type that is associated
with the node group. If the node group was deployed with a launch template, then this is null.
instanceTypes - If the node group wasn't deployed with a launch template, then this is the instance type that is
associated with the node group. If the node group was deployed with a launch template, then this is
null.Nodegroup.Builder subnets(Collection<String> subnets)
The subnets that were specified for the Auto Scaling group that is associated with your node group.
subnets - The subnets that were specified for the Auto Scaling group that is associated with your node group.Nodegroup.Builder subnets(String... subnets)
The subnets that were specified for the Auto Scaling group that is associated with your node group.
subnets - The subnets that were specified for the Auto Scaling group that is associated with your node group.Nodegroup.Builder remoteAccess(RemoteAccessConfig remoteAccess)
If the node group wasn't deployed with a launch template, then this is the remote access configuration that
is associated with the node group. If the node group was deployed with a launch template, then this is
null.
remoteAccess - If the node group wasn't deployed with a launch template, then this is the remote access configuration
that is associated with the node group. If the node group was deployed with a launch template, then
this is null.default Nodegroup.Builder remoteAccess(Consumer<RemoteAccessConfig.Builder> remoteAccess)
If the node group wasn't deployed with a launch template, then this is the remote access configuration that
is associated with the node group. If the node group was deployed with a launch template, then this is
null.
RemoteAccessConfig.Builder avoiding the need to
create one manually via RemoteAccessConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to remoteAccess(RemoteAccessConfig).remoteAccess - a consumer that will call methods on RemoteAccessConfig.BuilderremoteAccess(RemoteAccessConfig)Nodegroup.Builder amiType(String amiType)
If the node group was deployed using a launch template with a custom AMI, then this is CUSTOM.
For node groups that weren't deployed using a launch template, this is the AMI type that was specified in the
node group configuration.
amiType - If the node group was deployed using a launch template with a custom AMI, then this is
CUSTOM. For node groups that weren't deployed using a launch template, this is the AMI
type that was specified in the node group configuration.AMITypes,
AMITypesNodegroup.Builder amiType(AMITypes amiType)
If the node group was deployed using a launch template with a custom AMI, then this is CUSTOM.
For node groups that weren't deployed using a launch template, this is the AMI type that was specified in the
node group configuration.
amiType - If the node group was deployed using a launch template with a custom AMI, then this is
CUSTOM. For node groups that weren't deployed using a launch template, this is the AMI
type that was specified in the node group configuration.AMITypes,
AMITypesNodegroup.Builder nodeRole(String nodeRole)
The IAM role associated with your node group. The Amazon EKS node kubelet daemon makes calls to
Amazon Web Services APIs on your behalf. Nodes receive permissions for these API calls through an IAM
instance profile and associated policies.
nodeRole - The IAM role associated with your node group. The Amazon EKS node kubelet daemon makes
calls to Amazon Web Services APIs on your behalf. Nodes receive permissions for these API calls
through an IAM instance profile and associated policies.Nodegroup.Builder labels(Map<String,String> labels)
The Kubernetes labels applied to the nodes in the node group.
Only labels that are applied with the Amazon EKS API are shown here. There may be other Kubernetes labels applied to the nodes in this group.
labels - The Kubernetes labels applied to the nodes in the node group. Only labels that are applied with the Amazon EKS API are shown here. There may be other Kubernetes labels applied to the nodes in this group.
Nodegroup.Builder taints(Collection<Taint> taints)
The Kubernetes taints to be applied to the nodes in the node group when they are created. Effect is one of
No_Schedule, Prefer_No_Schedule, or No_Execute. Kubernetes taints can
be used together with tolerations to control how workloads are scheduled to your nodes.
taints - The Kubernetes taints to be applied to the nodes in the node group when they are created. Effect is
one of No_Schedule, Prefer_No_Schedule, or No_Execute.
Kubernetes taints can be used together with tolerations to control how workloads are scheduled to your
nodes.Nodegroup.Builder taints(Taint... taints)
The Kubernetes taints to be applied to the nodes in the node group when they are created. Effect is one of
No_Schedule, Prefer_No_Schedule, or No_Execute. Kubernetes taints can
be used together with tolerations to control how workloads are scheduled to your nodes.
taints - The Kubernetes taints to be applied to the nodes in the node group when they are created. Effect is
one of No_Schedule, Prefer_No_Schedule, or No_Execute.
Kubernetes taints can be used together with tolerations to control how workloads are scheduled to your
nodes.Nodegroup.Builder taints(Consumer<Taint.Builder>... taints)
The Kubernetes taints to be applied to the nodes in the node group when they are created. Effect is one of
No_Schedule, Prefer_No_Schedule, or No_Execute. Kubernetes taints can
be used together with tolerations to control how workloads are scheduled to your nodes.
List.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #taints(List) .taints - a consumer that will call methods on List.Builder #taints(List) Nodegroup.Builder resources(NodegroupResources resources)
The resources associated with the node group, such as Auto Scaling groups and security groups for remote access.
resources - The resources associated with the node group, such as Auto Scaling groups and security groups for
remote access.default Nodegroup.Builder resources(Consumer<NodegroupResources.Builder> resources)
The resources associated with the node group, such as Auto Scaling groups and security groups for remote access.
This is a convenience that creates an instance of theNodegroupResources.Builder avoiding the need to
create one manually via NodegroupResources.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resources(NodegroupResources).resources - a consumer that will call methods on NodegroupResources.Builderresources(NodegroupResources)Nodegroup.Builder diskSize(Integer diskSize)
If the node group wasn't deployed with a launch template, then this is the disk size in the node group
configuration. If the node group was deployed with a launch template, then this is null.
diskSize - If the node group wasn't deployed with a launch template, then this is the disk size in the node group
configuration. If the node group was deployed with a launch template, then this is null.Nodegroup.Builder health(NodegroupHealth health)
The health status of the node group. If there are issues with your node group's health, they are listed here.
health - The health status of the node group. If there are issues with your node group's health, they are
listed here.default Nodegroup.Builder health(Consumer<NodegroupHealth.Builder> health)
The health status of the node group. If there are issues with your node group's health, they are listed here.
This is a convenience that creates an instance of theNodegroupHealth.Builder avoiding the need to
create one manually via NodegroupHealth.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to health(NodegroupHealth).health - a consumer that will call methods on NodegroupHealth.Builderhealth(NodegroupHealth)Nodegroup.Builder updateConfig(NodegroupUpdateConfig updateConfig)
The node group update configuration.
updateConfig - The node group update configuration.default Nodegroup.Builder updateConfig(Consumer<NodegroupUpdateConfig.Builder> updateConfig)
The node group update configuration.
This is a convenience that creates an instance of theNodegroupUpdateConfig.Builder avoiding the need
to create one manually via NodegroupUpdateConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to updateConfig(NodegroupUpdateConfig).updateConfig - a consumer that will call methods on NodegroupUpdateConfig.BuilderupdateConfig(NodegroupUpdateConfig)Nodegroup.Builder launchTemplate(LaunchTemplateSpecification launchTemplate)
If a launch template was used to create the node group, then this is the launch template that was used.
launchTemplate - If a launch template was used to create the node group, then this is the launch template that was
used.default Nodegroup.Builder launchTemplate(Consumer<LaunchTemplateSpecification.Builder> launchTemplate)
If a launch template was used to create the node group, then this is the launch template that was used.
This is a convenience that creates an instance of theLaunchTemplateSpecification.Builder avoiding
the need to create one manually via LaunchTemplateSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to launchTemplate(LaunchTemplateSpecification).launchTemplate - a consumer that will call methods on LaunchTemplateSpecification.BuilderlaunchTemplate(LaunchTemplateSpecification)Nodegroup.Builder tags(Map<String,String> tags)
The metadata applied to the node group to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Node group tags do not propagate to any other resources associated with the node group, such as the Amazon EC2 instances or subnets.
tags - The metadata applied to the node group to assist with categorization and organization. Each tag
consists of a key and an optional value, both of which you define. Node group tags do not propagate to
any other resources associated with the node group, such as the Amazon EC2 instances or subnets.Copyright © 2021. All rights reserved.