Interface UpdatePortfolioShareRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePortfolioShareRequest.Builder,,UpdatePortfolioShareRequest> SdkBuilder<UpdatePortfolioShareRequest.Builder,,UpdatePortfolioShareRequest> SdkPojo,SdkRequest.Builder,ServiceCatalogRequest.Builder
- Enclosing class:
UpdatePortfolioShareRequest
public static interface UpdatePortfolioShareRequest.Builder
extends ServiceCatalogRequest.Builder, SdkPojo, CopyableBuilder<UpdatePortfolioShareRequest.Builder,UpdatePortfolioShareRequest>
-
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage(String acceptLanguage) The language code.The Amazon Web Services account Id of the recipient account.organizationNode(Consumer<OrganizationNode.Builder> organizationNode) Sets the value of the OrganizationNode property for this object.organizationNode(OrganizationNode organizationNode) Sets the value of the OrganizationNode property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.portfolioId(String portfolioId) The unique identifier of the portfolio for which the share will be updated.sharePrincipals(Boolean sharePrincipals) A flag to enables or disablesPrincipalssharing in the portfolio.shareTagOptions(Boolean shareTagOptions) Enables or disablesTagOptionssharing for the portfolio share.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, 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.
-
-
portfolioId
The unique identifier of the portfolio for which the share will be updated.
- Parameters:
portfolioId- The unique identifier of the portfolio for which the share will be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The Amazon Web Services account Id of the recipient account. This field is required when updating an external account to account type share.
- Parameters:
accountId- The Amazon Web Services account Id of the recipient account. This field is required when updating an external account to account type share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationNode
Sets the value of the OrganizationNode property for this object.- Parameters:
organizationNode- The new value for the OrganizationNode property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationNode
default UpdatePortfolioShareRequest.Builder organizationNode(Consumer<OrganizationNode.Builder> organizationNode) Sets the value of the OrganizationNode property for this object. This is a convenience method that creates an instance of theOrganizationNode.Builderavoiding the need to create one manually viaOrganizationNode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorganizationNode(OrganizationNode).- Parameters:
organizationNode- a consumer that will call methods onOrganizationNode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdatePortfolioShareRequest.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
UpdatePortfolioShareRequest.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.
-