Interface UpdatePortfolioRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePortfolioRequest.Builder,,UpdatePortfolioRequest> SdkBuilder<UpdatePortfolioRequest.Builder,,UpdatePortfolioRequest> SdkPojo,SdkRequest.Builder,ServiceCatalogRequest.Builder
- Enclosing class:
UpdatePortfolioRequest
@Mutable
@NotThreadSafe
public static interface UpdatePortfolioRequest.Builder
extends ServiceCatalogRequest.Builder, SdkPojo, CopyableBuilder<UpdatePortfolioRequest.Builder,UpdatePortfolioRequest>
-
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage(String acceptLanguage) The language code.addTags(Collection<Tag> addTags) The tags to add.addTags(Consumer<Tag.Builder>... addTags) The tags to add.The tags to add.description(String description) The updated description of the portfolio.displayName(String displayName) The name to use for display purposes.The portfolio identifier.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.providerName(String providerName) The updated name of the portfolio provider.removeTags(String... removeTags) The tags to remove.removeTags(Collection<String> removeTags) The tags to remove.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.servicecatalog.model.ServiceCatalogRequest.Builder
build
-
Method Details
-
acceptLanguage
The language code.
-
jp- Japanese -
zh- Chinese
- Parameters:
acceptLanguage- The language code.-
jp- Japanese -
zh- Chinese
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
id
The portfolio identifier.
- Parameters:
id- The portfolio identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The name to use for display purposes.
- Parameters:
displayName- The name to use for display purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the portfolio.
- Parameters:
description- The updated description of the portfolio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerName
The updated name of the portfolio provider.
- Parameters:
providerName- The updated name of the portfolio provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addTags
The tags to add.
- Parameters:
addTags- The tags to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addTags
The tags to add.
- Parameters:
addTags- The tags to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addTags
The tags to add.
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 toaddTags(List<Tag>).- Parameters:
addTags- 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:
-
removeTags
The tags to remove.
- Parameters:
removeTags- The tags to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeTags
The tags to remove.
- Parameters:
removeTags- The tags to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdatePortfolioRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdatePortfolioRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-