Interface SpendPrincipal.Builder

  • Method Details

    • type

      The kind of principal. Valid values are IDENTITY_CENTER_USER and IAM_PRINCIPAL.

      Parameters:
      type - The kind of principal. Valid values are IDENTITY_CENTER_USER and IAM_PRINCIPAL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The kind of principal. Valid values are IDENTITY_CENTER_USER and IAM_PRINCIPAL.

      Parameters:
      type - The kind of principal. Valid values are IDENTITY_CENTER_USER and IAM_PRINCIPAL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • id

      The ID of the principal. The value depends on the principal type:

      • For an Identity Center user, specify the user ID.

      • For an IAM principal, specify the ARN of the IAM root user, IAM user or role, or the STS assumed-role or federated-user ARN.

      Parameters:
      id - The ID of the principal. The value depends on the principal type:

      • For an Identity Center user, specify the user ID.

      • For an IAM principal, specify the ARN of the IAM root user, IAM user or role, or the STS assumed-role or federated-user ARN.

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