Interface UpdatePortfolioRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdatePortfolioRequest.Builder,
,UpdatePortfolioRequest> SdkBuilder<UpdatePortfolioRequest.Builder,
,UpdatePortfolioRequest> SdkPojo
,SdkRequest.Builder
,ServiceCatalogRequest.Builder
- Enclosing class:
UpdatePortfolioRequest
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
overrideConfiguration
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.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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-