Interface DescribeTestCasesRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CodeBuildRequest.Builder, CopyableBuilder<DescribeTestCasesRequest.Builder,DescribeTestCasesRequest>, SdkBuilder<DescribeTestCasesRequest.Builder,DescribeTestCasesRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DescribeTestCasesRequest

public static interface DescribeTestCasesRequest.Builder extends CodeBuildRequest.Builder, SdkPojo, CopyableBuilder<DescribeTestCasesRequest.Builder,DescribeTestCasesRequest>
  • Method Details

    • reportArn

      The ARN of the report for which test cases are returned.

      Parameters:
      reportArn - The ARN of the report for which test cases are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

      Parameters:
      nextToken - During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      DescribeTestCasesRequest.Builder maxResults(Integer maxResults)

      The maximum number of paginated test cases returned per response. Use nextToken to iterate pages in the list of returned TestCase objects. The default value is 100.

      Parameters:
      maxResults - The maximum number of paginated test cases returned per response. Use nextToken to iterate pages in the list of returned TestCase objects. The default value is 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filter

      A TestCaseFilter object used to filter the returned reports.

      Parameters:
      filter - A TestCaseFilter object used to filter the returned reports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filter

      A TestCaseFilter object used to filter the returned reports.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filter(TestCaseFilter).

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

      DescribeTestCasesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.