Interface AccessEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccessEntry.Builder,,AccessEntry> SdkBuilder<AccessEntry.Builder,,AccessEntry> SdkPojo
- Enclosing class:
AccessEntry
-
Method Summary
Modifier and TypeMethodDescriptionaccessEntryArn(String accessEntryArn) The ARN of the access entry.clusterName(String clusterName) The name of your cluster.The Unix epoch timestamp at object creation.kubernetesGroups(String... kubernetesGroups) Anamethat you've specified in a KubernetesRoleBindingorClusterRoleBindingobject so that Kubernetes authorizes theprincipalARNaccess to cluster objects.kubernetesGroups(Collection<String> kubernetesGroups) Anamethat you've specified in a KubernetesRoleBindingorClusterRoleBindingobject so that Kubernetes authorizes theprincipalARNaccess to cluster objects.modifiedAt(Instant modifiedAt) The Unix epoch timestamp for the last modification to the object.principalArn(String principalArn) The ARN of the IAM principal for the access entry.Metadata that assists with categorization and organization.The type of the access entry.Thenameof a user that can authenticate to your cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterName
The name of your cluster.
- Parameters:
clusterName- The name of your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalArn
The ARN of the IAM principal for the access entry. If you ever delete the IAM principal with this ARN, the access entry isn't automatically deleted. We recommend that you delete the access entry with an ARN for an IAM principal that you delete. If you don't delete the access entry and ever recreate the IAM principal, even if it has the same ARN, the access entry won't work. This is because even though the ARN is the same for the recreated IAM principal, the
roleIDoruserID(you can see this with the Security Token ServiceGetCallerIdentityAPI) is different for the recreated IAM principal than it was for the original IAM principal. Even though you don't see the IAM principal'sroleIDoruserIDfor an access entry, Amazon EKS stores it with the access entry.- Parameters:
principalArn- The ARN of the IAM principal for the access entry. If you ever delete the IAM principal with this ARN, the access entry isn't automatically deleted. We recommend that you delete the access entry with an ARN for an IAM principal that you delete. If you don't delete the access entry and ever recreate the IAM principal, even if it has the same ARN, the access entry won't work. This is because even though the ARN is the same for the recreated IAM principal, theroleIDoruserID(you can see this with the Security Token ServiceGetCallerIdentityAPI) is different for the recreated IAM principal than it was for the original IAM principal. Even though you don't see the IAM principal'sroleIDoruserIDfor an access entry, Amazon EKS stores it with the access entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kubernetesGroups
A
namethat you've specified in a KubernetesRoleBindingorClusterRoleBindingobject so that Kubernetes authorizes theprincipalARNaccess to cluster objects.- Parameters:
kubernetesGroups- Anamethat you've specified in a KubernetesRoleBindingorClusterRoleBindingobject so that Kubernetes authorizes theprincipalARNaccess to cluster objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kubernetesGroups
A
namethat you've specified in a KubernetesRoleBindingorClusterRoleBindingobject so that Kubernetes authorizes theprincipalARNaccess to cluster objects.- Parameters:
kubernetesGroups- Anamethat you've specified in a KubernetesRoleBindingorClusterRoleBindingobject so that Kubernetes authorizes theprincipalARNaccess to cluster objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessEntryArn
The ARN of the access entry.
- Parameters:
accessEntryArn- The ARN of the access entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The Unix epoch timestamp at object creation.
- Parameters:
createdAt- The Unix epoch timestamp at object creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The Unix epoch timestamp for the last modification to the object.
- Parameters:
modifiedAt- The Unix epoch timestamp for the last modification to the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The
nameof a user that can authenticate to your cluster.- Parameters:
username- Thenameof a user that can authenticate to your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the access entry.
- Parameters:
type- The type of the access entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-