Interface BatchGetReportsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeBuildResponse.Builder
,CopyableBuilder<BatchGetReportsResponse.Builder,
,BatchGetReportsResponse> SdkBuilder<BatchGetReportsResponse.Builder,
,BatchGetReportsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetReportsResponse
public static interface BatchGetReportsResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<BatchGetReportsResponse.Builder,BatchGetReportsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionreports
(Collection<Report> reports) The array ofReport
objects returned byBatchGetReports
.reports
(Consumer<Report.Builder>... reports) The array ofReport
objects returned byBatchGetReports
.The array ofReport
objects returned byBatchGetReports
.reportsNotFound
(String... reportsNotFound) An array of ARNs passed toBatchGetReportGroups
that are not associated with aReport
.reportsNotFound
(Collection<String> reportsNotFound) An array of ARNs passed toBatchGetReportGroups
that are not associated with aReport
.Methods inherited from interface software.amazon.awssdk.services.codebuild.model.CodeBuildResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
reports
The array of
Report
objects returned byBatchGetReports
.- Parameters:
reports
- The array ofReport
objects returned byBatchGetReports
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reports
The array of
Report
objects returned byBatchGetReports
.- Parameters:
reports
- The array ofReport
objects returned byBatchGetReports
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reports
The array of
This is a convenience method that creates an instance of theReport
objects returned byBatchGetReports
.Report.Builder
avoiding the need to create one manually viaReport.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreports(List<Report>)
.- Parameters:
reports
- a consumer that will call methods onReport.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reportsNotFound
An array of ARNs passed to
BatchGetReportGroups
that are not associated with aReport
.- Parameters:
reportsNotFound
- An array of ARNs passed toBatchGetReportGroups
that are not associated with aReport
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportsNotFound
An array of ARNs passed to
BatchGetReportGroups
that are not associated with aReport
.- Parameters:
reportsNotFound
- An array of ARNs passed toBatchGetReportGroups
that are not associated with aReport
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-