Class OrganizationState.Builder

  • Enclosing class:
    OrganizationState

    public static final class OrganizationState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • accounts

        public OrganizationState.Builder accounts​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<OrganizationAccountArgs>> accounts)
        Parameters:
        accounts - List of organization accounts including the master account. For a list excluding the master account, see the `non_master_accounts` attribute. All elements have these attributes:
        Returns:
        builder
      • accounts

        public OrganizationState.Builder accounts​(java.util.List<OrganizationAccountArgs> accounts)
        Parameters:
        accounts - List of organization accounts including the master account. For a list excluding the master account, see the `non_master_accounts` attribute. All elements have these attributes:
        Returns:
        builder
      • accounts

        public OrganizationState.Builder accounts​(OrganizationAccountArgs... accounts)
        Parameters:
        accounts - List of organization accounts including the master account. For a list excluding the master account, see the `non_master_accounts` attribute. All elements have these attributes:
        Returns:
        builder
      • arn

        public OrganizationState.Builder arn​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the root
        Returns:
        builder
      • awsServiceAccessPrincipals

        public OrganizationState.Builder awsServiceAccessPrincipals​(@Nullable
                                                                    com.pulumi.core.Output<java.util.List<java.lang.String>> awsServiceAccessPrincipals)
        Parameters:
        awsServiceAccessPrincipals - List of AWS service principal names for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must have `feature_set` set to `ALL`. Some services do not support enablement via this endpoint, see [warning in aws docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html).
        Returns:
        builder
      • awsServiceAccessPrincipals

        public OrganizationState.Builder awsServiceAccessPrincipals​(java.util.List<java.lang.String> awsServiceAccessPrincipals)
        Parameters:
        awsServiceAccessPrincipals - List of AWS service principal names for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must have `feature_set` set to `ALL`. Some services do not support enablement via this endpoint, see [warning in aws docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html).
        Returns:
        builder
      • awsServiceAccessPrincipals

        public OrganizationState.Builder awsServiceAccessPrincipals​(java.lang.String... awsServiceAccessPrincipals)
        Parameters:
        awsServiceAccessPrincipals - List of AWS service principal names for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must have `feature_set` set to `ALL`. Some services do not support enablement via this endpoint, see [warning in aws docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html).
        Returns:
        builder
      • enabledPolicyTypes

        public OrganizationState.Builder enabledPolicyTypes​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> enabledPolicyTypes)
        Parameters:
        enabledPolicyTypes - List of Organizations policy types to enable in the Organization Root. Organization must have `feature_set` set to `ALL`. For additional information about valid policy types (e.g., `AISERVICES_OPT_OUT_POLICY`, `BACKUP_POLICY`, `SERVICE_CONTROL_POLICY`, and `TAG_POLICY`), see the [AWS Organizations API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html).
        Returns:
        builder
      • enabledPolicyTypes

        public OrganizationState.Builder enabledPolicyTypes​(java.util.List<java.lang.String> enabledPolicyTypes)
        Parameters:
        enabledPolicyTypes - List of Organizations policy types to enable in the Organization Root. Organization must have `feature_set` set to `ALL`. For additional information about valid policy types (e.g., `AISERVICES_OPT_OUT_POLICY`, `BACKUP_POLICY`, `SERVICE_CONTROL_POLICY`, and `TAG_POLICY`), see the [AWS Organizations API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html).
        Returns:
        builder
      • enabledPolicyTypes

        public OrganizationState.Builder enabledPolicyTypes​(java.lang.String... enabledPolicyTypes)
        Parameters:
        enabledPolicyTypes - List of Organizations policy types to enable in the Organization Root. Organization must have `feature_set` set to `ALL`. For additional information about valid policy types (e.g., `AISERVICES_OPT_OUT_POLICY`, `BACKUP_POLICY`, `SERVICE_CONTROL_POLICY`, and `TAG_POLICY`), see the [AWS Organizations API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html).
        Returns:
        builder
      • featureSet

        public OrganizationState.Builder featureSet​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> featureSet)
        Parameters:
        featureSet - Specify "ALL" (default) or "CONSOLIDATED_BILLING".
        Returns:
        builder
      • featureSet

        public OrganizationState.Builder featureSet​(java.lang.String featureSet)
        Parameters:
        featureSet - Specify "ALL" (default) or "CONSOLIDATED_BILLING".
        Returns:
        builder
      • masterAccountArn

        public OrganizationState.Builder masterAccountArn​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> masterAccountArn)
        Parameters:
        masterAccountArn - ARN of the master account
        Returns:
        builder
      • masterAccountArn

        public OrganizationState.Builder masterAccountArn​(java.lang.String masterAccountArn)
        Parameters:
        masterAccountArn - ARN of the master account
        Returns:
        builder
      • masterAccountEmail

        public OrganizationState.Builder masterAccountEmail​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> masterAccountEmail)
        Parameters:
        masterAccountEmail - Email address of the master account
        Returns:
        builder
      • masterAccountEmail

        public OrganizationState.Builder masterAccountEmail​(java.lang.String masterAccountEmail)
        Parameters:
        masterAccountEmail - Email address of the master account
        Returns:
        builder
      • masterAccountId

        public OrganizationState.Builder masterAccountId​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> masterAccountId)
        Parameters:
        masterAccountId - Identifier of the master account
        Returns:
        builder
      • masterAccountId

        public OrganizationState.Builder masterAccountId​(java.lang.String masterAccountId)
        Parameters:
        masterAccountId - Identifier of the master account
        Returns:
        builder
      • nonMasterAccounts

        public OrganizationState.Builder nonMasterAccounts​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<OrganizationNonMasterAccountArgs>> nonMasterAccounts)
        Parameters:
        nonMasterAccounts - List of organization accounts excluding the master account. For a list including the master account, see the `accounts` attribute. All elements have these attributes:
        Returns:
        builder
      • nonMasterAccounts

        public OrganizationState.Builder nonMasterAccounts​(java.util.List<OrganizationNonMasterAccountArgs> nonMasterAccounts)
        Parameters:
        nonMasterAccounts - List of organization accounts excluding the master account. For a list including the master account, see the `accounts` attribute. All elements have these attributes:
        Returns:
        builder
      • nonMasterAccounts

        public OrganizationState.Builder nonMasterAccounts​(OrganizationNonMasterAccountArgs... nonMasterAccounts)
        Parameters:
        nonMasterAccounts - List of organization accounts excluding the master account. For a list including the master account, see the `accounts` attribute. All elements have these attributes:
        Returns:
        builder
      • roots

        public OrganizationState.Builder roots​(@Nullable
                                               com.pulumi.core.Output<java.util.List<OrganizationRootArgs>> roots)
        Parameters:
        roots - List of organization roots. All elements have these attributes:
        Returns:
        builder