Interface AcceptPortfolioShareRequest.Builder

    • Method Detail

      • 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, PortfolioShareType
      • 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:
        PortfolioShareType, PortfolioShareType