Interface PackageVersionOrigin.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PackageVersionOrigin.Builder,PackageVersionOrigin>, SdkBuilder<PackageVersionOrigin.Builder,PackageVersionOrigin>, SdkPojo
Enclosing class:
PackageVersionOrigin

public static interface PackageVersionOrigin.Builder extends SdkPojo, CopyableBuilder<PackageVersionOrigin.Builder,PackageVersionOrigin>
  • Method Details

    • domainEntryPoint

      PackageVersionOrigin.Builder domainEntryPoint(DomainEntryPoint domainEntryPoint)

      A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.

      Parameters:
      domainEntryPoint - A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainEntryPoint

      default PackageVersionOrigin.Builder domainEntryPoint(Consumer<DomainEntryPoint.Builder> domainEntryPoint)

      A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.

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

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

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

      PackageVersionOrigin.Builder originType(String originType)

      Describes how the package version was originally added to the domain. An INTERNAL origin type means the package version was published directly to a repository in the domain. An EXTERNAL origin type means the package version was ingested from an external connection.

      Parameters:
      originType - Describes how the package version was originally added to the domain. An INTERNAL origin type means the package version was published directly to a repository in the domain. An EXTERNAL origin type means the package version was ingested from an external connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • originType

      Describes how the package version was originally added to the domain. An INTERNAL origin type means the package version was published directly to a repository in the domain. An EXTERNAL origin type means the package version was ingested from an external connection.

      Parameters:
      originType - Describes how the package version was originally added to the domain. An INTERNAL origin type means the package version was published directly to a repository in the domain. An EXTERNAL origin type means the package version was ingested from an external connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: