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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPrincipalsForPortfolioResponse.BuildernextPageToken(String nextPageToken)The page token to use to retrieve the next set of results.ListPrincipalsForPortfolioResponse.Builderprincipals(Collection<Principal> principals)ThePrincipalARNs and correspondingPrincipalTypes associated with the portfolio.ListPrincipalsForPortfolioResponse.Builderprincipals(Consumer<Principal.Builder>... principals)ThePrincipalARNs and correspondingPrincipalTypes associated with the portfolio.ListPrincipalsForPortfolioResponse.Builderprincipals(Principal... principals)ThePrincipalARNs and correspondingPrincipalTypes 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 Detail
-
principals
ListPrincipalsForPortfolioResponse.Builder principals(Collection<Principal> principals)
The
PrincipalARNs and correspondingPrincipalTypes associated with the portfolio.- Parameters:
principals- ThePrincipalARNs and correspondingPrincipalTypes associated with the portfolio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
ListPrincipalsForPortfolioResponse.Builder principals(Principal... principals)
The
PrincipalARNs and correspondingPrincipalTypes associated with the portfolio.- Parameters:
principals- ThePrincipalARNs and correspondingPrincipalTypes associated with the portfolio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
ListPrincipalsForPortfolioResponse.Builder principals(Consumer<Principal.Builder>... principals)
The
This is a convenience method that creates an instance of thePrincipalARNs and correspondingPrincipalTypes associated with the portfolio.Principal.Builderavoiding the need to create one manually viaPrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#principals(List.) - 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:
#principals(java.util.Collection)
-
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.
-
-