Interface GetPackageVersionResponse.Builder

  • Method Details

    • packageVersionArn

      GetPackageVersionResponse.Builder packageVersionArn(String packageVersionArn)

      The ARN for the package version.

      Parameters:
      packageVersionArn - The ARN for the package version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • packageName

      GetPackageVersionResponse.Builder packageName(String packageName)

      The name of the software package.

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

      GetPackageVersionResponse.Builder versionName(String versionName)

      The name of the package version.

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

      GetPackageVersionResponse.Builder description(String description)

      The package version description.

      Parameters:
      description - The package version description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      Metadata that were added to the package version that can be used to define a package version’s configuration.

      Parameters:
      attributes - Metadata that were added to the package version that can be used to define a package version’s configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • artifact

      The various components that make up a software package version.

      Parameters:
      artifact - The various components that make up a software package version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • artifact

      The various components that make up a software package version.

      This is a convenience method that creates an instance of the PackageVersionArtifact.Builder avoiding the need to create one manually via PackageVersionArtifact.builder().

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

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

      The status associated to the package version. For more information, see Package version lifecycle.

      Parameters:
      status - The status associated to the package version. For more information, see Package version lifecycle.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status associated to the package version. For more information, see Package version lifecycle.

      Parameters:
      status - The status associated to the package version. For more information, see Package version lifecycle.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorReason

      GetPackageVersionResponse.Builder errorReason(String errorReason)

      Error reason for a package version failure during creation or update.

      Parameters:
      errorReason - Error reason for a package version failure during creation or update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      GetPackageVersionResponse.Builder creationDate(Instant creationDate)

      The date when the package version was created.

      Parameters:
      creationDate - The date when the package version was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedDate

      GetPackageVersionResponse.Builder lastModifiedDate(Instant lastModifiedDate)

      The date when the package version was last updated.

      Parameters:
      lastModifiedDate - The date when the package version was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sbom

      The software bill of materials for a software package version.

      Parameters:
      sbom - The software bill of materials for a software package version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sbom

      The software bill of materials for a software package version.

      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

      GetPackageVersionResponse.Builder sbomValidationStatus(String sbomValidationStatus)

      The status of the validation for a new software bill of materials added to a software package version.

      Parameters:
      sbomValidationStatus - The status of the validation for a new software bill of materials added to a software package version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sbomValidationStatus

      GetPackageVersionResponse.Builder sbomValidationStatus(SbomValidationStatus sbomValidationStatus)

      The status of the validation for a new software bill of materials added to a software package version.

      Parameters:
      sbomValidationStatus - The status of the validation for a new software bill of materials added to a software package version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recipe

      The inline job document associated with a software package version used for a quick job deployment.

      Parameters:
      recipe - The inline job document associated with a software package version used for a quick job deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.