Interface KubernetesRoleBindingDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KubernetesRoleBindingDetails.Builder,
,KubernetesRoleBindingDetails> SdkBuilder<KubernetesRoleBindingDetails.Builder,
,KubernetesRoleBindingDetails> SdkPojo
- Enclosing class:
KubernetesRoleBindingDetails
@Mutable
@NotThreadSafe
public static interface KubernetesRoleBindingDetails.Builder
extends SdkPojo, CopyableBuilder<KubernetesRoleBindingDetails.Builder,KubernetesRoleBindingDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe kind of the role.The name of theRoleBinding
.roleRefKind
(String roleRefKind) The type of the role being referenced.roleRefName
(String roleRefName) The name of the role being referenced.The unique identifier of the role binding.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, sdkFieldNameToField, sdkFields
-
Method Details
-
kind
The kind of the role. For role binding, this value will be
RoleBinding
.- Parameters:
kind
- The kind of the role. For role binding, this value will beRoleBinding
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the
RoleBinding
.- Parameters:
name
- The name of theRoleBinding
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uid
The unique identifier of the role binding.
- Parameters:
uid
- The unique identifier of the role binding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleRefName
The name of the role being referenced. This must match the name of the
Role
orClusterRole
that you want to bind to.- Parameters:
roleRefName
- The name of the role being referenced. This must match the name of theRole
orClusterRole
that you want to bind to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleRefKind
The type of the role being referenced. This could be either
Role
orClusterRole
.- Parameters:
roleRefKind
- The type of the role being referenced. This could be eitherRole
orClusterRole
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-