Interface PortfolioShareDetail.Builder

    • Method Detail

      • principalId

        PortfolioShareDetail.Builder principalId​(String principalId)

        The identifier of the recipient entity that received the portfolio share. The recipient entity can be one of the following:

        1. An external account.

        2. An organziation member account.

        3. An organzational unit (OU).

        4. The organization itself. (This shares with every account in the organization).

        Parameters:
        principalId - The identifier of the recipient entity that received the portfolio share. The recipient entity can be one of the following:

        1. An external account.

        2. An organziation member account.

        3. An organzational unit (OU).

        4. The organization itself. (This shares with every account in the organization).

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

        PortfolioShareDetail.Builder accepted​(Boolean accepted)

        Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.

        Parameters:
        accepted - Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shareTagOptions

        PortfolioShareDetail.Builder shareTagOptions​(Boolean shareTagOptions)

        Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.

        Parameters:
        shareTagOptions - Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sharePrincipals

        PortfolioShareDetail.Builder sharePrincipals​(Boolean sharePrincipals)

        Indicates if Principal sharing is enabled or disabled for the portfolio share.

        Parameters:
        sharePrincipals - Indicates if Principal sharing is enabled or disabled for the portfolio share.
        Returns:
        Returns a reference to this object so that method calls can be chained together.