public void setType(String type) {
        this.type = type;
    }
<p>
The type of the new access entry. Valid values are <code>Standard</code>, <code>FARGATE_LINUX</code>,
<code>EC2_LINUX</code>, and <code>EC2_WINDOWS</code>.
</p>
<p>
If the <code>principalArn</code> is for an IAM role that's used for self-managed Amazon EC2 nodes, specify
<code>EC2_LINUX</code> or <code>EC2_WINDOWS</code>. Amazon EKS grants the necessary permissions to the node for
you. If the <code>principalArn</code> is for any other purpose, specify <code>STANDARD</code>. If you don't
specify a value, Amazon EKS sets the value to <code>STANDARD</code>. It's unnecessary to create access entries
for IAM roles used with Fargate profiles or managed Amazon EC2 nodes, because Amazon EKS creates entries in the
<code>aws-auth</code> <code>ConfigMap</code> for the roles. You can't change this value once you've created the
access entry.
</p>
<p>
If you set the value to <code>EC2_LINUX</code> or <code>EC2_WINDOWS</code>, you can't specify values for
<code>kubernetesGroups</code>, or associate an <code>AccessPolicy</code> to the access entry.
</p>

@param type
       The type of the new access entry. Valid values are <code>Standard</code>, <code>FARGATE_LINUX</code>,
       <code>EC2_LINUX</code>, and <code>EC2_WINDOWS</code>.</p>
       <p>
       If the <code>principalArn</code> is for an IAM role that's used for self-managed Amazon EC2 nodes, specify
       <code>EC2_LINUX</code> or <code>EC2_WINDOWS</code>. Amazon EKS grants the necessary permissions to the
       node for you. If the <code>principalArn</code> is for any other purpose, specify <code>STANDARD</code>. If
       you don't specify a value, Amazon EKS sets the value to <code>STANDARD</code>. It's unnecessary to create
       access entries for IAM roles used with Fargate profiles or managed Amazon EC2 nodes, because Amazon EKS
       creates entries in the <code>aws-auth</code> <code>ConfigMap</code> for the roles. You can't change this
       value once you've created the access entry.
       </p>
       <p>
       If you set the value to <code>EC2_LINUX</code> or <code>EC2_WINDOWS</code>, you can't specify values for
       <code>kubernetesGroups</code>, or associate an <code>AccessPolicy</code> to the access entry.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/CreateAccessEntryRequest.java