Class AcceptPortfolioShareRequest

    • Method Detail

      • acceptLanguage

        public final String acceptLanguage()

        The language code.

        • jp - Japanese

        • zh - Chinese

        Returns:
        The language code.

        • jp - Japanese

        • zh - Chinese

      • portfolioId

        public final String portfolioId()

        The portfolio identifier.

        Returns:
        The portfolio identifier.
      • portfolioShareType

        public final 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

        If the service returns an enum value that is not available in the current SDK version, portfolioShareType will return PortfolioShareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from portfolioShareTypeAsString().

        Returns:
        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

        See Also:
        PortfolioShareType
      • portfolioShareTypeAsString

        public final String portfolioShareTypeAsString()

        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

        If the service returns an enum value that is not available in the current SDK version, portfolioShareType will return PortfolioShareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from portfolioShareTypeAsString().

        Returns:
        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

        See Also:
        PortfolioShareType
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object