Interface DescribeTestCasesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeBuildRequest.Builder
,CopyableBuilder<DescribeTestCasesRequest.Builder,
,DescribeTestCasesRequest> SdkBuilder<DescribeTestCasesRequest.Builder,
,DescribeTestCasesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeTestCasesRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeTestCasesRequest.Builder
filter
(Consumer<TestCaseFilter.Builder> filter) ATestCaseFilter
object used to filter the returned reports.filter
(TestCaseFilter filter) ATestCaseFilter
object used to filter the returned reports.maxResults
(Integer maxResults) The maximum number of paginated test cases returned per response.During a previous call, the maximum number of items that can be returned is the value specified inmaxResults
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the report for which test cases are returned.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codebuild.model.CodeBuildRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 inmaxResults
. 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
The maximum number of paginated test cases returned per response. Use
nextToken
to iterate pages in the list of returnedTestCase
objects. The default value is 100.- Parameters:
maxResults
- The maximum number of paginated test cases returned per response. UsenextToken
to iterate pages in the list of returnedTestCase
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
- ATestCaseFilter
object used to filter the returned reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
A
This is a convenience method that creates an instance of theTestCaseFilter
object used to filter the returned reports.TestCaseFilter.Builder
avoiding the need to create one manually viaTestCaseFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilter(TestCaseFilter)
.- Parameters:
filter
- a consumer that will call methods onTestCaseFilter.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeTestCasesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-