@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAccessEntryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAccessEntryRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAccessEntryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getClusterName()
The name of your cluster.
|
List<String> |
getKubernetesGroups()
The value for
name that you've specified for kind: Group as a subject in a
Kubernetes RoleBinding or ClusterRoleBinding object. |
String |
getPrincipalArn()
The ARN of the IAM principal for the
AccessEntry . |
String |
getUsername()
The username to authenticate to Kubernetes with.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setClusterName(String clusterName)
The name of your cluster.
|
void |
setKubernetesGroups(Collection<String> kubernetesGroups)
The value for
name that you've specified for kind: Group as a subject in a
Kubernetes RoleBinding or ClusterRoleBinding object. |
void |
setPrincipalArn(String principalArn)
The ARN of the IAM principal for the
AccessEntry . |
void |
setUsername(String username)
The username to authenticate to Kubernetes with.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAccessEntryRequest |
withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
UpdateAccessEntryRequest |
withClusterName(String clusterName)
The name of your cluster.
|
UpdateAccessEntryRequest |
withKubernetesGroups(Collection<String> kubernetesGroups)
The value for
name that you've specified for kind: Group as a subject in a
Kubernetes RoleBinding or ClusterRoleBinding object. |
UpdateAccessEntryRequest |
withKubernetesGroups(String... kubernetesGroups)
The value for
name that you've specified for kind: Group as a subject in a
Kubernetes RoleBinding or ClusterRoleBinding object. |
UpdateAccessEntryRequest |
withPrincipalArn(String principalArn)
The ARN of the IAM principal for the
AccessEntry . |
UpdateAccessEntryRequest |
withUsername(String username)
The username to authenticate to Kubernetes with.
|
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, withSdkRequestTimeout
public void setClusterName(String clusterName)
The name of your cluster.
clusterName
- The name of your cluster.public String getClusterName()
The name of your cluster.
public UpdateAccessEntryRequest withClusterName(String clusterName)
The name of your cluster.
clusterName
- The name of your cluster.public void setPrincipalArn(String principalArn)
The ARN of the IAM principal for the AccessEntry
.
principalArn
- The ARN of the IAM principal for the AccessEntry
.public String getPrincipalArn()
The ARN of the IAM principal for the AccessEntry
.
AccessEntry
.public UpdateAccessEntryRequest withPrincipalArn(String principalArn)
The ARN of the IAM principal for the AccessEntry
.
principalArn
- The ARN of the IAM principal for the AccessEntry
.public List<String> getKubernetesGroups()
The value for name
that you've specified for kind: Group
as a subject
in a
Kubernetes RoleBinding
or ClusterRoleBinding
object. Amazon EKS doesn't confirm that
the value for name
exists in any bindings on your cluster. You can specify one or more names.
Kubernetes authorizes the principalArn
of the access entry to access any cluster objects that you've
specified in a Kubernetes Role
or ClusterRole
object that is also specified in a
binding's roleRef
. For more information about creating Kubernetes RoleBinding
,
ClusterRoleBinding
, Role
, or ClusterRole
objects, see Using RBAC Authorization in the Kubernetes
documentation.
If you want Amazon EKS to authorize the principalArn
(instead of, or in addition to Kubernetes
authorizing the principalArn
), you can associate one or more access policies to the access entry
using AssociateAccessPolicy
. If you associate any access policies, the principalARN
has
all permissions assigned in the associated access policies and all permissions in any Kubernetes
Role
or ClusterRole
objects that the group names are bound to.
name
that you've specified for kind: Group
as a
subject
in a Kubernetes RoleBinding
or ClusterRoleBinding
object.
Amazon EKS doesn't confirm that the value for name
exists in any bindings on your cluster.
You can specify one or more names.
Kubernetes authorizes the principalArn
of the access entry to access any cluster objects
that you've specified in a Kubernetes Role
or ClusterRole
object that is also
specified in a binding's roleRef
. For more information about creating Kubernetes
RoleBinding
, ClusterRoleBinding
, Role
, or ClusterRole
objects, see Using RBAC
Authorization in the Kubernetes documentation.
If you want Amazon EKS to authorize the principalArn
(instead of, or in addition to
Kubernetes authorizing the principalArn
), you can associate one or more access policies to
the access entry using AssociateAccessPolicy
. If you associate any access policies, the
principalARN
has all permissions assigned in the associated access policies and all
permissions in any Kubernetes Role
or ClusterRole
objects that the group names
are bound to.
public void setKubernetesGroups(Collection<String> kubernetesGroups)
The value for name
that you've specified for kind: Group
as a subject
in a
Kubernetes RoleBinding
or ClusterRoleBinding
object. Amazon EKS doesn't confirm that
the value for name
exists in any bindings on your cluster. You can specify one or more names.
Kubernetes authorizes the principalArn
of the access entry to access any cluster objects that you've
specified in a Kubernetes Role
or ClusterRole
object that is also specified in a
binding's roleRef
. For more information about creating Kubernetes RoleBinding
,
ClusterRoleBinding
, Role
, or ClusterRole
objects, see Using RBAC Authorization in the Kubernetes
documentation.
If you want Amazon EKS to authorize the principalArn
(instead of, or in addition to Kubernetes
authorizing the principalArn
), you can associate one or more access policies to the access entry
using AssociateAccessPolicy
. If you associate any access policies, the principalARN
has
all permissions assigned in the associated access policies and all permissions in any Kubernetes
Role
or ClusterRole
objects that the group names are bound to.
kubernetesGroups
- The value for name
that you've specified for kind: Group
as a
subject
in a Kubernetes RoleBinding
or ClusterRoleBinding
object.
Amazon EKS doesn't confirm that the value for name
exists in any bindings on your cluster.
You can specify one or more names.
Kubernetes authorizes the principalArn
of the access entry to access any cluster objects that
you've specified in a Kubernetes Role
or ClusterRole
object that is also
specified in a binding's roleRef
. For more information about creating Kubernetes
RoleBinding
, ClusterRoleBinding
, Role
, or ClusterRole
objects, see Using RBAC
Authorization in the Kubernetes documentation.
If you want Amazon EKS to authorize the principalArn
(instead of, or in addition to
Kubernetes authorizing the principalArn
), you can associate one or more access policies to
the access entry using AssociateAccessPolicy
. If you associate any access policies, the
principalARN
has all permissions assigned in the associated access policies and all
permissions in any Kubernetes Role
or ClusterRole
objects that the group names
are bound to.
public UpdateAccessEntryRequest withKubernetesGroups(String... kubernetesGroups)
The value for name
that you've specified for kind: Group
as a subject
in a
Kubernetes RoleBinding
or ClusterRoleBinding
object. Amazon EKS doesn't confirm that
the value for name
exists in any bindings on your cluster. You can specify one or more names.
Kubernetes authorizes the principalArn
of the access entry to access any cluster objects that you've
specified in a Kubernetes Role
or ClusterRole
object that is also specified in a
binding's roleRef
. For more information about creating Kubernetes RoleBinding
,
ClusterRoleBinding
, Role
, or ClusterRole
objects, see Using RBAC Authorization in the Kubernetes
documentation.
If you want Amazon EKS to authorize the principalArn
(instead of, or in addition to Kubernetes
authorizing the principalArn
), you can associate one or more access policies to the access entry
using AssociateAccessPolicy
. If you associate any access policies, the principalARN
has
all permissions assigned in the associated access policies and all permissions in any Kubernetes
Role
or ClusterRole
objects that the group names are bound to.
NOTE: This method appends the values to the existing list (if any). Use
setKubernetesGroups(java.util.Collection)
or withKubernetesGroups(java.util.Collection)
if you
want to override the existing values.
kubernetesGroups
- The value for name
that you've specified for kind: Group
as a
subject
in a Kubernetes RoleBinding
or ClusterRoleBinding
object.
Amazon EKS doesn't confirm that the value for name
exists in any bindings on your cluster.
You can specify one or more names.
Kubernetes authorizes the principalArn
of the access entry to access any cluster objects that
you've specified in a Kubernetes Role
or ClusterRole
object that is also
specified in a binding's roleRef
. For more information about creating Kubernetes
RoleBinding
, ClusterRoleBinding
, Role
, or ClusterRole
objects, see Using RBAC
Authorization in the Kubernetes documentation.
If you want Amazon EKS to authorize the principalArn
(instead of, or in addition to
Kubernetes authorizing the principalArn
), you can associate one or more access policies to
the access entry using AssociateAccessPolicy
. If you associate any access policies, the
principalARN
has all permissions assigned in the associated access policies and all
permissions in any Kubernetes Role
or ClusterRole
objects that the group names
are bound to.
public UpdateAccessEntryRequest withKubernetesGroups(Collection<String> kubernetesGroups)
The value for name
that you've specified for kind: Group
as a subject
in a
Kubernetes RoleBinding
or ClusterRoleBinding
object. Amazon EKS doesn't confirm that
the value for name
exists in any bindings on your cluster. You can specify one or more names.
Kubernetes authorizes the principalArn
of the access entry to access any cluster objects that you've
specified in a Kubernetes Role
or ClusterRole
object that is also specified in a
binding's roleRef
. For more information about creating Kubernetes RoleBinding
,
ClusterRoleBinding
, Role
, or ClusterRole
objects, see Using RBAC Authorization in the Kubernetes
documentation.
If you want Amazon EKS to authorize the principalArn
(instead of, or in addition to Kubernetes
authorizing the principalArn
), you can associate one or more access policies to the access entry
using AssociateAccessPolicy
. If you associate any access policies, the principalARN
has
all permissions assigned in the associated access policies and all permissions in any Kubernetes
Role
or ClusterRole
objects that the group names are bound to.
kubernetesGroups
- The value for name
that you've specified for kind: Group
as a
subject
in a Kubernetes RoleBinding
or ClusterRoleBinding
object.
Amazon EKS doesn't confirm that the value for name
exists in any bindings on your cluster.
You can specify one or more names.
Kubernetes authorizes the principalArn
of the access entry to access any cluster objects that
you've specified in a Kubernetes Role
or ClusterRole
object that is also
specified in a binding's roleRef
. For more information about creating Kubernetes
RoleBinding
, ClusterRoleBinding
, Role
, or ClusterRole
objects, see Using RBAC
Authorization in the Kubernetes documentation.
If you want Amazon EKS to authorize the principalArn
(instead of, or in addition to
Kubernetes authorizing the principalArn
), you can associate one or more access policies to
the access entry using AssociateAccessPolicy
. If you associate any access policies, the
principalARN
has all permissions assigned in the associated access policies and all
permissions in any Kubernetes Role
or ClusterRole
objects that the group names
are bound to.
public void setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientRequestToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public UpdateAccessEntryRequest withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public void setUsername(String username)
The username to authenticate to Kubernetes with. We recommend not specifying a username and letting Amazon EKS specify it for you. For more information about the value Amazon EKS specifies for you, or constraints before specifying your own username, see Creating access entries in the Amazon EKS User Guide.
username
- The username to authenticate to Kubernetes with. We recommend not specifying a username and letting Amazon
EKS specify it for you. For more information about the value Amazon EKS specifies for you, or constraints
before specifying your own username, see Creating access entries in the Amazon EKS User Guide.public String getUsername()
The username to authenticate to Kubernetes with. We recommend not specifying a username and letting Amazon EKS specify it for you. For more information about the value Amazon EKS specifies for you, or constraints before specifying your own username, see Creating access entries in the Amazon EKS User Guide.
public UpdateAccessEntryRequest withUsername(String username)
The username to authenticate to Kubernetes with. We recommend not specifying a username and letting Amazon EKS specify it for you. For more information about the value Amazon EKS specifies for you, or constraints before specifying your own username, see Creating access entries in the Amazon EKS User Guide.
username
- The username to authenticate to Kubernetes with. We recommend not specifying a username and letting Amazon
EKS specify it for you. For more information about the value Amazon EKS specifies for you, or constraints
before specifying your own username, see Creating access entries in the Amazon EKS User Guide.public String toString()
toString
in class Object
Object.toString()
public UpdateAccessEntryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()