Interface PackageVersionHistory.Builder

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

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

    • packageVersion

      PackageVersionHistory.Builder packageVersion(String packageVersion)

      The package version.

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

      PackageVersionHistory.Builder commitMessage(String commitMessage)

      A message associated with the package version when it was uploaded.

      Parameters:
      commitMessage - A message associated with the package version when it was uploaded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      PackageVersionHistory.Builder createdAt(Instant createdAt)

      The date and time when the package was created.

      Parameters:
      createdAt - The date and time when the package was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pluginProperties

      PackageVersionHistory.Builder pluginProperties(PluginProperties pluginProperties)

      Additional information about plugin properties if the package is a ZIP-PLUGIN package.

      Parameters:
      pluginProperties - Additional information about plugin properties if the package is a ZIP-PLUGIN package.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pluginProperties

      default PackageVersionHistory.Builder pluginProperties(Consumer<PluginProperties.Builder> pluginProperties)

      Additional information about plugin properties if the package is a ZIP-PLUGIN package.

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

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

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