Class DescribePortfolioSharesRequest

    • Method Detail

      • portfolioId

        public final String portfolioId()

        The unique identifier of the portfolio for which shares will be retrieved.

        Returns:
        The unique identifier of the portfolio for which shares will be retrieved.
      • type

        public final DescribePortfolioShareType type()

        The type of portfolio share to summarize. This field acts as a filter on the type of portfolio share, which can be one of the following:

        1. ACCOUNT - Represents an external account to account share.

        2. ORGANIZATION - Represents a share to an organization. This share is available to every account in the organization.

        3. ORGANIZATIONAL_UNIT - Represents a share to an organizational unit.

        4. ORGANIZATION_MEMBER_ACCOUNT - Represents a share to an account in the organization.

        If the service returns an enum value that is not available in the current SDK version, type will return DescribePortfolioShareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The type of portfolio share to summarize. This field acts as a filter on the type of portfolio share, which can be one of the following:

        1. ACCOUNT - Represents an external account to account share.

        2. ORGANIZATION - Represents a share to an organization. This share is available to every account in the organization.

        3. ORGANIZATIONAL_UNIT - Represents a share to an organizational unit.

        4. ORGANIZATION_MEMBER_ACCOUNT - Represents a share to an account in the organization.

        See Also:
        DescribePortfolioShareType
      • typeAsString

        public final String typeAsString()

        The type of portfolio share to summarize. This field acts as a filter on the type of portfolio share, which can be one of the following:

        1. ACCOUNT - Represents an external account to account share.

        2. ORGANIZATION - Represents a share to an organization. This share is available to every account in the organization.

        3. ORGANIZATIONAL_UNIT - Represents a share to an organizational unit.

        4. ORGANIZATION_MEMBER_ACCOUNT - Represents a share to an account in the organization.

        If the service returns an enum value that is not available in the current SDK version, type will return DescribePortfolioShareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The type of portfolio share to summarize. This field acts as a filter on the type of portfolio share, which can be one of the following:

        1. ACCOUNT - Represents an external account to account share.

        2. ORGANIZATION - Represents a share to an organization. This share is available to every account in the organization.

        3. ORGANIZATIONAL_UNIT - Represents a share to an organizational unit.

        4. ORGANIZATION_MEMBER_ACCOUNT - Represents a share to an account in the organization.

        See Also:
        DescribePortfolioShareType
      • pageToken

        public final String pageToken()

        The page token for the next set of results. To retrieve the first set of results, use null.

        Returns:
        The page token for the next set of results. To retrieve the first set of results, use null.
      • pageSize

        public final Integer pageSize()

        The maximum number of items to return with this call.

        Returns:
        The maximum number of items to return with this call.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object