Interface DescribePortfolioSharesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribePortfolioSharesResponse.Builder,DescribePortfolioSharesResponse>,SdkBuilder<DescribePortfolioSharesResponse.Builder,DescribePortfolioSharesResponse>,SdkPojo,SdkResponse.Builder,ServiceCatalogResponse.Builder
- Enclosing class:
- DescribePortfolioSharesResponse
public static interface DescribePortfolioSharesResponse.Builder extends ServiceCatalogResponse.Builder, SdkPojo, CopyableBuilder<DescribePortfolioSharesResponse.Builder,DescribePortfolioSharesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribePortfolioSharesResponse.BuildernextPageToken(String nextPageToken)The page token to use to retrieve the next set of results.DescribePortfolioSharesResponse.BuilderportfolioShareDetails(Collection<PortfolioShareDetail> portfolioShareDetails)Summaries about each of the portfolio shares.DescribePortfolioSharesResponse.BuilderportfolioShareDetails(Consumer<PortfolioShareDetail.Builder>... portfolioShareDetails)Summaries about each of the portfolio shares.DescribePortfolioSharesResponse.BuilderportfolioShareDetails(PortfolioShareDetail... portfolioShareDetails)Summaries about each of the portfolio shares.-
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, sdkFieldNameToField, 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
-
nextPageToken
DescribePortfolioSharesResponse.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.
-
portfolioShareDetails
DescribePortfolioSharesResponse.Builder portfolioShareDetails(Collection<PortfolioShareDetail> portfolioShareDetails)
Summaries about each of the portfolio shares.
- Parameters:
portfolioShareDetails- Summaries about each of the portfolio shares.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portfolioShareDetails
DescribePortfolioSharesResponse.Builder portfolioShareDetails(PortfolioShareDetail... portfolioShareDetails)
Summaries about each of the portfolio shares.
- Parameters:
portfolioShareDetails- Summaries about each of the portfolio shares.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portfolioShareDetails
DescribePortfolioSharesResponse.Builder portfolioShareDetails(Consumer<PortfolioShareDetail.Builder>... portfolioShareDetails)
Summaries about each of the portfolio shares.
This is a convenience method that creates an instance of thePortfolioShareDetail.Builderavoiding the need to create one manually viaPortfolioShareDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#portfolioShareDetails(List.) - Parameters:
portfolioShareDetails- a consumer that will call methods onPortfolioShareDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#portfolioShareDetails(java.util.Collection)
-
-