Interface KubernetesUserDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KubernetesUserDetails.Builder,
,KubernetesUserDetails> SdkBuilder<KubernetesUserDetails.Builder,
,KubernetesUserDetails> SdkPojo
- Enclosing class:
KubernetesUserDetails
public static interface KubernetesUserDetails.Builder
extends SdkPojo, CopyableBuilder<KubernetesUserDetails.Builder,KubernetesUserDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe groups that include the user who called the Kubernetes API.groups
(Collection<String> groups) The groups that include the user who called the Kubernetes API.default KubernetesUserDetails.Builder
impersonatedUser
(Consumer<ImpersonatedUser.Builder> impersonatedUser) Information about the impersonated user.impersonatedUser
(ImpersonatedUser impersonatedUser) Information about the impersonated user.sessionName
(String... sessionName) Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.sessionName
(Collection<String> sessionName) Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.The user ID of the user who called the Kubernetes API.The username of the user who called the Kubernetes API.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
username
The username of the user who called the Kubernetes API.
- Parameters:
username
- The username of the user who called the Kubernetes API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uid
The user ID of the user who called the Kubernetes API.
- Parameters:
uid
- The user ID of the user who called the Kubernetes API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
The groups that include the user who called the Kubernetes API.
- Parameters:
groups
- The groups that include the user who called the Kubernetes API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
The groups that include the user who called the Kubernetes API.
- Parameters:
groups
- The groups that include the user who called the Kubernetes API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionName
Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.
- Parameters:
sessionName
- Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionName
Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.
- Parameters:
sessionName
- Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impersonatedUser
Information about the impersonated user.
- Parameters:
impersonatedUser
- Information about the impersonated user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impersonatedUser
default KubernetesUserDetails.Builder impersonatedUser(Consumer<ImpersonatedUser.Builder> impersonatedUser) Information about the impersonated user.
This is a convenience method that creates an instance of theImpersonatedUser.Builder
avoiding the need to create one manually viaImpersonatedUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimpersonatedUser(ImpersonatedUser)
.- Parameters:
impersonatedUser
- a consumer that will call methods onImpersonatedUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-