Interface AssumeRoleForPodIdentityResponse.Builder

  • Method Details

    • 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.
    • subject

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

      This is a convenience method that creates an instance of the Subject.Builder avoiding the need to create one manually via Subject.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subject(Subject).

      Parameters:
      subject - a consumer that will call methods on Subject.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • podIdentityAssociation

      default AssumeRoleForPodIdentityResponse.Builder podIdentityAssociation(Consumer<PodIdentityAssociation.Builder> podIdentityAssociation)

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

      This is a convenience method that creates an instance of the PodIdentityAssociation.Builder avoiding the need to create one manually via PodIdentityAssociation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to podIdentityAssociation(PodIdentityAssociation).

      Parameters:
      podIdentityAssociation - a consumer that will call methods on PodIdentityAssociation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • 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

      This is a convenience method that creates an instance of the AssumedRoleUser.Builder avoiding the need to create one manually via AssumedRoleUser.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to assumedRoleUser(AssumedRoleUser).

      Parameters:
      assumedRoleUser - a consumer that will call methods on AssumedRoleUser.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • credentials

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

      This is a convenience method that creates an instance of the Credentials.Builder avoiding the need to create one manually via Credentials.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to credentials(Credentials).

      Parameters:
      credentials - a consumer that will call methods on Credentials.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: