Class PortfolioShareState.Builder

  • Enclosing class:
    PortfolioShareState

    public static final class PortfolioShareState.Builder
    extends java.lang.Object
    • Method Detail

      • acceptLanguage

        public PortfolioShareState.Builder acceptLanguage​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> acceptLanguage)
        Parameters:
        acceptLanguage - Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
        Returns:
        builder
      • acceptLanguage

        public PortfolioShareState.Builder acceptLanguage​(java.lang.String acceptLanguage)
        Parameters:
        acceptLanguage - Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
        Returns:
        builder
      • accepted

        public PortfolioShareState.Builder accepted​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Boolean> accepted)
        Parameters:
        accepted - Whether the shared portfolio is imported by the recipient account. If the recipient is organizational, the share is automatically imported, and the field is always set to true.
        Returns:
        builder
      • accepted

        public PortfolioShareState.Builder accepted​(java.lang.Boolean accepted)
        Parameters:
        accepted - Whether the shared portfolio is imported by the recipient account. If the recipient is organizational, the share is automatically imported, and the field is always set to true.
        Returns:
        builder
      • portfolioId

        public PortfolioShareState.Builder portfolioId​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> portfolioId)
        Parameters:
        portfolioId - Portfolio identifier.
        Returns:
        builder
      • portfolioId

        public PortfolioShareState.Builder portfolioId​(java.lang.String portfolioId)
        Parameters:
        portfolioId - Portfolio identifier.
        Returns:
        builder
      • principalId

        public PortfolioShareState.Builder principalId​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> principalId)
        Parameters:
        principalId - Identifier of the principal with whom you will share the portfolio. Valid values AWS account IDs and ARNs of AWS Organizations and organizational units.
        Returns:
        builder
      • principalId

        public PortfolioShareState.Builder principalId​(java.lang.String principalId)
        Parameters:
        principalId - Identifier of the principal with whom you will share the portfolio. Valid values AWS account IDs and ARNs of AWS Organizations and organizational units.
        Returns:
        builder
      • region

        public PortfolioShareState.Builder region​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public PortfolioShareState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • sharePrincipals

        public PortfolioShareState.Builder sharePrincipals​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Boolean> sharePrincipals)
        Parameters:
        sharePrincipals - Enables or disables Principal sharing when creating the portfolio share. If this flag is not provided, principal sharing is disabled.
        Returns:
        builder
      • sharePrincipals

        public PortfolioShareState.Builder sharePrincipals​(java.lang.Boolean sharePrincipals)
        Parameters:
        sharePrincipals - Enables or disables Principal sharing when creating the portfolio share. If this flag is not provided, principal sharing is disabled.
        Returns:
        builder
      • shareTagOptions

        public PortfolioShareState.Builder shareTagOptions​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Boolean> shareTagOptions)
        Parameters:
        shareTagOptions - Whether to enable sharing of `aws.servicecatalog.TagOption` resources when creating the portfolio share.
        Returns:
        builder
      • shareTagOptions

        public PortfolioShareState.Builder shareTagOptions​(java.lang.Boolean shareTagOptions)
        Parameters:
        shareTagOptions - Whether to enable sharing of `aws.servicecatalog.TagOption` resources when creating the portfolio share.
        Returns:
        builder
      • type

        public PortfolioShareState.Builder type​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Type of portfolio share. Valid values are `ACCOUNT` (an external account), `ORGANIZATION` (a share to every account in an organization), `ORGANIZATIONAL_UNIT`, `ORGANIZATION_MEMBER_ACCOUNT` (a share to an account in an organization). The following arguments are optional:
        Returns:
        builder
      • type

        public PortfolioShareState.Builder type​(java.lang.String type)
        Parameters:
        type - Type of portfolio share. Valid values are `ACCOUNT` (an external account), `ORGANIZATION` (a share to every account in an organization), `ORGANIZATIONAL_UNIT`, `ORGANIZATION_MEMBER_ACCOUNT` (a share to an account in an organization). The following arguments are optional:
        Returns:
        builder
      • waitForAcceptance

        public PortfolioShareState.Builder waitForAcceptance​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> waitForAcceptance)
        Parameters:
        waitForAcceptance - Whether to wait (up to the timeout) for the share to be accepted. Organizational shares are automatically accepted.
        Returns:
        builder
      • waitForAcceptance

        public PortfolioShareState.Builder waitForAcceptance​(java.lang.Boolean waitForAcceptance)
        Parameters:
        waitForAcceptance - Whether to wait (up to the timeout) for the share to be accepted. Organizational shares are automatically accepted.
        Returns:
        builder