Interface AssumeDecoratedRoleWithSamlRequest.Builder

    • Method Detail

      • samlAssertion

        AssumeDecoratedRoleWithSamlRequest.Builder samlAssertion​(String samlAssertion)

        A SAML assertion consisting of an assertion statement for the user who needs temporary credentials. This must match the SAML assertion that was issued to IAM. This must be Base64 encoded.

        Parameters:
        samlAssertion - A SAML assertion consisting of an assertion statement for the user who needs temporary credentials. This must match the SAML assertion that was issued to IAM. This must be Base64 encoded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        AssumeDecoratedRoleWithSamlRequest.Builder roleArn​(String roleArn)

        The role that represents an IAM principal whose scope down policy allows it to call credential vending APIs such as GetTemporaryTableCredentials. The caller must also have iam:PassRole permission on this role.

        Parameters:
        roleArn - The role that represents an IAM principal whose scope down policy allows it to call credential vending APIs such as GetTemporaryTableCredentials. The caller must also have iam:PassRole permission on this role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principalArn

        AssumeDecoratedRoleWithSamlRequest.Builder principalArn​(String principalArn)

        The Amazon Resource Name (ARN) of the SAML provider in IAM that describes the IdP.

        Parameters:
        principalArn - The Amazon Resource Name (ARN) of the SAML provider in IAM that describes the IdP.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • durationSeconds

        AssumeDecoratedRoleWithSamlRequest.Builder durationSeconds​(Integer durationSeconds)

        The time period, between 900 and 43,200 seconds, for the timeout of the temporary credentials.

        Parameters:
        durationSeconds - The time period, between 900 and 43,200 seconds, for the timeout of the temporary credentials.
        Returns:
        Returns a reference to this object so that method calls can be chained together.