Interface GetSbomExportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSbomExportResponse.Builder,
,GetSbomExportResponse> Inspector2Response.Builder
,SdkBuilder<GetSbomExportResponse.Builder,
,GetSbomExportResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSbomExportResponse
-
Method Summary
Modifier and TypeMethodDescriptionAn error code.errorCode
(ReportingErrorCode errorCode) An error code.errorMessage
(String errorMessage) An error message.default GetSbomExportResponse.Builder
filterCriteria
(Consumer<ResourceFilterCriteria.Builder> filterCriteria) Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.filterCriteria
(ResourceFilterCriteria filterCriteria) Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.The format of the software bill of materials (SBOM) report.format
(SbomReportFormat format) The format of the software bill of materials (SBOM) report.The report ID of the software bill of materials (SBOM) report.default GetSbomExportResponse.Builder
s3Destination
(Consumer<Destination.Builder> s3Destination) Sets the value of the S3Destination property for this object.s3Destination
(Destination s3Destination) Sets the value of the S3Destination property for this object.The status of the software bill of materials (SBOM) report.status
(ExternalReportStatus status) The status of the software bill of materials (SBOM) report.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadata
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
-
errorCode
An error code.
- Parameters:
errorCode
- An error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
An error code.
- Parameters:
errorCode
- An error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
An error message.
- Parameters:
errorMessage
- An error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.
- Parameters:
filterCriteria
- Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
default GetSbomExportResponse.Builder filterCriteria(Consumer<ResourceFilterCriteria.Builder> filterCriteria) Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.
This is a convenience method that creates an instance of theResourceFilterCriteria.Builder
avoiding the need to create one manually viaResourceFilterCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilterCriteria(ResourceFilterCriteria)
.- Parameters:
filterCriteria
- a consumer that will call methods onResourceFilterCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the software bill of materials (SBOM) report.
- Parameters:
format
- The format of the software bill of materials (SBOM) report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the software bill of materials (SBOM) report.
- Parameters:
format
- The format of the software bill of materials (SBOM) report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reportId
The report ID of the software bill of materials (SBOM) report.
- Parameters:
reportId
- The report ID of the software bill of materials (SBOM) report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
Sets the value of the S3Destination property for this object.- Parameters:
s3Destination
- The new value for the S3Destination property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
Sets the value of the S3Destination property for this object. This is a convenience method that creates an instance of theDestination.Builder
avoiding the need to create one manually viaDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Destination(Destination)
.- Parameters:
s3Destination
- a consumer that will call methods onDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the software bill of materials (SBOM) report.
- Parameters:
status
- The status of the software bill of materials (SBOM) report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the software bill of materials (SBOM) report.
- Parameters:
status
- The status of the software bill of materials (SBOM) report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-