Interface AssumeDecoratedRoleWithSamlRequest.Builder

  • Method Details

    • 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

      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

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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.