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 disablesPrincipals
sharing in the portfolio.shareTagOptions
(Boolean shareTagOptions) Enables or disablesTagOptions
sharing for the portfolio share.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.
-
-
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.Builder
avoiding the need to create one manually viaOrganizationNode.builder()
.When the
Consumer
completes,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.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
UpdatePortfolioShareRequest.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.
-