Interface ListControlsResponse.Builder

  • Method Details

    • controls

      The leaf controls in the requested control group, for this page of results.

      Parameters:
      controls - The leaf controls in the requested control group, for this page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controls

      The leaf controls in the requested control group, for this page of results.

      Parameters:
      controls - The leaf controls in the requested control group, for this page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controls

      The leaf controls in the requested control group, for this page of results.

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

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

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

      ListControlsResponse.Builder nextToken(String 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.