Interface ListCapabilitiesResponse.Builder

  • Method Details

    • capabilities

      A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.

      Parameters:
      capabilities - A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capabilities

      ListCapabilitiesResponse.Builder capabilities(CapabilitySummary... capabilities)

      A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.

      Parameters:
      capabilities - A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capabilities

      A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.

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

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

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

      The nextToken value to include in a future ListCapabilities request. When the results of a ListCapabilities request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.

      Parameters:
      nextToken - The nextToken value to include in a future ListCapabilities request. When the results of a ListCapabilities request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.