Interface AssociateSbomWithPackageVersionResponse.Builder

  • Method Details

    • packageName

      The name of the new software package.

      Parameters:
      packageName - The name of the new software package.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • versionName

      The name of the new package version.

      Parameters:
      versionName - The name of the new package version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sbom

      Sets the value of the Sbom property for this object.
      Parameters:
      sbom - The new value for the Sbom property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sbom

      Sets the value of the Sbom property for this object. This is a convenience method that creates an instance of the Sbom.Builder avoiding the need to create one manually via Sbom.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sbom(Sbom).

      Parameters:
      sbom - a consumer that will call methods on Sbom.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sbomValidationStatus

      AssociateSbomWithPackageVersionResponse.Builder sbomValidationStatus(String sbomValidationStatus)

      The status of the initial validation for the software bill of materials against the Software Package Data Exchange (SPDX) and CycloneDX industry standard formats.

      Parameters:
      sbomValidationStatus - The status of the initial validation for the software bill of materials against the Software Package Data Exchange (SPDX) and CycloneDX industry standard formats.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sbomValidationStatus

      AssociateSbomWithPackageVersionResponse.Builder sbomValidationStatus(SbomValidationStatus sbomValidationStatus)

      The status of the initial validation for the software bill of materials against the Software Package Data Exchange (SPDX) and CycloneDX industry standard formats.

      Parameters:
      sbomValidationStatus - The status of the initial validation for the software bill of materials against the Software Package Data Exchange (SPDX) and CycloneDX industry standard formats.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: