Interface AcceptPortfolioShareRequest.Builder

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

  • Method Details

    • acceptLanguage

      AcceptPortfolioShareRequest.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

      AcceptPortfolioShareRequest.Builder portfolioId(String portfolioId)

      The portfolio identifier.

      Parameters:
      portfolioId - The portfolio identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portfolioShareType

      AcceptPortfolioShareRequest.Builder portfolioShareType(String portfolioShareType)

      The type of shared portfolios to accept. The default is to accept imported portfolios.

      • AWS_ORGANIZATIONS - Accept portfolios shared by the management account of your organization.

      • IMPORTED - Accept imported portfolios.

      • AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

      For example, aws servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS

      Parameters:
      portfolioShareType - The type of shared portfolios to accept. The default is to accept imported portfolios.

      • AWS_ORGANIZATIONS - Accept portfolios shared by the management account of your organization.

      • IMPORTED - Accept imported portfolios.

      • AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

      For example, aws servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • portfolioShareType

      AcceptPortfolioShareRequest.Builder portfolioShareType(PortfolioShareType portfolioShareType)

      The type of shared portfolios to accept. The default is to accept imported portfolios.

      • AWS_ORGANIZATIONS - Accept portfolios shared by the management account of your organization.

      • IMPORTED - Accept imported portfolios.

      • AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

      For example, aws servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS

      Parameters:
      portfolioShareType - The type of shared portfolios to accept. The default is to accept imported portfolios.

      • AWS_ORGANIZATIONS - Accept portfolios shared by the management account of your organization.

      • IMPORTED - Accept imported portfolios.

      • AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

      For example, aws servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      AcceptPortfolioShareRequest.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.