Interface DescribeTestCasesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeBuildResponse.Builder,CopyableBuilder<DescribeTestCasesResponse.Builder,,DescribeTestCasesResponse> SdkBuilder<DescribeTestCasesResponse.Builder,,DescribeTestCasesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeTestCasesResponse
@Mutable
@NotThreadSafe
public static interface DescribeTestCasesResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<DescribeTestCasesResponse.Builder,DescribeTestCasesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionDuring a previous call, the maximum number of items that can be returned is the value specified inmaxResults.testCases(Collection<TestCase> testCases) The returned list of test cases.testCases(Consumer<TestCase.Builder>... testCases) The returned list of test cases.The returned list of test cases.Methods inherited from interface software.amazon.awssdk.services.codebuild.model.CodeBuildResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
testCases
The returned list of test cases.
- Parameters:
testCases- The returned list of test cases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testCases
The returned list of test cases.
- Parameters:
testCases- The returned list of test cases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testCases
The returned list of test cases.
This is a convenience method that creates an instance of theTestCase.Builderavoiding the need to create one manually viaTestCase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totestCases(List<TestCase>).- Parameters:
testCases- a consumer that will call methods onTestCase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-