Interface RejectPortfolioShareRequest.Builder

    • Method Detail

      • acceptLanguage

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

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

        RejectPortfolioShareRequest.Builder portfolioShareType​(String portfolioShareType)

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

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

        • IMPORTED - Reject imported portfolios.

        • AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

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

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

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

        • IMPORTED - Reject imported portfolios.

        • AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

        For example, aws servicecatalog reject-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

        RejectPortfolioShareRequest.Builder portfolioShareType​(PortfolioShareType portfolioShareType)

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

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

        • IMPORTED - Reject imported portfolios.

        • AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

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

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

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

        • IMPORTED - Reject imported portfolios.

        • AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

        For example, aws servicecatalog reject-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