Interface ListDiscoveredResourcesResponse.Builder

  • Method Details

    • resourceIdentifiers

      ListDiscoveredResourcesResponse.Builder resourceIdentifiers(Collection<DiscoveredResource> resourceIdentifiers)

      The resources for this page of results.

      Parameters:
      resourceIdentifiers - The resources for this page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIdentifiers

      ListDiscoveredResourcesResponse.Builder resourceIdentifiers(DiscoveredResource... resourceIdentifiers)

      The resources for this page of results.

      Parameters:
      resourceIdentifiers - The resources for this page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIdentifiers

      ListDiscoveredResourcesResponse.Builder resourceIdentifiers(Consumer<DiscoveredResource.Builder>... resourceIdentifiers)

      The resources for this page of results.

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

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

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

      Specifies whether the environment's resource inventory has finished loading. When the value is absent, treat it as COMPLETE. Valid values:

      • COMPLETE – The inventory has finished loading.

      • PARTIAL – The inventory is still loading after the environment was created, so the list can be missing resources that a later call returns.

      Parameters:
      coverage - Specifies whether the environment's resource inventory has finished loading. When the value is absent, treat it as COMPLETE. Valid values:

      • COMPLETE – The inventory has finished loading.

      • PARTIAL – The inventory is still loading after the environment was created, so the list can be missing resources that a later call returns.

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

      Specifies whether the environment's resource inventory has finished loading. When the value is absent, treat it as COMPLETE. Valid values:

      • COMPLETE – The inventory has finished loading.

      • PARTIAL – The inventory is still loading after the environment was created, so the list can be missing resources that a later call returns.

      Parameters:
      coverage - Specifies whether the environment's resource inventory has finished loading. When the value is absent, treat it as COMPLETE. Valid values:

      • COMPLETE – The inventory has finished loading.

      • PARTIAL – The inventory is still loading after the environment was created, so the list can be missing resources that a later call returns.

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

      The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.

      Parameters:
      nextToken - The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.