Interface AccountAssignment.Builder

    • Method Detail

      • accountId

        AccountAssignment.Builder accountId​(String accountId)

        The identifier of the Amazon Web Services account.

        Parameters:
        accountId - The identifier of the Amazon Web Services account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principalId

        AccountAssignment.Builder principalId​(String principalId)

        An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.

        Parameters:
        principalId - An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principalType

        AccountAssignment.Builder principalType​(String principalType)

        The entity type for which the assignment will be created.

        Parameters:
        principalType - The entity type for which the assignment will be created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PrincipalType, PrincipalType
      • principalType

        AccountAssignment.Builder principalType​(PrincipalType principalType)

        The entity type for which the assignment will be created.

        Parameters:
        principalType - The entity type for which the assignment will be created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PrincipalType, PrincipalType