Interface OrganizationalUnitInfo.Builder

  • Method Details

    • organizationalUnitId

      OrganizationalUnitInfo.Builder organizationalUnitId(String organizationalUnitId)

      The ID of the organizational unit (OU) or organization root.

      Parameters:
      organizationalUnitId - The ID of the organizational unit (OU) or organization root.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoEnrollMemberAccounts

      OrganizationalUnitInfo.Builder autoEnrollMemberAccounts(String autoEnrollMemberAccounts)

      Whether an applicable organization enrollment configuration enables Automation for eligible member accounts beneath the organizational unit (OU) or organization root.

      • All - An organization enrollment configuration applies and enables Automation for affected member accounts, including accounts that join later. This value applies to configurations with either AnyAllowed or NoneAllowed.

      • None - No organization enrollment configuration applies, so Automation isn't enabled by an organization enrollment configuration.

      Parameters:
      autoEnrollMemberAccounts - Whether an applicable organization enrollment configuration enables Automation for eligible member accounts beneath the organizational unit (OU) or organization root.

      • All - An organization enrollment configuration applies and enables Automation for affected member accounts, including accounts that join later. This value applies to configurations with either AnyAllowed or NoneAllowed.

      • None - No organization enrollment configuration applies, so Automation isn't enabled by an organization enrollment configuration.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoEnrollMemberAccounts

      OrganizationalUnitInfo.Builder autoEnrollMemberAccounts(AutoEnrollMemberAccounts autoEnrollMemberAccounts)

      Whether an applicable organization enrollment configuration enables Automation for eligible member accounts beneath the organizational unit (OU) or organization root.

      • All - An organization enrollment configuration applies and enables Automation for affected member accounts, including accounts that join later. This value applies to configurations with either AnyAllowed or NoneAllowed.

      • None - No organization enrollment configuration applies, so Automation isn't enabled by an organization enrollment configuration.

      Parameters:
      autoEnrollMemberAccounts - Whether an applicable organization enrollment configuration enables Automation for eligible member accounts beneath the organizational unit (OU) or organization root.

      • All - An organization enrollment configuration applies and enables Automation for affected member accounts, including accounts that join later. This value applies to configurations with either AnyAllowed or NoneAllowed.

      • None - No organization enrollment configuration applies, so Automation isn't enabled by an organization enrollment configuration.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • organizationRuleMode

      OrganizationalUnitInfo.Builder organizationRuleMode(String organizationRuleMode)

      The effective organization rule mode for the organizational unit or organization root.

      Parameters:
      organizationRuleMode - The effective organization rule mode for the organizational unit or organization root.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • organizationRuleMode

      OrganizationalUnitInfo.Builder organizationRuleMode(OrganizationRuleMode organizationRuleMode)

      The effective organization rule mode for the organizational unit or organization root.

      Parameters:
      organizationRuleMode - The effective organization rule mode for the organizational unit or organization root.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • organizationRuleModeSource

      OrganizationalUnitInfo.Builder organizationRuleModeSource(OrganizationRuleModeSource organizationRuleModeSource)

      Information about the source of the effective organization rule mode.

      Parameters:
      organizationRuleModeSource - Information about the source of the effective organization rule mode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationRuleModeSource

      default OrganizationalUnitInfo.Builder organizationRuleModeSource(Consumer<OrganizationRuleModeSource.Builder> organizationRuleModeSource)

      Information about the source of the effective organization rule mode.

      This is a convenience method that creates an instance of the OrganizationRuleModeSource.Builder avoiding the need to create one manually via OrganizationRuleModeSource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to organizationRuleModeSource(OrganizationRuleModeSource).

      Parameters:
      organizationRuleModeSource - a consumer that will call methods on OrganizationRuleModeSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: