CopyableBuilder<ListPrincipalsForPortfolioResponse.Builder,ListPrincipalsForPortfolioResponse>
, SdkBuilder<ListPrincipalsForPortfolioResponse.Builder,ListPrincipalsForPortfolioResponse>
public static interface ListPrincipalsForPortfolioResponse.Builder extends CopyableBuilder<ListPrincipalsForPortfolioResponse.Builder,ListPrincipalsForPortfolioResponse>
Modifier and Type | Method | Description |
---|---|---|
ListPrincipalsForPortfolioResponse.Builder |
nextPageToken(String nextPageToken) |
The page token to use to retrieve the next page of results for this operation.
|
ListPrincipalsForPortfolioResponse.Builder |
principals(Collection<Principal> principals) |
The IAM principals (users or roles) associated with the portfolio.
|
ListPrincipalsForPortfolioResponse.Builder |
principals(Principal... principals) |
The IAM principals (users or roles) associated with the portfolio.
|
copy
apply, build
ListPrincipalsForPortfolioResponse.Builder principals(Collection<Principal> principals)
The IAM principals (users or roles) associated with the portfolio.
principals
- The IAM principals (users or roles) associated with the portfolio.ListPrincipalsForPortfolioResponse.Builder principals(Principal... principals)
The IAM principals (users or roles) associated with the portfolio.
NOTE: This method appends the values to the existing list (if any). Use
#setPrincipals(java.util.Collection)
or #withPrincipals(java.util.Collection)
if you want to
override the existing values.
principals
- The IAM principals (users or roles) associated with the portfolio.ListPrincipalsForPortfolioResponse.Builder nextPageToken(String nextPageToken)
The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextPageToken
- The page token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.