@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateAccessPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateAccessPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateAccessPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AccessScope |
getAccessScope()
The scope for the
AccessPolicy . |
String |
getClusterName()
The name of your cluster.
|
String |
getPolicyArn()
The ARN of the
AccessPolicy that you're associating. |
String |
getPrincipalArn()
The Amazon Resource Name (ARN) of the IAM user or role for the
AccessEntry that you're associating
the access policy to. |
int |
hashCode() |
void |
setAccessScope(AccessScope accessScope)
The scope for the
AccessPolicy . |
void |
setClusterName(String clusterName)
The name of your cluster.
|
void |
setPolicyArn(String policyArn)
The ARN of the
AccessPolicy that you're associating. |
void |
setPrincipalArn(String principalArn)
The Amazon Resource Name (ARN) of the IAM user or role for the
AccessEntry that you're associating
the access policy to. |
String |
toString()
Returns a string representation of this object.
|
AssociateAccessPolicyRequest |
withAccessScope(AccessScope accessScope)
The scope for the
AccessPolicy . |
AssociateAccessPolicyRequest |
withClusterName(String clusterName)
The name of your cluster.
|
AssociateAccessPolicyRequest |
withPolicyArn(String policyArn)
The ARN of the
AccessPolicy that you're associating. |
AssociateAccessPolicyRequest |
withPrincipalArn(String principalArn)
The Amazon Resource Name (ARN) of the IAM user or role for the
AccessEntry that you're associating
the access policy to. |
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 AssociateAccessPolicyRequest withClusterName(String clusterName)
The name of your cluster.
clusterName
- The name of your cluster.public void setPrincipalArn(String principalArn)
The Amazon Resource Name (ARN) of the IAM user or role for the AccessEntry
that you're associating
the access policy to.
principalArn
- The Amazon Resource Name (ARN) of the IAM user or role for the AccessEntry
that you're
associating the access policy to.public String getPrincipalArn()
The Amazon Resource Name (ARN) of the IAM user or role for the AccessEntry
that you're associating
the access policy to.
AccessEntry
that you're
associating the access policy to.public AssociateAccessPolicyRequest withPrincipalArn(String principalArn)
The Amazon Resource Name (ARN) of the IAM user or role for the AccessEntry
that you're associating
the access policy to.
principalArn
- The Amazon Resource Name (ARN) of the IAM user or role for the AccessEntry
that you're
associating the access policy to.public void setPolicyArn(String policyArn)
The ARN of the AccessPolicy
that you're associating. For a list of ARNs, use
ListAccessPolicies
.
policyArn
- The ARN of the AccessPolicy
that you're associating. For a list of ARNs, use
ListAccessPolicies
.public String getPolicyArn()
The ARN of the AccessPolicy
that you're associating. For a list of ARNs, use
ListAccessPolicies
.
AccessPolicy
that you're associating. For a list of ARNs, use
ListAccessPolicies
.public AssociateAccessPolicyRequest withPolicyArn(String policyArn)
The ARN of the AccessPolicy
that you're associating. For a list of ARNs, use
ListAccessPolicies
.
policyArn
- The ARN of the AccessPolicy
that you're associating. For a list of ARNs, use
ListAccessPolicies
.public void setAccessScope(AccessScope accessScope)
The scope for the AccessPolicy
. You can scope access policies to an entire cluster or to specific
Kubernetes namespaces.
accessScope
- The scope for the AccessPolicy
. You can scope access policies to an entire cluster or to
specific Kubernetes namespaces.public AccessScope getAccessScope()
The scope for the AccessPolicy
. You can scope access policies to an entire cluster or to specific
Kubernetes namespaces.
AccessPolicy
. You can scope access policies to an entire cluster or to
specific Kubernetes namespaces.public AssociateAccessPolicyRequest withAccessScope(AccessScope accessScope)
The scope for the AccessPolicy
. You can scope access policies to an entire cluster or to specific
Kubernetes namespaces.
accessScope
- The scope for the AccessPolicy
. You can scope access policies to an entire cluster or to
specific Kubernetes namespaces.public String toString()
toString
in class Object
Object.toString()
public AssociateAccessPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()