JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.eks.model

Class AssociateAccessPolicyRequest

    • Constructor Detail

      • AssociateAccessPolicyRequest

        public AssociateAccessPolicyRequest()
    • Method Detail

      • setClusterName

        public void setClusterName(String clusterName)

        The name of your cluster.

        Parameters:
        clusterName - The name of your cluster.
      • getClusterName

        public String getClusterName()

        The name of your cluster.

        Returns:
        The name of your cluster.
      • withClusterName

        public AssociateAccessPolicyRequest withClusterName(String 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.
      • setPrincipalArn

        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.

        Parameters:
        principalArn - The Amazon Resource Name (ARN) of the IAM user or role for the AccessEntry that you're associating the access policy to.
      • getPrincipalArn

        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.

        Returns:
        The Amazon Resource Name (ARN) of the IAM user or role for the AccessEntry that you're associating the access policy to.
      • withPrincipalArn

        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.

        Parameters:
        principalArn - The Amazon Resource Name (ARN) of the IAM user or role for the AccessEntry that you're associating the access policy to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPolicyArn

        public void setPolicyArn(String policyArn)

        The ARN of the AccessPolicy that you're associating. For a list of ARNs, use ListAccessPolicies.

        Parameters:
        policyArn - The ARN of the AccessPolicy that you're associating. For a list of ARNs, use ListAccessPolicies.
      • getPolicyArn

        public String getPolicyArn()

        The ARN of the AccessPolicy that you're associating. For a list of ARNs, use ListAccessPolicies.

        Returns:
        The ARN of the AccessPolicy that you're associating. For a list of ARNs, use ListAccessPolicies.
      • withPolicyArn

        public AssociateAccessPolicyRequest withPolicyArn(String policyArn)

        The ARN of the AccessPolicy that you're associating. For a list of ARNs, use ListAccessPolicies.

        Parameters:
        policyArn - The ARN of the AccessPolicy that you're associating. For a list of ARNs, use ListAccessPolicies.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAccessScope

        public void setAccessScope(AccessScope accessScope)

        The scope for the AccessPolicy. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.

        Parameters:
        accessScope - The scope for the AccessPolicy. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.
      • getAccessScope

        public AccessScope getAccessScope()

        The scope for the AccessPolicy. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.

        Returns:
        The scope for the AccessPolicy. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.
      • withAccessScope

        public AssociateAccessPolicyRequest withAccessScope(AccessScope accessScope)

        The scope for the AccessPolicy. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.

        Parameters:
        accessScope - The scope for the AccessPolicy. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /