@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNodegroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateNodegroupRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateNodegroupRequest | addLabelsEntry(String key,
              String value)Add a single Labels entry | 
| CreateNodegroupRequest | addTagsEntry(String key,
            String value)Add a single Tags entry | 
| CreateNodegroupRequest | clearLabelsEntries()Removes all the entries added into Labels. | 
| CreateNodegroupRequest | clearTagsEntries()Removes all the entries added into Tags. | 
| CreateNodegroupRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getAmiType()
 The AMI type for your node group. | 
| String | getCapacityType()
 The capacity type for your node group. | 
| String | getClientRequestToken()
 Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. | 
| String | getClusterName()
 The name of the cluster to create the node group in. | 
| Integer | getDiskSize()
 The root device disk size (in GiB) for your node group instances. | 
| List<String> | getInstanceTypes()
 Specify the instance types for a node group. | 
| Map<String,String> | getLabels()
 The Kubernetes labels to be applied to the nodes in the node group when they are created. | 
| LaunchTemplateSpecification | getLaunchTemplate()
 An object representing a node group's launch template specification. | 
| String | getNodegroupName()
 The unique name to give your node group. | 
| String | getNodeRole()
 The Amazon Resource Name (ARN) of the IAM role to associate with your node group. | 
| String | getReleaseVersion()
 The AMI version of the Amazon EKS optimized AMI to use with your node group. | 
| RemoteAccessConfig | getRemoteAccess()
 The remote access (SSH) configuration to use with your node group. | 
| NodegroupScalingConfig | getScalingConfig()
 The scaling configuration details for the Auto Scaling group that is created for your node group. | 
| List<String> | getSubnets()
 The subnets to use for the Auto Scaling group that is created for your node group. | 
| Map<String,String> | getTags()
 The metadata to apply to the node group to assist with categorization and organization. | 
| String | getVersion()
 The Kubernetes version to use for your managed nodes. | 
| int | hashCode() | 
| void | setAmiType(String amiType)
 The AMI type for your node group. | 
| void | setCapacityType(String capacityType)
 The capacity type for your node group. | 
| void | setClientRequestToken(String clientRequestToken)
 Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. | 
| void | setClusterName(String clusterName)
 The name of the cluster to create the node group in. | 
| void | setDiskSize(Integer diskSize)
 The root device disk size (in GiB) for your node group instances. | 
| void | setInstanceTypes(Collection<String> instanceTypes)
 Specify the instance types for a node group. | 
| void | setLabels(Map<String,String> labels)
 The Kubernetes labels to be applied to the nodes in the node group when they are created. | 
| void | setLaunchTemplate(LaunchTemplateSpecification launchTemplate)
 An object representing a node group's launch template specification. | 
| void | setNodegroupName(String nodegroupName)
 The unique name to give your node group. | 
| void | setNodeRole(String nodeRole)
 The Amazon Resource Name (ARN) of the IAM role to associate with your node group. | 
| void | setReleaseVersion(String releaseVersion)
 The AMI version of the Amazon EKS optimized AMI to use with your node group. | 
| void | setRemoteAccess(RemoteAccessConfig remoteAccess)
 The remote access (SSH) configuration to use with your node group. | 
| void | setScalingConfig(NodegroupScalingConfig scalingConfig)
 The scaling configuration details for the Auto Scaling group that is created for your node group. | 
| void | setSubnets(Collection<String> subnets)
 The subnets to use for the Auto Scaling group that is created for your node group. | 
| void | setTags(Map<String,String> tags)
 The metadata to apply to the node group to assist with categorization and organization. | 
| void | setVersion(String version)
 The Kubernetes version to use for your managed nodes. | 
| String | toString()Returns a string representation of this object. | 
| CreateNodegroupRequest | withAmiType(AMITypes amiType)
 The AMI type for your node group. | 
| CreateNodegroupRequest | withAmiType(String amiType)
 The AMI type for your node group. | 
| CreateNodegroupRequest | withCapacityType(CapacityTypes capacityType)
 The capacity type for your node group. | 
| CreateNodegroupRequest | withCapacityType(String capacityType)
 The capacity type for your node group. | 
| CreateNodegroupRequest | withClientRequestToken(String clientRequestToken)
 Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. | 
| CreateNodegroupRequest | withClusterName(String clusterName)
 The name of the cluster to create the node group in. | 
| CreateNodegroupRequest | withDiskSize(Integer diskSize)
 The root device disk size (in GiB) for your node group instances. | 
| CreateNodegroupRequest | withInstanceTypes(Collection<String> instanceTypes)
 Specify the instance types for a node group. | 
| CreateNodegroupRequest | withInstanceTypes(String... instanceTypes)
 Specify the instance types for a node group. | 
| CreateNodegroupRequest | withLabels(Map<String,String> labels)
 The Kubernetes labels to be applied to the nodes in the node group when they are created. | 
| CreateNodegroupRequest | withLaunchTemplate(LaunchTemplateSpecification launchTemplate)
 An object representing a node group's launch template specification. | 
| CreateNodegroupRequest | withNodegroupName(String nodegroupName)
 The unique name to give your node group. | 
| CreateNodegroupRequest | withNodeRole(String nodeRole)
 The Amazon Resource Name (ARN) of the IAM role to associate with your node group. | 
| CreateNodegroupRequest | withReleaseVersion(String releaseVersion)
 The AMI version of the Amazon EKS optimized AMI to use with your node group. | 
| CreateNodegroupRequest | withRemoteAccess(RemoteAccessConfig remoteAccess)
 The remote access (SSH) configuration to use with your node group. | 
| CreateNodegroupRequest | withScalingConfig(NodegroupScalingConfig scalingConfig)
 The scaling configuration details for the Auto Scaling group that is created for your node group. | 
| CreateNodegroupRequest | withSubnets(Collection<String> subnets)
 The subnets to use for the Auto Scaling group that is created for your node group. | 
| CreateNodegroupRequest | withSubnets(String... subnets)
 The subnets to use for the Auto Scaling group that is created for your node group. | 
| CreateNodegroupRequest | withTags(Map<String,String> tags)
 The metadata to apply to the node group to assist with categorization and organization. | 
| CreateNodegroupRequest | withVersion(String version)
 The Kubernetes version to use for your managed nodes. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setClusterName(String clusterName)
The name of the cluster to create the node group in.
clusterName - The name of the cluster to create the node group in.public String getClusterName()
The name of the cluster to create the node group in.
public CreateNodegroupRequest withClusterName(String clusterName)
The name of the cluster to create the node group in.
clusterName - The name of the cluster to create the node group in.public void setNodegroupName(String nodegroupName)
The unique name to give your node group.
nodegroupName - The unique name to give your node group.public String getNodegroupName()
The unique name to give your node group.
public CreateNodegroupRequest withNodegroupName(String nodegroupName)
The unique name to give your node group.
nodegroupName - The unique name to give your node group.public void setScalingConfig(NodegroupScalingConfig scalingConfig)
The scaling configuration details for the Auto Scaling group that is created for your node group.
scalingConfig - The scaling configuration details for the Auto Scaling group that is created for your node group.public NodegroupScalingConfig getScalingConfig()
The scaling configuration details for the Auto Scaling group that is created for your node group.
public CreateNodegroupRequest withScalingConfig(NodegroupScalingConfig scalingConfig)
The scaling configuration details for the Auto Scaling group that is created for your node group.
scalingConfig - The scaling configuration details for the Auto Scaling group that is created for your node group.public void setDiskSize(Integer diskSize)
 The root device disk size (in GiB) for your node group instances. The default disk size is 20 GiB. If you specify
 launchTemplate, then don't specify diskSize, or the node group deployment will fail.
 For more information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
diskSize - The root device disk size (in GiB) for your node group instances. The default disk size is 20 GiB. If you
        specify launchTemplate, then don't specify diskSize, or the node group
        deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.public Integer getDiskSize()
 The root device disk size (in GiB) for your node group instances. The default disk size is 20 GiB. If you specify
 launchTemplate, then don't specify diskSize, or the node group deployment will fail.
 For more information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
launchTemplate, then don't specify diskSize, or the node group
         deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support
         in the Amazon EKS User Guide.public CreateNodegroupRequest withDiskSize(Integer diskSize)
 The root device disk size (in GiB) for your node group instances. The default disk size is 20 GiB. If you specify
 launchTemplate, then don't specify diskSize, or the node group deployment will fail.
 For more information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
diskSize - The root device disk size (in GiB) for your node group instances. The default disk size is 20 GiB. If you
        specify launchTemplate, then don't specify diskSize, or the node group
        deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.public List<String> getSubnets()
 The subnets to use for the Auto Scaling group that is created for your node group. These subnets must have the
 tag key kubernetes.io/cluster/CLUSTER_NAME with a value of shared, where
 CLUSTER_NAME is replaced with the name of your cluster. If you specify launchTemplate,
 then don't specify 
 SubnetId  in your launch template, or the node group deployment will fail. For more information
 about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
kubernetes.io/cluster/CLUSTER_NAME with a value of shared,
         where CLUSTER_NAME is replaced with the name of your cluster. If you specify
         launchTemplate, then don't specify 
         SubnetId  in your launch template, or the node group deployment will fail. For more
         information about using launch templates with Amazon EKS, see Launch template support
         in the Amazon EKS User Guide.public void setSubnets(Collection<String> subnets)
 The subnets to use for the Auto Scaling group that is created for your node group. These subnets must have the
 tag key kubernetes.io/cluster/CLUSTER_NAME with a value of shared, where
 CLUSTER_NAME is replaced with the name of your cluster. If you specify launchTemplate,
 then don't specify 
 SubnetId  in your launch template, or the node group deployment will fail. For more information
 about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
subnets - The subnets to use for the Auto Scaling group that is created for your node group. These subnets must have
        the tag key kubernetes.io/cluster/CLUSTER_NAME with a value of shared, where
        CLUSTER_NAME is replaced with the name of your cluster. If you specify
        launchTemplate, then don't specify 
        SubnetId  in your launch template, or the node group deployment will fail. For more
        information about using launch templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.public CreateNodegroupRequest withSubnets(String... subnets)
 The subnets to use for the Auto Scaling group that is created for your node group. These subnets must have the
 tag key kubernetes.io/cluster/CLUSTER_NAME with a value of shared, where
 CLUSTER_NAME is replaced with the name of your cluster. If you specify launchTemplate,
 then don't specify 
 SubnetId  in your launch template, or the node group deployment will fail. For more information
 about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
 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 to use for the Auto Scaling group that is created for your node group. These subnets must have
        the tag key kubernetes.io/cluster/CLUSTER_NAME with a value of shared, where
        CLUSTER_NAME is replaced with the name of your cluster. If you specify
        launchTemplate, then don't specify 
        SubnetId  in your launch template, or the node group deployment will fail. For more
        information about using launch templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.public CreateNodegroupRequest withSubnets(Collection<String> subnets)
 The subnets to use for the Auto Scaling group that is created for your node group. These subnets must have the
 tag key kubernetes.io/cluster/CLUSTER_NAME with a value of shared, where
 CLUSTER_NAME is replaced with the name of your cluster. If you specify launchTemplate,
 then don't specify 
 SubnetId  in your launch template, or the node group deployment will fail. For more information
 about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
subnets - The subnets to use for the Auto Scaling group that is created for your node group. These subnets must have
        the tag key kubernetes.io/cluster/CLUSTER_NAME with a value of shared, where
        CLUSTER_NAME is replaced with the name of your cluster. If you specify
        launchTemplate, then don't specify 
        SubnetId  in your launch template, or the node group deployment will fail. For more
        information about using launch templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.public List<String> getInstanceTypes()
 Specify the instance types for a node group. If you specify a GPU instance type, be sure to specify
 AL2_x86_64_GPU with the amiType parameter. If you specify launchTemplate,
 then you can specify zero or one instance type in your launch template or you can specify 0-20 instance
 types for instanceTypes. If however, you specify an instance type in your launch template and
 specify any instanceTypes, the node group deployment will fail. If you don't specify an instance
 type in a launch template or for instanceTypes, then t3.medium is used, by default. If
 you specify Spot for capacityType, then we recommend specifying multiple values for
 instanceTypes. For more information, see Managed node group capacity types and Launch template support in the
 Amazon EKS User Guide.
 
AL2_x86_64_GPU with the amiType parameter. If you specify
         launchTemplate, then you can specify zero or one instance type in your launch template
         or you can specify 0-20 instance types for instanceTypes. If however, you specify an
         instance type in your launch template and specify any instanceTypes, the node group
         deployment will fail. If you don't specify an instance type in a launch template or for
         instanceTypes, then t3.medium is used, by default. If you specify
         Spot for capacityType, then we recommend specifying multiple values for
         instanceTypes. For more information, see Managed node group capacity types and Launch template support
         in the Amazon EKS User Guide.public void setInstanceTypes(Collection<String> instanceTypes)
 Specify the instance types for a node group. If you specify a GPU instance type, be sure to specify
 AL2_x86_64_GPU with the amiType parameter. If you specify launchTemplate,
 then you can specify zero or one instance type in your launch template or you can specify 0-20 instance
 types for instanceTypes. If however, you specify an instance type in your launch template and
 specify any instanceTypes, the node group deployment will fail. If you don't specify an instance
 type in a launch template or for instanceTypes, then t3.medium is used, by default. If
 you specify Spot for capacityType, then we recommend specifying multiple values for
 instanceTypes. For more information, see Managed node group capacity types and Launch template support in the
 Amazon EKS User Guide.
 
instanceTypes - Specify the instance types for a node group. If you specify a GPU instance type, be sure to specify
        AL2_x86_64_GPU with the amiType parameter. If you specify
        launchTemplate, then you can specify zero or one instance type in your launch template
        or you can specify 0-20 instance types for instanceTypes. If however, you specify an
        instance type in your launch template and specify any instanceTypes, the node group
        deployment will fail. If you don't specify an instance type in a launch template or for
        instanceTypes, then t3.medium is used, by default. If you specify
        Spot for capacityType, then we recommend specifying multiple values for
        instanceTypes. For more information, see Managed node group capacity types and Launch template support
        in the Amazon EKS User Guide.public CreateNodegroupRequest withInstanceTypes(String... instanceTypes)
 Specify the instance types for a node group. If you specify a GPU instance type, be sure to specify
 AL2_x86_64_GPU with the amiType parameter. If you specify launchTemplate,
 then you can specify zero or one instance type in your launch template or you can specify 0-20 instance
 types for instanceTypes. If however, you specify an instance type in your launch template and
 specify any instanceTypes, the node group deployment will fail. If you don't specify an instance
 type in a launch template or for instanceTypes, then t3.medium is used, by default. If
 you specify Spot for capacityType, then we recommend specifying multiple values for
 instanceTypes. For more information, see Managed node group capacity types and Launch template support in the
 Amazon EKS User Guide.
 
 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 - Specify the instance types for a node group. If you specify a GPU instance type, be sure to specify
        AL2_x86_64_GPU with the amiType parameter. If you specify
        launchTemplate, then you can specify zero or one instance type in your launch template
        or you can specify 0-20 instance types for instanceTypes. If however, you specify an
        instance type in your launch template and specify any instanceTypes, the node group
        deployment will fail. If you don't specify an instance type in a launch template or for
        instanceTypes, then t3.medium is used, by default. If you specify
        Spot for capacityType, then we recommend specifying multiple values for
        instanceTypes. For more information, see Managed node group capacity types and Launch template support
        in the Amazon EKS User Guide.public CreateNodegroupRequest withInstanceTypes(Collection<String> instanceTypes)
 Specify the instance types for a node group. If you specify a GPU instance type, be sure to specify
 AL2_x86_64_GPU with the amiType parameter. If you specify launchTemplate,
 then you can specify zero or one instance type in your launch template or you can specify 0-20 instance
 types for instanceTypes. If however, you specify an instance type in your launch template and
 specify any instanceTypes, the node group deployment will fail. If you don't specify an instance
 type in a launch template or for instanceTypes, then t3.medium is used, by default. If
 you specify Spot for capacityType, then we recommend specifying multiple values for
 instanceTypes. For more information, see Managed node group capacity types and Launch template support in the
 Amazon EKS User Guide.
 
instanceTypes - Specify the instance types for a node group. If you specify a GPU instance type, be sure to specify
        AL2_x86_64_GPU with the amiType parameter. If you specify
        launchTemplate, then you can specify zero or one instance type in your launch template
        or you can specify 0-20 instance types for instanceTypes. If however, you specify an
        instance type in your launch template and specify any instanceTypes, the node group
        deployment will fail. If you don't specify an instance type in a launch template or for
        instanceTypes, then t3.medium is used, by default. If you specify
        Spot for capacityType, then we recommend specifying multiple values for
        instanceTypes. For more information, see Managed node group capacity types and Launch template support
        in the Amazon EKS User Guide.public void setAmiType(String amiType)
 The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU AMI type. Non-GPU
 instances should use the AL2_x86_64 AMI type. Arm instances should use the AL2_ARM_64
 AMI type. All types use the Amazon EKS optimized Amazon Linux 2 AMI. If you specify launchTemplate,
 and your launch template uses a custom AMI, then don't specify amiType, or the node group deployment
 will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
amiType - The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU AMI type.
        Non-GPU instances should use the AL2_x86_64 AMI type. Arm instances should use the
        AL2_ARM_64 AMI type. All types use the Amazon EKS optimized Amazon Linux 2 AMI. If you
        specify launchTemplate, and your launch template uses a custom AMI, then don't specify
        amiType, or the node group deployment will fail. For more information about using launch
        templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.AMITypespublic String getAmiType()
 The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU AMI type. Non-GPU
 instances should use the AL2_x86_64 AMI type. Arm instances should use the AL2_ARM_64
 AMI type. All types use the Amazon EKS optimized Amazon Linux 2 AMI. If you specify launchTemplate,
 and your launch template uses a custom AMI, then don't specify amiType, or the node group deployment
 will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
AL2_x86_64_GPU AMI type.
         Non-GPU instances should use the AL2_x86_64 AMI type. Arm instances should use the
         AL2_ARM_64 AMI type. All types use the Amazon EKS optimized Amazon Linux 2 AMI. If you
         specify launchTemplate, and your launch template uses a custom AMI, then don't specify
         amiType, or the node group deployment will fail. For more information about using launch
         templates with Amazon EKS, see Launch template support
         in the Amazon EKS User Guide.AMITypespublic CreateNodegroupRequest withAmiType(String amiType)
 The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU AMI type. Non-GPU
 instances should use the AL2_x86_64 AMI type. Arm instances should use the AL2_ARM_64
 AMI type. All types use the Amazon EKS optimized Amazon Linux 2 AMI. If you specify launchTemplate,
 and your launch template uses a custom AMI, then don't specify amiType, or the node group deployment
 will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
amiType - The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU AMI type.
        Non-GPU instances should use the AL2_x86_64 AMI type. Arm instances should use the
        AL2_ARM_64 AMI type. All types use the Amazon EKS optimized Amazon Linux 2 AMI. If you
        specify launchTemplate, and your launch template uses a custom AMI, then don't specify
        amiType, or the node group deployment will fail. For more information about using launch
        templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.AMITypespublic CreateNodegroupRequest withAmiType(AMITypes amiType)
 The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU AMI type. Non-GPU
 instances should use the AL2_x86_64 AMI type. Arm instances should use the AL2_ARM_64
 AMI type. All types use the Amazon EKS optimized Amazon Linux 2 AMI. If you specify launchTemplate,
 and your launch template uses a custom AMI, then don't specify amiType, or the node group deployment
 will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
amiType - The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU AMI type.
        Non-GPU instances should use the AL2_x86_64 AMI type. Arm instances should use the
        AL2_ARM_64 AMI type. All types use the Amazon EKS optimized Amazon Linux 2 AMI. If you
        specify launchTemplate, and your launch template uses a custom AMI, then don't specify
        amiType, or the node group deployment will fail. For more information about using launch
        templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.AMITypespublic void setRemoteAccess(RemoteAccessConfig remoteAccess)
 The remote access (SSH) configuration to use with your node group. If you specify launchTemplate,
 then don't specify remoteAccess, or the node group deployment will fail. For more information about
 using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
remoteAccess - The remote access (SSH) configuration to use with your node group. If you specify
        launchTemplate, then don't specify remoteAccess, or the node group deployment
        will fail. For more information about using launch templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.public RemoteAccessConfig getRemoteAccess()
 The remote access (SSH) configuration to use with your node group. If you specify launchTemplate,
 then don't specify remoteAccess, or the node group deployment will fail. For more information about
 using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
launchTemplate, then don't specify remoteAccess, or the node group deployment
         will fail. For more information about using launch templates with Amazon EKS, see Launch template support
         in the Amazon EKS User Guide.public CreateNodegroupRequest withRemoteAccess(RemoteAccessConfig remoteAccess)
 The remote access (SSH) configuration to use with your node group. If you specify launchTemplate,
 then don't specify remoteAccess, or the node group deployment will fail. For more information about
 using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
remoteAccess - The remote access (SSH) configuration to use with your node group. If you specify
        launchTemplate, then don't specify remoteAccess, or the node group deployment
        will fail. For more information about using launch templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.public void setNodeRole(String nodeRole)
 The Amazon Resource Name (ARN) of the IAM role to associate with your node group. The Amazon EKS worker node
 kubelet daemon makes calls to AWS APIs on your behalf. Nodes receive permissions for these API calls
 through an IAM instance profile and associated policies. Before you can launch nodes and register them into a
 cluster, you must create an IAM role for those nodes to use when they are launched. For more information, see Amazon EKS node IAM role in
 the  Amazon EKS User Guide . If you specify launchTemplate, then don't specify 
 IamInstanceProfile  in your launch template, or the node group deployment will fail. For more
 information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
nodeRole - The Amazon Resource Name (ARN) of the IAM role to associate with your node group. The Amazon EKS worker
        node kubelet daemon makes calls to AWS APIs on your behalf. Nodes receive permissions for
        these API calls through an IAM instance profile and associated policies. Before you can launch nodes and
        register them into a cluster, you must create an IAM role for those nodes to use when they are launched.
        For more information, see Amazon EKS node IAM
        role in the  Amazon EKS User Guide . If you specify launchTemplate, then
        don't specify 
        IamInstanceProfile  in your launch template, or the node group deployment will fail. For
        more information about using launch templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.public String getNodeRole()
 The Amazon Resource Name (ARN) of the IAM role to associate with your node group. The Amazon EKS worker node
 kubelet daemon makes calls to AWS APIs on your behalf. Nodes receive permissions for these API calls
 through an IAM instance profile and associated policies. Before you can launch nodes and register them into a
 cluster, you must create an IAM role for those nodes to use when they are launched. For more information, see Amazon EKS node IAM role in
 the  Amazon EKS User Guide . If you specify launchTemplate, then don't specify 
 IamInstanceProfile  in your launch template, or the node group deployment will fail. For more
 information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
kubelet daemon makes calls to AWS APIs on your behalf. Nodes receive permissions for
         these API calls through an IAM instance profile and associated policies. Before you can launch nodes and
         register them into a cluster, you must create an IAM role for those nodes to use when they are launched.
         For more information, see Amazon EKS node IAM
         role in the  Amazon EKS User Guide . If you specify launchTemplate, then
         don't specify 
         IamInstanceProfile  in your launch template, or the node group deployment will fail. For
         more information about using launch templates with Amazon EKS, see Launch template support
         in the Amazon EKS User Guide.public CreateNodegroupRequest withNodeRole(String nodeRole)
 The Amazon Resource Name (ARN) of the IAM role to associate with your node group. The Amazon EKS worker node
 kubelet daemon makes calls to AWS APIs on your behalf. Nodes receive permissions for these API calls
 through an IAM instance profile and associated policies. Before you can launch nodes and register them into a
 cluster, you must create an IAM role for those nodes to use when they are launched. For more information, see Amazon EKS node IAM role in
 the  Amazon EKS User Guide . If you specify launchTemplate, then don't specify 
 IamInstanceProfile  in your launch template, or the node group deployment will fail. For more
 information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
nodeRole - The Amazon Resource Name (ARN) of the IAM role to associate with your node group. The Amazon EKS worker
        node kubelet daemon makes calls to AWS APIs on your behalf. Nodes receive permissions for
        these API calls through an IAM instance profile and associated policies. Before you can launch nodes and
        register them into a cluster, you must create an IAM role for those nodes to use when they are launched.
        For more information, see Amazon EKS node IAM
        role in the  Amazon EKS User Guide . If you specify launchTemplate, then
        don't specify 
        IamInstanceProfile  in your launch template, or the node group deployment will fail. For
        more information about using launch templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.public Map<String,String> getLabels()
The Kubernetes labels to be applied to the nodes in the node group when they are created.
public void setLabels(Map<String,String> labels)
The Kubernetes labels to be applied to the nodes in the node group when they are created.
labels - The Kubernetes labels to be applied to the nodes in the node group when they are created.public CreateNodegroupRequest withLabels(Map<String,String> labels)
The Kubernetes labels to be applied to the nodes in the node group when they are created.
labels - The Kubernetes labels to be applied to the nodes in the node group when they are created.public CreateNodegroupRequest addLabelsEntry(String key, String value)
public CreateNodegroupRequest clearLabelsEntries()
public Map<String,String> getTags()
The metadata to apply 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.
public void setTags(Map<String,String> tags)
The metadata to apply 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 to apply 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.public CreateNodegroupRequest withTags(Map<String,String> tags)
The metadata to apply 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 to apply 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.public CreateNodegroupRequest addTagsEntry(String key, String value)
public CreateNodegroupRequest clearTagsEntries()
public void setClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreateNodegroupRequest withClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public void setLaunchTemplate(LaunchTemplateSpecification launchTemplate)
 An object representing a node group's launch template specification. If specified, then do not specify
 instanceTypes, diskSize, or remoteAccess and make sure that the launch
 template meets the requirements in launchTemplateSpecification.
 
launchTemplate - An object representing a node group's launch template specification. If specified, then do not specify
        instanceTypes, diskSize, or remoteAccess and make sure that the
        launch template meets the requirements in launchTemplateSpecification.public LaunchTemplateSpecification getLaunchTemplate()
 An object representing a node group's launch template specification. If specified, then do not specify
 instanceTypes, diskSize, or remoteAccess and make sure that the launch
 template meets the requirements in launchTemplateSpecification.
 
instanceTypes, diskSize, or remoteAccess and make sure that the
         launch template meets the requirements in launchTemplateSpecification.public CreateNodegroupRequest withLaunchTemplate(LaunchTemplateSpecification launchTemplate)
 An object representing a node group's launch template specification. If specified, then do not specify
 instanceTypes, diskSize, or remoteAccess and make sure that the launch
 template meets the requirements in launchTemplateSpecification.
 
launchTemplate - An object representing a node group's launch template specification. If specified, then do not specify
        instanceTypes, diskSize, or remoteAccess and make sure that the
        launch template meets the requirements in launchTemplateSpecification.public void setCapacityType(String capacityType)
The capacity type for your node group.
capacityType - The capacity type for your node group.CapacityTypespublic String getCapacityType()
The capacity type for your node group.
CapacityTypespublic CreateNodegroupRequest withCapacityType(String capacityType)
The capacity type for your node group.
capacityType - The capacity type for your node group.CapacityTypespublic CreateNodegroupRequest withCapacityType(CapacityTypes capacityType)
The capacity type for your node group.
capacityType - The capacity type for your node group.CapacityTypespublic void setVersion(String version)
 The Kubernetes version to use for your managed nodes. By default, the Kubernetes version of the cluster is used,
 and this is the only accepted specified value. If you specify launchTemplate, and your launch
 template uses a custom AMI, then don't specify version, or the node group deployment will fail. For
 more information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
version - The Kubernetes version to use for your managed nodes. By default, the Kubernetes version of the cluster is
        used, and this is the only accepted specified value. If you specify launchTemplate, and your
        launch template uses a custom AMI, then don't specify version, or the node group deployment
        will fail. For more information about using launch templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.public String getVersion()
 The Kubernetes version to use for your managed nodes. By default, the Kubernetes version of the cluster is used,
 and this is the only accepted specified value. If you specify launchTemplate, and your launch
 template uses a custom AMI, then don't specify version, or the node group deployment will fail. For
 more information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
launchTemplate, and
         your launch template uses a custom AMI, then don't specify version, or the node group
         deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support
         in the Amazon EKS User Guide.public CreateNodegroupRequest withVersion(String version)
 The Kubernetes version to use for your managed nodes. By default, the Kubernetes version of the cluster is used,
 and this is the only accepted specified value. If you specify launchTemplate, and your launch
 template uses a custom AMI, then don't specify version, or the node group deployment will fail. For
 more information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
version - The Kubernetes version to use for your managed nodes. By default, the Kubernetes version of the cluster is
        used, and this is the only accepted specified value. If you specify launchTemplate, and your
        launch template uses a custom AMI, then don't specify version, or the node group deployment
        will fail. For more information about using launch templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.public void setReleaseVersion(String releaseVersion)
 The AMI version of the Amazon EKS optimized AMI to use with your node group. By default, the latest available AMI
 version for the node group's current Kubernetes version is used. For more information, see Amazon EKS optimized Amazon
 Linux 2 AMI versions in the Amazon EKS User Guide. If you specify launchTemplate, and
 your launch template uses a custom AMI, then don't specify releaseVersion, or the node group
 deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
releaseVersion - The AMI version of the Amazon EKS optimized AMI to use with your node group. By default, the latest
        available AMI version for the node group's current Kubernetes version is used. For more information, see
        Amazon EKS
        optimized Amazon Linux 2 AMI versions in the Amazon EKS User Guide. If you specify
        launchTemplate, and your launch template uses a custom AMI, then don't specify
        releaseVersion, or the node group deployment will fail. For more information about using
        launch templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.public String getReleaseVersion()
 The AMI version of the Amazon EKS optimized AMI to use with your node group. By default, the latest available AMI
 version for the node group's current Kubernetes version is used. For more information, see Amazon EKS optimized Amazon
 Linux 2 AMI versions in the Amazon EKS User Guide. If you specify launchTemplate, and
 your launch template uses a custom AMI, then don't specify releaseVersion, or the node group
 deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
launchTemplate, and your launch template uses a custom AMI, then don't specify
         releaseVersion, or the node group deployment will fail. For more information about using
         launch templates with Amazon EKS, see Launch template support
         in the Amazon EKS User Guide.public CreateNodegroupRequest withReleaseVersion(String releaseVersion)
 The AMI version of the Amazon EKS optimized AMI to use with your node group. By default, the latest available AMI
 version for the node group's current Kubernetes version is used. For more information, see Amazon EKS optimized Amazon
 Linux 2 AMI versions in the Amazon EKS User Guide. If you specify launchTemplate, and
 your launch template uses a custom AMI, then don't specify releaseVersion, or the node group
 deployment will fail. For more information about using launch templates with Amazon EKS, see Launch template support in the
 Amazon EKS User Guide.
 
releaseVersion - The AMI version of the Amazon EKS optimized AMI to use with your node group. By default, the latest
        available AMI version for the node group's current Kubernetes version is used. For more information, see
        Amazon EKS
        optimized Amazon Linux 2 AMI versions in the Amazon EKS User Guide. If you specify
        launchTemplate, and your launch template uses a custom AMI, then don't specify
        releaseVersion, or the node group deployment will fail. For more information about using
        launch templates with Amazon EKS, see Launch template support
        in the Amazon EKS User Guide.public String toString()
toString in class ObjectObject.toString()public CreateNodegroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()