Interface ListPrincipalsForPortfolioResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListPrincipalsForPortfolioResponse.Builder,ListPrincipalsForPortfolioResponse>, SdkBuilder<ListPrincipalsForPortfolioResponse.Builder,ListPrincipalsForPortfolioResponse>, SdkPojo, SdkResponse.Builder, ServiceCatalogResponse.Builder
Enclosing class:
ListPrincipalsForPortfolioResponse

  • Method Details

    • principals

      The PrincipalARNs and corresponding PrincipalTypes associated with the portfolio.

      Parameters:
      principals - The PrincipalARNs and corresponding PrincipalTypes associated with the portfolio.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principals

      The PrincipalARNs and corresponding PrincipalTypes associated with the portfolio.

      Parameters:
      principals - The PrincipalARNs and corresponding PrincipalTypes associated with the portfolio.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principals

      The PrincipalARNs and corresponding PrincipalTypes associated with the portfolio.

      This is a convenience method that creates an instance of the Principal.Builder avoiding the need to create one manually via Principal.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to principals(List<Principal>).

      Parameters:
      principals - a consumer that will call methods on Principal.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextPageToken

      ListPrincipalsForPortfolioResponse.Builder nextPageToken(String nextPageToken)

      The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

      Parameters:
      nextPageToken - The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.