@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Nodegroup extends Object implements Serializable, Cloneable, StructuredPojo
An object representing an Amazon EKS managed node group.
Constructor and Description |
---|
Nodegroup() |
Modifier and Type | Method and Description |
---|---|
Nodegroup |
addLabelsEntry(String key,
String value)
Add a single Labels entry
|
Nodegroup |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Nodegroup |
clearLabelsEntries()
Removes all the entries added into Labels.
|
Nodegroup |
clearTagsEntries()
Removes all the entries added into Tags.
|
Nodegroup |
clone() |
boolean |
equals(Object obj) |
String |
getAmiType()
If the node group was deployed using a launch template with a custom AMI, then this is
CUSTOM . |
String |
getCapacityType()
The capacity type of your managed node group.
|
String |
getClusterName()
The name of your cluster.
|
Date |
getCreatedAt()
The Unix epoch timestamp at object creation.
|
Integer |
getDiskSize()
If the node group wasn't deployed with a launch template, then this is the disk size in the node group
configuration.
|
NodegroupHealth |
getHealth()
The health status of the node group.
|
List<String> |
getInstanceTypes()
If the node group wasn't deployed with a launch template, then this is the instance type that is associated with
the node group.
|
Map<String,String> |
getLabels()
The Kubernetes
labels applied to the nodes in the node group. |
LaunchTemplateSpecification |
getLaunchTemplate()
If a launch template was used to create the node group, then this is the launch template that was used.
|
Date |
getModifiedAt()
The Unix epoch timestamp for the last modification to the object.
|
String |
getNodegroupArn()
The Amazon Resource Name (ARN) associated with the managed node group.
|
String |
getNodegroupName()
The name associated with an Amazon EKS managed node group.
|
String |
getNodeRole()
The IAM role associated with your node group.
|
String |
getReleaseVersion()
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.
|
RemoteAccessConfig |
getRemoteAccess()
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.
|
NodegroupResources |
getResources()
The resources associated with the node group, such as Auto Scaling groups and security groups for remote access.
|
NodegroupScalingConfig |
getScalingConfig()
The scaling configuration details for the Auto Scaling group that is associated with your node group.
|
String |
getStatus()
The current status of the managed node group.
|
List<String> |
getSubnets()
The subnets that were specified for the Auto Scaling group that is associated with your node group.
|
Map<String,String> |
getTags()
Metadata that assists with categorization and organization.
|
List<Taint> |
getTaints()
The Kubernetes taints to be applied to the nodes in the node group when they are created.
|
NodegroupUpdateConfig |
getUpdateConfig()
The node group update configuration.
|
String |
getVersion()
The Kubernetes version of the managed node group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmiType(String amiType)
If the node group was deployed using a launch template with a custom AMI, then this is
CUSTOM . |
void |
setCapacityType(String capacityType)
The capacity type of your managed node group.
|
void |
setClusterName(String clusterName)
The name of your cluster.
|
void |
setCreatedAt(Date createdAt)
The Unix epoch timestamp at object creation.
|
void |
setDiskSize(Integer diskSize)
If the node group wasn't deployed with a launch template, then this is the disk size in the node group
configuration.
|
void |
setHealth(NodegroupHealth health)
The health status of the node group.
|
void |
setInstanceTypes(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.
|
void |
setLabels(Map<String,String> labels)
The Kubernetes
labels applied to the nodes in the node group. |
void |
setLaunchTemplate(LaunchTemplateSpecification launchTemplate)
If a launch template was used to create the node group, then this is the launch template that was used.
|
void |
setModifiedAt(Date modifiedAt)
The Unix epoch timestamp for the last modification to the object.
|
void |
setNodegroupArn(String nodegroupArn)
The Amazon Resource Name (ARN) associated with the managed node group.
|
void |
setNodegroupName(String nodegroupName)
The name associated with an Amazon EKS managed node group.
|
void |
setNodeRole(String nodeRole)
The IAM role associated with your node group.
|
void |
setReleaseVersion(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.
|
void |
setRemoteAccess(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.
|
void |
setResources(NodegroupResources resources)
The resources associated with the node group, such as Auto Scaling groups and security groups for remote access.
|
void |
setScalingConfig(NodegroupScalingConfig scalingConfig)
The scaling configuration details for the Auto Scaling group that is associated with your node group.
|
void |
setStatus(String status)
The current status of the managed node group.
|
void |
setSubnets(Collection<String> subnets)
The subnets that were specified for the Auto Scaling group that is associated with your node group.
|
void |
setTags(Map<String,String> tags)
Metadata that assists with categorization and organization.
|
void |
setTaints(Collection<Taint> taints)
The Kubernetes taints to be applied to the nodes in the node group when they are created.
|
void |
setUpdateConfig(NodegroupUpdateConfig updateConfig)
The node group update configuration.
|
void |
setVersion(String version)
The Kubernetes version of the managed node group.
|
String |
toString()
Returns a string representation of this object.
|
Nodegroup |
withAmiType(AMITypes amiType)
If the node group was deployed using a launch template with a custom AMI, then this is
CUSTOM . |
Nodegroup |
withAmiType(String amiType)
If the node group was deployed using a launch template with a custom AMI, then this is
CUSTOM . |
Nodegroup |
withCapacityType(CapacityTypes capacityType)
The capacity type of your managed node group.
|
Nodegroup |
withCapacityType(String capacityType)
The capacity type of your managed node group.
|
Nodegroup |
withClusterName(String clusterName)
The name of your cluster.
|
Nodegroup |
withCreatedAt(Date createdAt)
The Unix epoch timestamp at object creation.
|
Nodegroup |
withDiskSize(Integer diskSize)
If the node group wasn't deployed with a launch template, then this is the disk size in the node group
configuration.
|
Nodegroup |
withHealth(NodegroupHealth health)
The health status of the node group.
|
Nodegroup |
withInstanceTypes(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 |
withInstanceTypes(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 |
withLabels(Map<String,String> labels)
The Kubernetes
labels applied to the nodes in the node group. |
Nodegroup |
withLaunchTemplate(LaunchTemplateSpecification launchTemplate)
If a launch template was used to create the node group, then this is the launch template that was used.
|
Nodegroup |
withModifiedAt(Date modifiedAt)
The Unix epoch timestamp for the last modification to the object.
|
Nodegroup |
withNodegroupArn(String nodegroupArn)
The Amazon Resource Name (ARN) associated with the managed node group.
|
Nodegroup |
withNodegroupName(String nodegroupName)
The name associated with an Amazon EKS managed node group.
|
Nodegroup |
withNodeRole(String nodeRole)
The IAM role associated with your node group.
|
Nodegroup |
withReleaseVersion(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.
|
Nodegroup |
withRemoteAccess(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.
|
Nodegroup |
withResources(NodegroupResources resources)
The resources associated with the node group, such as Auto Scaling groups and security groups for remote access.
|
Nodegroup |
withScalingConfig(NodegroupScalingConfig scalingConfig)
The scaling configuration details for the Auto Scaling group that is associated with your node group.
|
Nodegroup |
withStatus(NodegroupStatus status)
The current status of the managed node group.
|
Nodegroup |
withStatus(String status)
The current status of the managed node group.
|
Nodegroup |
withSubnets(Collection<String> subnets)
The subnets that were specified for the Auto Scaling group that is associated with your node group.
|
Nodegroup |
withSubnets(String... subnets)
The subnets that were specified for the Auto Scaling group that is associated with your node group.
|
Nodegroup |
withTags(Map<String,String> tags)
Metadata that assists with categorization and organization.
|
Nodegroup |
withTaints(Collection<Taint> taints)
The Kubernetes taints to be applied to the nodes in the node group when they are created.
|
Nodegroup |
withTaints(Taint... taints)
The Kubernetes taints to be applied to the nodes in the node group when they are created.
|
Nodegroup |
withUpdateConfig(NodegroupUpdateConfig updateConfig)
The node group update configuration.
|
Nodegroup |
withVersion(String version)
The Kubernetes version of the managed node group.
|
public void setNodegroupName(String nodegroupName)
The name associated with an Amazon EKS managed node group.
nodegroupName
- The name associated with an Amazon EKS managed node group.public String getNodegroupName()
The name associated with an Amazon EKS managed node group.
public Nodegroup withNodegroupName(String nodegroupName)
The name associated with an Amazon EKS managed node group.
nodegroupName
- The name associated with an Amazon EKS managed node group.public void setNodegroupArn(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.public String getNodegroupArn()
The Amazon Resource Name (ARN) associated with the managed node group.
public Nodegroup withNodegroupArn(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.public void setClusterName(String clusterName)
The name of your cluster.
clusterName
- The name of your cluster.public String getClusterName()
The name of your cluster.
public Nodegroup withClusterName(String clusterName)
The name of your cluster.
clusterName
- The name of your cluster.public void setVersion(String version)
The Kubernetes version of the managed node group.
version
- The Kubernetes version of the managed node group.public String getVersion()
The Kubernetes version of the managed node group.
public Nodegroup withVersion(String version)
The Kubernetes version of the managed node group.
version
- The Kubernetes version of the managed node group.public void setReleaseVersion(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.public String getReleaseVersion()
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 Nodegroup withReleaseVersion(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.public void setCreatedAt(Date createdAt)
The Unix epoch timestamp at object creation.
createdAt
- The Unix epoch timestamp at object creation.public Date getCreatedAt()
The Unix epoch timestamp at object creation.
public Nodegroup withCreatedAt(Date createdAt)
The Unix epoch timestamp at object creation.
createdAt
- The Unix epoch timestamp at object creation.public void setModifiedAt(Date modifiedAt)
The Unix epoch timestamp for the last modification to the object.
modifiedAt
- The Unix epoch timestamp for the last modification to the object.public Date getModifiedAt()
The Unix epoch timestamp for the last modification to the object.
public Nodegroup withModifiedAt(Date modifiedAt)
The Unix epoch timestamp for the last modification to the object.
modifiedAt
- The Unix epoch timestamp for the last modification to the object.public void setStatus(String status)
The current status of the managed node group.
status
- The current status of the managed node group.NodegroupStatus
public String getStatus()
The current status of the managed node group.
NodegroupStatus
public Nodegroup withStatus(String status)
The current status of the managed node group.
status
- The current status of the managed node group.NodegroupStatus
public Nodegroup withStatus(NodegroupStatus status)
The current status of the managed node group.
status
- The current status of the managed node group.NodegroupStatus
public void setCapacityType(String capacityType)
The capacity type of your managed node group.
capacityType
- The capacity type of your managed node group.CapacityTypes
public String getCapacityType()
The capacity type of your managed node group.
CapacityTypes
public Nodegroup withCapacityType(String capacityType)
The capacity type of your managed node group.
capacityType
- The capacity type of your managed node group.CapacityTypes
public Nodegroup withCapacityType(CapacityTypes capacityType)
The capacity type of your managed node group.
capacityType
- The capacity type of your managed node group.CapacityTypes
public void setScalingConfig(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.public NodegroupScalingConfig getScalingConfig()
The scaling configuration details for the Auto Scaling group that is associated with your node group.
public Nodegroup withScalingConfig(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.public List<String> getInstanceTypes()
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(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
.public Nodegroup withInstanceTypes(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
.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceTypes(java.util.Collection)
or withInstanceTypes(java.util.Collection)
if you want
to override the existing values.
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
.public Nodegroup withInstanceTypes(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
.public List<String> getSubnets()
The subnets that were specified for the Auto Scaling group that is associated with your node group.
public void setSubnets(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.public Nodegroup withSubnets(String... subnets)
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
setSubnets(java.util.Collection)
or withSubnets(java.util.Collection)
if you want to override
the existing values.
subnets
- The subnets that were specified for the Auto Scaling group that is associated with your node group.public Nodegroup withSubnets(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.public void setRemoteAccess(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
.public RemoteAccessConfig getRemoteAccess()
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 Nodegroup withRemoteAccess(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
.public void setAmiType(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
public String getAmiType()
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.AMITypes
public Nodegroup withAmiType(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
public Nodegroup withAmiType(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
public void setNodeRole(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.public String getNodeRole()
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 Nodegroup withNodeRole(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.public Map<String,String> getLabels()
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
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.
public void setLabels(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.
public Nodegroup withLabels(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.
public Nodegroup clearLabelsEntries()
public List<Taint> getTaints()
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(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. For more information, see Node taints on
managed node groups.
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.public Nodegroup withTaints(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. For more information, see Node taints on
managed node groups.
NOTE: This method appends the values to the existing list (if any). Use
setTaints(java.util.Collection)
or withTaints(java.util.Collection)
if you want to override the
existing values.
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.public Nodegroup withTaints(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. For more information, see Node taints on
managed node groups.
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.public void setResources(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.public NodegroupResources getResources()
The resources associated with the node group, such as Auto Scaling groups and security groups for remote access.
public Nodegroup withResources(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.public void setDiskSize(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
.public Integer getDiskSize()
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 Nodegroup withDiskSize(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
.public void setHealth(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.public NodegroupHealth getHealth()
The health status of the node group. If there are issues with your node group's health, they are listed here.
public Nodegroup withHealth(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.public void setUpdateConfig(NodegroupUpdateConfig updateConfig)
The node group update configuration.
updateConfig
- The node group update configuration.public NodegroupUpdateConfig getUpdateConfig()
The node group update configuration.
public Nodegroup withUpdateConfig(NodegroupUpdateConfig updateConfig)
The node group update configuration.
updateConfig
- The node group update configuration.public void setLaunchTemplate(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.public LaunchTemplateSpecification getLaunchTemplate()
If a launch template was used to create the node group, then this is the launch template that was used.
public Nodegroup withLaunchTemplate(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.public Map<String,String> getTags()
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
public void setTags(Map<String,String> tags)
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
tags
- Metadata that assists with categorization and organization. Each tag consists of a key and an optional
value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.public Nodegroup withTags(Map<String,String> tags)
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
tags
- Metadata that assists with categorization and organization. Each tag consists of a key and an optional
value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.public Nodegroup clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.