Interface GetCanaryRunsResponse.Builder

  • Method Details

    • canaryRuns

      An array of structures. Each structure contains the details of one of the retrieved canary runs.

      Parameters:
      canaryRuns - An array of structures. Each structure contains the details of one of the retrieved canary runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • canaryRuns

      GetCanaryRunsResponse.Builder canaryRuns(CanaryRun... canaryRuns)

      An array of structures. Each structure contains the details of one of the retrieved canary runs.

      Parameters:
      canaryRuns - An array of structures. Each structure contains the details of one of the retrieved canary runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • canaryRuns

      An array of structures. Each structure contains the details of one of the retrieved canary runs.

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

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

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

      GetCanaryRunsResponse.Builder nextToken(String nextToken)

      A token that indicates that there is more data available. You can use this token in a subsequent GetCanaryRuns operation to retrieve the next set of results.

      Parameters:
      nextToken - A token that indicates that there is more data available. You can use this token in a subsequent GetCanaryRuns operation to retrieve the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.