Interface AwsOrganizationScope.Builder

  • Method Details

    • organizationId

      AwsOrganizationScope.Builder organizationId(String organizationId)

      The unique identifier (ID) of the organization (for example, o-abcd1234567890). The organization must be the delegated administrator's own organization. If you omit this value and provide OrganizationalUnitId, Security Hub uses the caller's organization ID.

      Parameters:
      organizationId - The unique identifier (ID) of the organization (for example, o-abcd1234567890). The organization must be the delegated administrator's own organization. If you omit this value and provide OrganizationalUnitId, Security Hub uses the caller's organization ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationalUnitId

      AwsOrganizationScope.Builder organizationalUnitId(String organizationalUnitId)

      The unique identifier (ID) of the organizational unit (OU) (for example, ou-ab12-cd345678). The OU must exist within the delegated administrator's own organization. When specified, the results include only data from accounts in this OU.

      Parameters:
      organizationalUnitId - The unique identifier (ID) of the organizational unit (OU) (for example, ou-ab12-cd345678 ). The OU must exist within the delegated administrator's own organization. When specified, the results include only data from accounts in this OU.
      Returns:
      Returns a reference to this object so that method calls can be chained together.