Interface OrganizationConfiguration.Builder

  • Method Details

    • ruleApplyOrder

      OrganizationConfiguration.Builder ruleApplyOrder(String ruleApplyOrder)

      Specifies when organization rules should be applied relative to account rules.

      Parameters:
      ruleApplyOrder - Specifies when organization rules should be applied relative to account rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ruleApplyOrder

      OrganizationConfiguration.Builder ruleApplyOrder(RuleApplyOrder ruleApplyOrder)

      Specifies when organization rules should be applied relative to account rules.

      Parameters:
      ruleApplyOrder - Specifies when organization rules should be applied relative to account rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • accountIds

      The specific Amazon Web Services account IDs where the organization rule should be applied. You can specify up to 50 account IDs.

      Parameters:
      accountIds - The specific Amazon Web Services account IDs where the organization rule should be applied. You can specify up to 50 account IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountIds

      OrganizationConfiguration.Builder accountIds(String... accountIds)

      The specific Amazon Web Services account IDs where the organization rule should be applied. You can specify up to 50 account IDs.

      Parameters:
      accountIds - The specific Amazon Web Services account IDs where the organization rule should be applied. You can specify up to 50 account IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationalUnitIds

      OrganizationConfiguration.Builder organizationalUnitIds(Collection<String> organizationalUnitIds)

      The organizational unit (OU) or organization root IDs to include in the organization rule scope. The rule applies to accounts in the specified OUs and their child OUs. You can specify up to 150 IDs.

      Parameters:
      organizationalUnitIds - The organizational unit (OU) or organization root IDs to include in the organization rule scope. The rule applies to accounts in the specified OUs and their child OUs. You can specify up to 150 IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationalUnitIds

      OrganizationConfiguration.Builder organizationalUnitIds(String... organizationalUnitIds)

      The organizational unit (OU) or organization root IDs to include in the organization rule scope. The rule applies to accounts in the specified OUs and their child OUs. You can specify up to 150 IDs.

      Parameters:
      organizationalUnitIds - The organizational unit (OU) or organization root IDs to include in the organization rule scope. The rule applies to accounts in the specified OUs and their child OUs. You can specify up to 150 IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludedOrganizationalUnitIds

      OrganizationConfiguration.Builder excludedOrganizationalUnitIds(Collection<String> excludedOrganizationalUnitIds)

      The organizational unit (OU) or organization root IDs to exclude from the organization rule scope. The rule doesn't apply to accounts in the specified OUs or their child OUs. You can specify up to 150 IDs.

      Parameters:
      excludedOrganizationalUnitIds - The organizational unit (OU) or organization root IDs to exclude from the organization rule scope. The rule doesn't apply to accounts in the specified OUs or their child OUs. You can specify up to 150 IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludedOrganizationalUnitIds

      OrganizationConfiguration.Builder excludedOrganizationalUnitIds(String... excludedOrganizationalUnitIds)

      The organizational unit (OU) or organization root IDs to exclude from the organization rule scope. The rule doesn't apply to accounts in the specified OUs or their child OUs. You can specify up to 150 IDs.

      Parameters:
      excludedOrganizationalUnitIds - The organizational unit (OU) or organization root IDs to exclude from the organization rule scope. The rule doesn't apply to accounts in the specified OUs or their child OUs. You can specify up to 150 IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludedAccountIds

      OrganizationConfiguration.Builder excludedAccountIds(Collection<String> excludedAccountIds)

      The Amazon Web Services account IDs to exclude from the organization rule scope. You can specify up to 50 account IDs. An excluded account remains excluded even if it is in an included OU.

      Parameters:
      excludedAccountIds - The Amazon Web Services account IDs to exclude from the organization rule scope. You can specify up to 50 account IDs. An excluded account remains excluded even if it is in an included OU.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludedAccountIds

      OrganizationConfiguration.Builder excludedAccountIds(String... excludedAccountIds)

      The Amazon Web Services account IDs to exclude from the organization rule scope. You can specify up to 50 account IDs. An excluded account remains excluded even if it is in an included OU.

      Parameters:
      excludedAccountIds - The Amazon Web Services account IDs to exclude from the organization rule scope. You can specify up to 50 account IDs. An excluded account remains excluded even if it is in an included OU.
      Returns:
      Returns a reference to this object so that method calls can be chained together.