Interface UpdatePortfolioShareRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdatePortfolioShareRequest.Builder,UpdatePortfolioShareRequest>, SdkBuilder<UpdatePortfolioShareRequest.Builder,UpdatePortfolioShareRequest>, SdkPojo, SdkRequest.Builder, ServiceCatalogRequest.Builder
Enclosing class:
UpdatePortfolioShareRequest

  • Method Details

    • 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

      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 the OrganizationNode.Builder avoiding the need to create one manually via OrganizationNode.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to organizationNode(OrganizationNode).

      Parameters:
      organizationNode - a consumer that will call methods on OrganizationNode.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • shareTagOptions

      UpdatePortfolioShareRequest.Builder shareTagOptions(Boolean shareTagOptions)

      Enables or disables TagOptions sharing 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 disables TagOptions sharing 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 Principals sharing in the portfolio. If this field is not provided, the current state of the Principals sharing on the portfolio share will not be modified.

      Parameters:
      sharePrincipals - A flag to enables or disables Principals sharing in the portfolio. If this field is not provided, the current state of the Principals sharing 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.