Interface GetSbomExportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSbomExportResponse.Builder,GetSbomExportResponse>,Inspector2Response.Builder,SdkBuilder<GetSbomExportResponse.Builder,GetSbomExportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSbomExportResponse
public static interface GetSbomExportResponse.Builder extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<GetSbomExportResponse.Builder,GetSbomExportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetSbomExportResponse.BuildererrorCode(String errorCode)An error code.GetSbomExportResponse.BuildererrorCode(ReportingErrorCode errorCode)An error code.GetSbomExportResponse.BuildererrorMessage(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.GetSbomExportResponse.BuilderfilterCriteria(ResourceFilterCriteria filterCriteria)Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.GetSbomExportResponse.Builderformat(String format)The format of the software bill of materials (SBOM) report.GetSbomExportResponse.Builderformat(SbomReportFormat format)The format of the software bill of materials (SBOM) report.GetSbomExportResponse.BuilderreportId(String reportId)The report ID of the software bill of materials (SBOM) report.default GetSbomExportResponse.Builders3Destination(Consumer<Destination.Builder> s3Destination)Sets the value of the S3Destination property for this object.GetSbomExportResponse.Builders3Destination(Destination s3Destination)Sets the value of the S3Destination property for this object.GetSbomExportResponse.Builderstatus(String status)The status of the software bill of materials (SBOM) report.GetSbomExportResponse.Builderstatus(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 Detail
-
errorCode
GetSbomExportResponse.Builder errorCode(String 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:
ReportingErrorCode,ReportingErrorCode
-
errorCode
GetSbomExportResponse.Builder errorCode(ReportingErrorCode 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:
ReportingErrorCode,ReportingErrorCode
-
errorMessage
GetSbomExportResponse.Builder errorMessage(String 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
GetSbomExportResponse.Builder filterCriteria(ResourceFilterCriteria 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:
filterCriteria(ResourceFilterCriteria)
-
format
GetSbomExportResponse.Builder format(String 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:
SbomReportFormat,SbomReportFormat
-
format
GetSbomExportResponse.Builder format(SbomReportFormat 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:
SbomReportFormat,SbomReportFormat
-
reportId
GetSbomExportResponse.Builder reportId(String 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
GetSbomExportResponse.Builder s3Destination(Destination 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
default GetSbomExportResponse.Builder s3Destination(Consumer<Destination.Builder> s3Destination)
Sets the value of the S3Destination property for this object. 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:
s3Destination(Destination)
-
status
GetSbomExportResponse.Builder status(String 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:
ExternalReportStatus,ExternalReportStatus
-
status
GetSbomExportResponse.Builder status(ExternalReportStatus 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:
ExternalReportStatus,ExternalReportStatus
-
-