Interface OriginIdentity.Builder

  • Method Details

    • subject

      OriginIdentity.Builder subject(String subject)

      The value of the aws:OriginIdentity/Subject key: the end user's identifier, taken from the token claim that the context provider maps as the subject.

      Parameters:
      subject - The value of the aws:OriginIdentity/Subject key: the end user's identifier, taken from the token claim that the context provider maps as the subject.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subjectType

      OriginIdentity.Builder subjectType(String subjectType)

      The value of the aws:OriginIdentity/SubjectType key, which indicates whether the end user is a person (user) or a non-human caller such as an application or service (workload).

      Parameters:
      subjectType - The value of the aws:OriginIdentity/SubjectType key, which indicates whether the end user is a person (user) or a non-human caller such as an application or service ( workload).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuer

      The value of the aws:OriginIdentity/Issuer key. For AssumeRoleWithWebIdentity, this is the iss claim of the token without the https:// prefix. For AssumeRoleWithSAML, this is a hash of the key that signed the SAML assertion, not the Issuer element of the assertion.

      Parameters:
      issuer - The value of the aws:OriginIdentity/Issuer key. For AssumeRoleWithWebIdentity, this is the iss claim of the token without the https:// prefix. For AssumeRoleWithSAML, this is a hash of the key that signed the SAML assertion, not the Issuer element of the assertion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • federatedProviderArn

      OriginIdentity.Builder federatedProviderArn(String federatedProviderArn)

      The value of the aws:OriginIdentity/FederatedProviderArn key: the ARN of the IAM identity provider that the request federated through.

      Parameters:
      federatedProviderArn - The value of the aws:OriginIdentity/FederatedProviderArn key: the ARN of the IAM identity provider that the request federated through.
      Returns:
      Returns a reference to this object so that method calls can be chained together.