Interface AssumeRoleForPodIdentityResponse.Builder

    • Method Detail

      • subject

        AssumeRoleForPodIdentityResponse.Builder subject​(Subject subject)

        The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.

        Parameters:
        subject - The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • audience

        AssumeRoleForPodIdentityResponse.Builder audience​(String audience)

        The identity that is allowed to use the credentials. This value is always pods.eks.amazonaws.com .

        Parameters:
        audience - The identity that is allowed to use the credentials. This value is always pods.eks.amazonaws.com.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • podIdentityAssociation

        AssumeRoleForPodIdentityResponse.Builder podIdentityAssociation​(PodIdentityAssociation podIdentityAssociation)

        The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.

        Parameters:
        podIdentityAssociation - The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assumedRoleUser

        AssumeRoleForPodIdentityResponse.Builder assumedRoleUser​(AssumedRoleUser assumedRoleUser)

        An object with the permanent IAM role identity and the temporary session name.

        The ARN of the IAM role that the temporary credentials authenticate to.

        The session name of the temporary session requested to STS. The value is a unique identifier that contains the role ID, a colon (:), and the role session name of the role that is being assumed. The role ID is generated by IAM when the role is created. The role session name part of the value follows this format: eks-clustername-podname-random UUID

        Parameters:
        assumedRoleUser - An object with the permanent IAM role identity and the temporary session name.

        The ARN of the IAM role that the temporary credentials authenticate to.

        The session name of the temporary session requested to STS. The value is a unique identifier that contains the role ID, a colon (:), and the role session name of the role that is being assumed. The role ID is generated by IAM when the role is created. The role session name part of the value follows this format: eks-clustername-podname-random UUID

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • credentials

        AssumeRoleForPodIdentityResponse.Builder credentials​(Credentials credentials)

        The Amazon Web Services Signature Version 4 type of temporary credentials.

        Parameters:
        credentials - The Amazon Web Services Signature Version 4 type of temporary credentials.
        Returns:
        Returns a reference to this object so that method calls can be chained together.