/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.eks.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* An object representing an Amazon EKS managed node group. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Nodegroup implements Serializable, Cloneable, StructuredPojo { /** ** The name associated with an Amazon EKS managed node group. *
*/ private String nodegroupName; /** ** The Amazon Resource Name (ARN) associated with the managed node group. *
*/ private String nodegroupArn; /** ** The name of the cluster that the managed node group resides in. *
*/ private String clusterName; /** ** The Kubernetes version of the managed node group. *
*/ private String version; /** ** 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. *
*/ private String releaseVersion; /** ** The Unix epoch timestamp in seconds for when the managed node group was created. *
*/ private java.util.Date createdAt; /** ** The Unix epoch timestamp in seconds for when the managed node group was last modified. *
*/ private java.util.Date modifiedAt; /** ** The current status of the managed node group. *
*/ private String status; /** ** The capacity type of your managed node group. *
*/ private String capacityType; /** ** The scaling configuration details for the Auto Scaling group that is associated with your node group. *
*/ private NodegroupScalingConfig scalingConfig; /** *
* 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
.
*
* The subnets that were specified for the Auto Scaling group that is associated with your node group. *
*/ private java.util.List
* 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
.
*
* 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.
*
* 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.
*
* 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. *
*
* 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. For more information, see Node taints on
* managed node groups.
*
* The resources associated with the node group, such as Auto Scaling groups and security groups for remote access. *
*/ private NodegroupResources resources; /** *
* 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
.
*
* The health status of the node group. If there are issues with your node group's health, they are listed here. *
*/ private NodegroupHealth health; /** ** The node group update configuration. *
*/ private NodegroupUpdateConfig updateConfig; /** ** If a launch template was used to create the node group, then this is the launch template that was used. *
*/ private LaunchTemplateSpecification launchTemplate; /** ** The metadata applied to the node group to assist with categorization and organization. Each tag consists of a key * and an optional value. You define both. Node group tags do not propagate to any other resources associated with * the node group, such as the Amazon EC2 instances or subnets. *
*/ private java.util.Map* The name associated with an Amazon EKS managed node group. *
* * @param nodegroupName * The name associated with an Amazon EKS managed node group. */ public void setNodegroupName(String nodegroupName) { this.nodegroupName = nodegroupName; } /** ** The name associated with an Amazon EKS managed node group. *
* * @return The name associated with an Amazon EKS managed node group. */ public String getNodegroupName() { return this.nodegroupName; } /** ** The name associated with an Amazon EKS managed node group. *
* * @param nodegroupName * The name associated with an Amazon EKS managed node group. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withNodegroupName(String nodegroupName) { setNodegroupName(nodegroupName); return this; } /** ** The Amazon Resource Name (ARN) associated with the managed node group. *
* * @param nodegroupArn * The Amazon Resource Name (ARN) associated with the managed node group. */ public void setNodegroupArn(String nodegroupArn) { this.nodegroupArn = nodegroupArn; } /** ** The Amazon Resource Name (ARN) associated with the managed node group. *
* * @return The Amazon Resource Name (ARN) associated with the managed node group. */ public String getNodegroupArn() { return this.nodegroupArn; } /** ** The Amazon Resource Name (ARN) associated with the managed node group. *
* * @param nodegroupArn * The Amazon Resource Name (ARN) associated with the managed node group. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withNodegroupArn(String nodegroupArn) { setNodegroupArn(nodegroupArn); return this; } /** ** The name of the cluster that the managed node group resides in. *
* * @param clusterName * The name of the cluster that the managed node group resides in. */ public void setClusterName(String clusterName) { this.clusterName = clusterName; } /** ** The name of the cluster that the managed node group resides in. *
* * @return The name of the cluster that the managed node group resides in. */ public String getClusterName() { return this.clusterName; } /** ** The name of the cluster that the managed node group resides in. *
* * @param clusterName * The name of the cluster that the managed node group resides in. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withClusterName(String clusterName) { setClusterName(clusterName); return this; } /** ** The Kubernetes version of the managed node group. *
* * @param version * The Kubernetes version of the managed node group. */ public void setVersion(String version) { this.version = version; } /** ** The Kubernetes version of the managed node group. *
* * @return The Kubernetes version of the managed node group. */ public String getVersion() { return this.version; } /** ** The Kubernetes version of the managed node group. *
* * @param version * The Kubernetes version of the managed node group. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withVersion(String version) { setVersion(version); return this; } /** ** 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. *
* * @param 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. */ public void setReleaseVersion(String releaseVersion) { this.releaseVersion = 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. *
* * @return 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. */ public String getReleaseVersion() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withReleaseVersion(String releaseVersion) { setReleaseVersion(releaseVersion); return this; } /** ** The Unix epoch timestamp in seconds for when the managed node group was created. *
* * @param createdAt * The Unix epoch timestamp in seconds for when the managed node group was created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** ** The Unix epoch timestamp in seconds for when the managed node group was created. *
* * @return The Unix epoch timestamp in seconds for when the managed node group was created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** ** The Unix epoch timestamp in seconds for when the managed node group was created. *
* * @param createdAt * The Unix epoch timestamp in seconds for when the managed node group was created. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** ** The Unix epoch timestamp in seconds for when the managed node group was last modified. *
* * @param modifiedAt * The Unix epoch timestamp in seconds for when the managed node group was last modified. */ public void setModifiedAt(java.util.Date modifiedAt) { this.modifiedAt = modifiedAt; } /** ** The Unix epoch timestamp in seconds for when the managed node group was last modified. *
* * @return The Unix epoch timestamp in seconds for when the managed node group was last modified. */ public java.util.Date getModifiedAt() { return this.modifiedAt; } /** ** The Unix epoch timestamp in seconds for when the managed node group was last modified. *
* * @param modifiedAt * The Unix epoch timestamp in seconds for when the managed node group was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withModifiedAt(java.util.Date modifiedAt) { setModifiedAt(modifiedAt); return this; } /** ** The current status of the managed node group. *
* * @param status * The current status of the managed node group. * @see NodegroupStatus */ public void setStatus(String status) { this.status = status; } /** ** The current status of the managed node group. *
* * @return The current status of the managed node group. * @see NodegroupStatus */ public String getStatus() { return this.status; } /** ** The current status of the managed node group. *
* * @param status * The current status of the managed node group. * @return Returns a reference to this object so that method calls can be chained together. * @see NodegroupStatus */ public Nodegroup withStatus(String status) { setStatus(status); return this; } /** ** The current status of the managed node group. *
* * @param status * The current status of the managed node group. * @return Returns a reference to this object so that method calls can be chained together. * @see NodegroupStatus */ public Nodegroup withStatus(NodegroupStatus status) { this.status = status.toString(); return this; } /** ** The capacity type of your managed node group. *
* * @param capacityType * The capacity type of your managed node group. * @see CapacityTypes */ public void setCapacityType(String capacityType) { this.capacityType = capacityType; } /** ** The capacity type of your managed node group. *
* * @return The capacity type of your managed node group. * @see CapacityTypes */ public String getCapacityType() { return this.capacityType; } /** ** The capacity type of your managed node group. *
* * @param capacityType * The capacity type of your managed node group. * @return Returns a reference to this object so that method calls can be chained together. * @see CapacityTypes */ public Nodegroup withCapacityType(String capacityType) { setCapacityType(capacityType); return this; } /** ** The capacity type of your managed node group. *
* * @param capacityType * The capacity type of your managed node group. * @return Returns a reference to this object so that method calls can be chained together. * @see CapacityTypes */ public Nodegroup withCapacityType(CapacityTypes capacityType) { this.capacityType = capacityType.toString(); return this; } /** ** The scaling configuration details for the Auto Scaling group that is associated with your node group. *
* * @param scalingConfig * The scaling configuration details for the Auto Scaling group that is associated with your node group. */ public void setScalingConfig(NodegroupScalingConfig scalingConfig) { this.scalingConfig = scalingConfig; } /** ** The scaling configuration details for the Auto Scaling group that is associated with your node group. *
* * @return The scaling configuration details for the Auto Scaling group that is associated with your node group. */ public NodegroupScalingConfig getScalingConfig() { return this.scalingConfig; } /** ** The scaling configuration details for the Auto Scaling group that is associated with your node group. *
* * @param scalingConfig * The scaling configuration details for the Auto Scaling group that is associated with your node group. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withScalingConfig(NodegroupScalingConfig scalingConfig) { setScalingConfig(scalingConfig); return this; } /** *
* 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
.
*
null
.
*/
public java.util.List
* 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
.
*
null
.
*/
public void setInstanceTypes(java.util.Collection
* 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
.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setInstanceTypes(java.util.Collection)} or {@link #withInstanceTypes(java.util.Collection)} if you want * to override the existing values. *
* * @param 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
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Nodegroup withInstanceTypes(String... instanceTypes) {
if (this.instanceTypes == null) {
setInstanceTypes(new java.util.ArrayList
* 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
.
*
null
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Nodegroup withInstanceTypes(java.util.Collection* The subnets that were specified for the Auto Scaling group that is associated with your node group. *
* * @return The subnets that were specified for the Auto Scaling group that is associated with your node group. */ public java.util.List* The subnets that were specified for the Auto Scaling group that is associated with your node group. *
* * @param subnets * The subnets that were specified for the Auto Scaling group that is associated with your node group. */ public void setSubnets(java.util.Collection* The subnets that were specified for the Auto Scaling group that is associated with your node group. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSubnets(java.util.Collection)} or {@link #withSubnets(java.util.Collection)} if you want to override * the existing values. *
* * @param subnets * The subnets that were specified for the Auto Scaling group that is associated with your node group. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withSubnets(String... subnets) { if (this.subnets == null) { setSubnets(new java.util.ArrayList* The subnets that were specified for the Auto Scaling group that is associated with your node group. *
* * @param subnets * The subnets that were specified for the Auto Scaling group that is associated with your node group. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withSubnets(java.util.Collection
* 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
.
*
null
.
*/
public void setRemoteAccess(RemoteAccessConfig remoteAccess) {
this.remoteAccess = 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
.
*
null
.
*/
public RemoteAccessConfig getRemoteAccess() {
return this.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
.
*
null
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Nodegroup withRemoteAccess(RemoteAccessConfig remoteAccess) {
setRemoteAccess(remoteAccess);
return this;
}
/**
*
* 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.
*
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.
* @see AMITypes
*/
public void setAmiType(String amiType) {
this.amiType = 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.
*
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.
* @see AMITypes
*/
public String getAmiType() {
return this.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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
* @see AMITypes
*/
public Nodegroup withAmiType(String amiType) {
setAmiType(amiType);
return this;
}
/**
*
* 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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
* @see AMITypes
*/
public Nodegroup withAmiType(AMITypes amiType) {
this.amiType = amiType.toString();
return this;
}
/**
*
* 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.
*
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.
*/
public void setNodeRole(String nodeRole) {
this.nodeRole = 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.
*
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.
*/
public String getNodeRole() {
return this.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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Nodegroup withNodeRole(String nodeRole) {
setNodeRole(nodeRole);
return this;
}
/**
* * 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. *
** 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. *
*/ public java.util.Map* 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. *
** 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. *
*/ public void setLabels(java.util.Map* 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. *
** 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. *
* @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withLabels(java.util.Map
* 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. For more information, see Node taints on
* managed node groups.
*
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. For
* more information, see Node taints
* on managed node groups.
*/
public java.util.List
* 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. For more information, see Node taints on
* managed node groups.
*
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. For more
* information, see Node taints
* on managed node groups.
*/
public void setTaints(java.util.Collection
* 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. For more information, see Node taints on
* managed node groups.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setTaints(java.util.Collection)} or {@link #withTaints(java.util.Collection)} if you want to override the * existing values. *
* * @param 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. For more
* information, see Node taints
* on managed node groups.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Nodegroup withTaints(Taint... taints) {
if (this.taints == null) {
setTaints(new java.util.ArrayList
* 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. For more information, see Node taints on
* managed node groups.
*
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. For more
* information, see Node taints
* on managed node groups.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Nodegroup withTaints(java.util.Collection* The resources associated with the node group, such as Auto Scaling groups and security groups for remote access. *
* * @param resources * The resources associated with the node group, such as Auto Scaling groups and security groups for remote * access. */ public void setResources(NodegroupResources resources) { this.resources = resources; } /** ** The resources associated with the node group, such as Auto Scaling groups and security groups for remote access. *
* * @return The resources associated with the node group, such as Auto Scaling groups and security groups for remote * access. */ public NodegroupResources getResources() { return this.resources; } /** ** The resources associated with the node group, such as Auto Scaling groups and security groups for remote access. *
* * @param resources * The resources associated with the node group, such as Auto Scaling groups and security groups for remote * access. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withResources(NodegroupResources resources) { setResources(resources); return this; } /** *
* 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
.
*
null
.
*/
public void setDiskSize(Integer diskSize) {
this.diskSize = 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
.
*
null
.
*/
public Integer getDiskSize() {
return this.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
.
*
null
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Nodegroup withDiskSize(Integer diskSize) {
setDiskSize(diskSize);
return this;
}
/**
* * The health status of the node group. If there are issues with your node group's health, they are listed here. *
* * @param health * The health status of the node group. If there are issues with your node group's health, they are listed * here. */ public void setHealth(NodegroupHealth health) { this.health = health; } /** ** The health status of the node group. If there are issues with your node group's health, they are listed here. *
* * @return The health status of the node group. If there are issues with your node group's health, they are listed * here. */ public NodegroupHealth getHealth() { return this.health; } /** ** The health status of the node group. If there are issues with your node group's health, they are listed here. *
* * @param health * The health status of the node group. If there are issues with your node group's health, they are listed * here. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withHealth(NodegroupHealth health) { setHealth(health); return this; } /** ** The node group update configuration. *
* * @param updateConfig * The node group update configuration. */ public void setUpdateConfig(NodegroupUpdateConfig updateConfig) { this.updateConfig = updateConfig; } /** ** The node group update configuration. *
* * @return The node group update configuration. */ public NodegroupUpdateConfig getUpdateConfig() { return this.updateConfig; } /** ** The node group update configuration. *
* * @param updateConfig * The node group update configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withUpdateConfig(NodegroupUpdateConfig updateConfig) { setUpdateConfig(updateConfig); return this; } /** ** If a launch template was used to create the node group, then this is the launch template that was used. *
* * @param launchTemplate * If a launch template was used to create the node group, then this is the launch template that was used. */ public void setLaunchTemplate(LaunchTemplateSpecification launchTemplate) { this.launchTemplate = launchTemplate; } /** ** If a launch template was used to create the node group, then this is the launch template that was used. *
* * @return If a launch template was used to create the node group, then this is the launch template that was used. */ public LaunchTemplateSpecification getLaunchTemplate() { return this.launchTemplate; } /** ** If a launch template was used to create the node group, then this is the launch template that was used. *
* * @param launchTemplate * If a launch template was used to create the node group, then this is the launch template that was used. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withLaunchTemplate(LaunchTemplateSpecification launchTemplate) { setLaunchTemplate(launchTemplate); return this; } /** ** The metadata applied to the node group to assist with categorization and organization. Each tag consists of a key * and an optional value. You define both. Node group tags do not propagate to any other resources associated with * the node group, such as the Amazon EC2 instances or subnets. *
* * @return The metadata applied to the node group to assist with categorization and organization. Each tag consists * of a key and an optional value. You define both. Node group tags do not propagate to any other resources * associated with the node group, such as the Amazon EC2 instances or subnets. */ public java.util.Map* The metadata applied to the node group to assist with categorization and organization. Each tag consists of a key * and an optional value. You define both. Node group tags do not propagate to any other resources associated with * the node group, such as the Amazon EC2 instances or subnets. *
* * @param tags * The metadata applied to the node group to assist with categorization and organization. Each tag consists * of a key and an optional value. You define both. Node group tags do not propagate to any other resources * associated with the node group, such as the Amazon EC2 instances or subnets. */ public void setTags(java.util.Map* The metadata applied to the node group to assist with categorization and organization. Each tag consists of a key * and an optional value. You define both. Node group tags do not propagate to any other resources associated with * the node group, such as the Amazon EC2 instances or subnets. *
* * @param tags * The metadata applied to the node group to assist with categorization and organization. Each tag consists * of a key and an optional value. You define both. Node group tags do not propagate to any other resources * associated with the node group, such as the Amazon EC2 instances or subnets. * @return Returns a reference to this object so that method calls can be chained together. */ public Nodegroup withTags(java.util.Map