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.BuilderfilterCriteria(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.Builders3Destination(Consumer<Destination.Builder> s3Destination) Contains details of the Amazon S3 bucket and KMS key used to export findingss3Destination(Destination s3Destination) Contains details of the Amazon S3 bucket and KMS key used to export findingsThe 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
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadataMethods 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
-
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.
-
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:
-
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:
-
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.
-
s3Destination
Contains details of the Amazon S3 bucket and KMS key used to export findings
- Parameters:
s3Destination- Contains details of the Amazon S3 bucket and KMS key used to export findings- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
Contains details of the Amazon S3 bucket and KMS key used to export findings
This is a convenience method that creates an instance of theDestination.Builderavoiding the need to create one manually viaDestination.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaResourceFilterCriteria.builder().When the
Consumercompletes,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:
-