Interface CreatePortfolioResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreatePortfolioResponse.Builder,CreatePortfolioResponse>,SdkBuilder<CreatePortfolioResponse.Builder,CreatePortfolioResponse>,SdkPojo,SdkResponse.Builder,ServiceCatalogResponse.Builder
- Enclosing class:
- CreatePortfolioResponse
public static interface CreatePortfolioResponse.Builder extends ServiceCatalogResponse.Builder, SdkPojo, CopyableBuilder<CreatePortfolioResponse.Builder,CreatePortfolioResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreatePortfolioResponse.BuilderportfolioDetail(Consumer<PortfolioDetail.Builder> portfolioDetail)Information about the portfolio.CreatePortfolioResponse.BuilderportfolioDetail(PortfolioDetail portfolioDetail)Information about the portfolio.CreatePortfolioResponse.Buildertags(Collection<Tag> tags)Information about the tags associated with the portfolio.CreatePortfolioResponse.Buildertags(Consumer<Tag.Builder>... tags)Information about the tags associated with the portfolio.CreatePortfolioResponse.Buildertags(Tag... tags)Information about the tags 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, 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
-
portfolioDetail
CreatePortfolioResponse.Builder portfolioDetail(PortfolioDetail portfolioDetail)
Information about the portfolio.
- Parameters:
portfolioDetail- Information about the portfolio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portfolioDetail
default CreatePortfolioResponse.Builder portfolioDetail(Consumer<PortfolioDetail.Builder> portfolioDetail)
Information about the portfolio.
This is a convenience method that creates an instance of thePortfolioDetail.Builderavoiding the need to create one manually viaPortfolioDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toportfolioDetail(PortfolioDetail).- Parameters:
portfolioDetail- a consumer that will call methods onPortfolioDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
portfolioDetail(PortfolioDetail)
-
tags
CreatePortfolioResponse.Builder tags(Collection<Tag> tags)
Information about the tags associated with the portfolio.
- Parameters:
tags- Information about the tags associated with the portfolio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreatePortfolioResponse.Builder tags(Tag... tags)
Information about the tags associated with the portfolio.
- Parameters:
tags- Information about the tags associated with the portfolio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreatePortfolioResponse.Builder tags(Consumer<Tag.Builder>... tags)
Information about the tags associated with the portfolio.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-