Interface ResourceScopes.Builder

  • Method Details

    • awsOrganizations

      ResourceScopes.Builder awsOrganizations(Collection<AwsOrganizationScope> awsOrganizations)

      A list of Organizations scopes to include in the query results. Each entry in the list specifies an organization or organizational unit to include for the delegated administrator's account. If the list specifies multiple entries, the entries are combined using OR logic.

      Parameters:
      awsOrganizations - A list of Organizations scopes to include in the query results. Each entry in the list specifies an organization or organizational unit to include for the delegated administrator's account. If the list specifies multiple entries, the entries are combined using OR logic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsOrganizations

      ResourceScopes.Builder awsOrganizations(AwsOrganizationScope... awsOrganizations)

      A list of Organizations scopes to include in the query results. Each entry in the list specifies an organization or organizational unit to include for the delegated administrator's account. If the list specifies multiple entries, the entries are combined using OR logic.

      Parameters:
      awsOrganizations - A list of Organizations scopes to include in the query results. Each entry in the list specifies an organization or organizational unit to include for the delegated administrator's account. If the list specifies multiple entries, the entries are combined using OR logic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsOrganizations

      ResourceScopes.Builder awsOrganizations(Consumer<AwsOrganizationScope.Builder>... awsOrganizations)

      A list of Organizations scopes to include in the query results. Each entry in the list specifies an organization or organizational unit to include for the delegated administrator's account. If the list specifies multiple entries, the entries are combined using OR logic.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to awsOrganizations(List<AwsOrganizationScope>).

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