Interface ListInstalledComponentsResponse.Builder

  • Method Details

    • installedComponents

      ListInstalledComponentsResponse.Builder installedComponents(Collection<InstalledComponent> installedComponents)

      A list that summarizes each component on the core device.

      Greengrass nucleus v2.7.0 or later is required to get an accurate lastStatusChangeTimestamp response. This response can be inaccurate in earlier Greengrass nucleus versions.

      Greengrass nucleus v2.8.0 or later is required to get an accurate lastInstallationSource and lastReportedTimestamp response. This response can be inaccurate or null in earlier Greengrass nucleus versions.

      Parameters:
      installedComponents - A list that summarizes each component on the core device.

      Greengrass nucleus v2.7.0 or later is required to get an accurate lastStatusChangeTimestamp response. This response can be inaccurate in earlier Greengrass nucleus versions.

      Greengrass nucleus v2.8.0 or later is required to get an accurate lastInstallationSource and lastReportedTimestamp response. This response can be inaccurate or null in earlier Greengrass nucleus versions.

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

      ListInstalledComponentsResponse.Builder installedComponents(InstalledComponent... installedComponents)

      A list that summarizes each component on the core device.

      Greengrass nucleus v2.7.0 or later is required to get an accurate lastStatusChangeTimestamp response. This response can be inaccurate in earlier Greengrass nucleus versions.

      Greengrass nucleus v2.8.0 or later is required to get an accurate lastInstallationSource and lastReportedTimestamp response. This response can be inaccurate or null in earlier Greengrass nucleus versions.

      Parameters:
      installedComponents - A list that summarizes each component on the core device.

      Greengrass nucleus v2.7.0 or later is required to get an accurate lastStatusChangeTimestamp response. This response can be inaccurate in earlier Greengrass nucleus versions.

      Greengrass nucleus v2.8.0 or later is required to get an accurate lastInstallationSource and lastReportedTimestamp response. This response can be inaccurate or null in earlier Greengrass nucleus versions.

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

      ListInstalledComponentsResponse.Builder installedComponents(Consumer<InstalledComponent.Builder>... installedComponents)

      A list that summarizes each component on the core device.

      Greengrass nucleus v2.7.0 or later is required to get an accurate lastStatusChangeTimestamp response. This response can be inaccurate in earlier Greengrass nucleus versions.

      Greengrass nucleus v2.8.0 or later is required to get an accurate lastInstallationSource and lastReportedTimestamp response. This response can be inaccurate or null in earlier Greengrass nucleus versions.

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

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

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

      The token for the next set of results, or null if there are no additional results.

      Parameters:
      nextToken - The token for the next set of results, or null if there are no additional results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.