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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdatePortfolioShareRequest.BuilderacceptLanguage(String acceptLanguage)The language code.UpdatePortfolioShareRequest.BuilderaccountId(String accountId)The Amazon Web Services account Id of the recipient account.default UpdatePortfolioShareRequest.BuilderorganizationNode(Consumer<OrganizationNode.Builder> organizationNode)Sets the value of the OrganizationNode property for this object.UpdatePortfolioShareRequest.BuilderorganizationNode(OrganizationNode organizationNode)Sets the value of the OrganizationNode property for this object.UpdatePortfolioShareRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdatePortfolioShareRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdatePortfolioShareRequest.BuilderportfolioId(String portfolioId)The unique identifier of the portfolio for which the share will be updated.UpdatePortfolioShareRequest.BuildersharePrincipals(Boolean sharePrincipals)A flag to enables or disablesPrincipalssharing in the portfolio.UpdatePortfolioShareRequest.BuildershareTagOptions(Boolean shareTagOptions)Enables or disablesTagOptionssharing 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.servicecatalog.model.ServiceCatalogRequest.Builder
build
-
-
-
-
Method Detail
-
acceptLanguage
UpdatePortfolioShareRequest.Builder acceptLanguage(String 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
UpdatePortfolioShareRequest.Builder portfolioId(String 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
UpdatePortfolioShareRequest.Builder accountId(String 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
UpdatePortfolioShareRequest.Builder organizationNode(OrganizationNode 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:
organizationNode(OrganizationNode)
-
shareTagOptions
UpdatePortfolioShareRequest.Builder shareTagOptions(Boolean shareTagOptions)
Enables or disables
TagOptionssharing for the portfolio share. If this field is not provided, the current state of TagOptions sharing on the portfolio share will not be modified.- Parameters:
shareTagOptions- Enables or disablesTagOptionssharing for the portfolio share. If this field is not provided, the current state of TagOptions sharing on the portfolio share will not be modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharePrincipals
UpdatePortfolioShareRequest.Builder sharePrincipals(Boolean sharePrincipals)
A flag to enables or disables
Principalssharing in the portfolio. If this field is not provided, the current state of thePrincipalssharing on the portfolio share will not be modified.- Parameters:
sharePrincipals- A flag to enables or disablesPrincipalssharing in the portfolio. If this field is not provided, the current state of thePrincipalssharing on the portfolio share will not be modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdatePortfolioShareRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePortfolioShareRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-