Interface ListPrincipalsForPortfolioResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPrincipalsForPortfolioResponse.Builder,
,ListPrincipalsForPortfolioResponse> SdkBuilder<ListPrincipalsForPortfolioResponse.Builder,
,ListPrincipalsForPortfolioResponse> SdkPojo
,SdkResponse.Builder
,ServiceCatalogResponse.Builder
- Enclosing class:
ListPrincipalsForPortfolioResponse
public static interface ListPrincipalsForPortfolioResponse.Builder
extends ServiceCatalogResponse.Builder, SdkPojo, CopyableBuilder<ListPrincipalsForPortfolioResponse.Builder,ListPrincipalsForPortfolioResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextPageToken
(String nextPageToken) The page token to use to retrieve the next set of results.principals
(Collection<Principal> principals) ThePrincipalARN
s and correspondingPrincipalType
s associated with the portfolio.principals
(Consumer<Principal.Builder>... principals) ThePrincipalARN
s and correspondingPrincipalType
s associated with the portfolio.principals
(Principal... principals) ThePrincipalARN
s and correspondingPrincipalType
s associated with the portfolio.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.servicecatalog.model.ServiceCatalogResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
principals
The
PrincipalARN
s and correspondingPrincipalType
s associated with the portfolio.- Parameters:
principals
- ThePrincipalARN
s and correspondingPrincipalType
s associated with the portfolio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
The
PrincipalARN
s and correspondingPrincipalType
s associated with the portfolio.- Parameters:
principals
- ThePrincipalARN
s and correspondingPrincipalType
s associated with the portfolio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
The
This is a convenience method that creates an instance of thePrincipalARN
s and correspondingPrincipalType
s associated with the portfolio.Principal.Builder
avoiding the need to create one manually viaPrincipal.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprincipals(List<Principal>)
.- Parameters:
principals
- a consumer that will call methods onPrincipal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-