Interface DescribeCanariesLastRunResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeCanariesLastRunResponse.Builder,DescribeCanariesLastRunResponse>, SdkBuilder<DescribeCanariesLastRunResponse.Builder,DescribeCanariesLastRunResponse>, SdkPojo, SdkResponse.Builder, SyntheticsResponse.Builder
Enclosing class:
DescribeCanariesLastRunResponse

public static interface DescribeCanariesLastRunResponse.Builder extends SyntheticsResponse.Builder, SdkPojo, CopyableBuilder<DescribeCanariesLastRunResponse.Builder,DescribeCanariesLastRunResponse>
  • Method Details

    • canariesLastRun

      An array that contains the information from the most recent run of each canary.

      Parameters:
      canariesLastRun - An array that contains the information from the most recent run of each canary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • canariesLastRun

      DescribeCanariesLastRunResponse.Builder canariesLastRun(CanaryLastRun... canariesLastRun)

      An array that contains the information from the most recent run of each canary.

      Parameters:
      canariesLastRun - An array that contains the information from the most recent run of each canary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • canariesLastRun

      An array that contains the information from the most recent run of each canary.

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

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

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

      A token that indicates that there is more data available. You can use this token in a subsequent DescribeCanariesLastRun 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 DescribeCanariesLastRun operation to retrieve the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.