Interface BatchGetReportsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeBuildResponse.Builder,CopyableBuilder<BatchGetReportsResponse.Builder,,BatchGetReportsResponse> SdkBuilder<BatchGetReportsResponse.Builder,,BatchGetReportsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetReportsResponse
@Mutable
@NotThreadSafe
public static interface BatchGetReportsResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<BatchGetReportsResponse.Builder,BatchGetReportsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionreports(Collection<Report> reports) The array ofReportobjects returned byBatchGetReports.reports(Consumer<Report.Builder>... reports) The array ofReportobjects returned byBatchGetReports.The array ofReportobjects returned byBatchGetReports.reportsNotFound(String... reportsNotFound) An array of ARNs passed toBatchGetReportGroupsthat are not associated with aReport.reportsNotFound(Collection<String> reportsNotFound) An array of ARNs passed toBatchGetReportGroupsthat are not associated with aReport.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
-
reports
The array of
Reportobjects returned byBatchGetReports.- Parameters:
reports- The array ofReportobjects returned byBatchGetReports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reports
The array of
Reportobjects returned byBatchGetReports.- Parameters:
reports- The array ofReportobjects 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 theReportobjects returned byBatchGetReports.Report.Builderavoiding the need to create one manually viaReport.builder().When the
Consumercompletes,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
BatchGetReportGroupsthat are not associated with aReport.- Parameters:
reportsNotFound- An array of ARNs passed toBatchGetReportGroupsthat 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
BatchGetReportGroupsthat are not associated with aReport.- Parameters:
reportsNotFound- An array of ARNs passed toBatchGetReportGroupsthat are not associated with aReport.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-