Interface PackageDetails.Builder

    • Method Detail

      • packageID

        PackageDetails.Builder packageID​(String packageID)

        The unique identifier of the package.

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

        PackageDetails.Builder packageName​(String packageName)

        The user-specified name of the package.

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

        PackageDetails.Builder packageType​(String packageType)

        The type of package.

        Parameters:
        packageType - The type of package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageType, PackageType
      • packageDescription

        PackageDetails.Builder packageDescription​(String packageDescription)

        User-specified description of the package.

        Parameters:
        packageDescription - User-specified description of the package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • packageStatus

        PackageDetails.Builder packageStatus​(String packageStatus)

        The current status of the package. The available options are AVAILABLE, COPYING, COPY_FAILED, VALIDATNG, VALIDATION_FAILED, DELETING, and DELETE_FAILED.

        Parameters:
        packageStatus - The current status of the package. The available options are AVAILABLE, COPYING, COPY_FAILED, VALIDATNG, VALIDATION_FAILED , DELETING, and DELETE_FAILED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageStatus, PackageStatus
      • packageStatus

        PackageDetails.Builder packageStatus​(PackageStatus packageStatus)

        The current status of the package. The available options are AVAILABLE, COPYING, COPY_FAILED, VALIDATNG, VALIDATION_FAILED, DELETING, and DELETE_FAILED.

        Parameters:
        packageStatus - The current status of the package. The available options are AVAILABLE, COPYING, COPY_FAILED, VALIDATNG, VALIDATION_FAILED , DELETING, and DELETE_FAILED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageStatus, PackageStatus
      • createdAt

        PackageDetails.Builder createdAt​(Instant createdAt)

        The timestamp when the package was created.

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

        PackageDetails.Builder lastUpdatedAt​(Instant lastUpdatedAt)

        Date and time when the package was last updated.

        Parameters:
        lastUpdatedAt - Date and time when the package was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availablePackageVersion

        PackageDetails.Builder availablePackageVersion​(String availablePackageVersion)

        The package version.

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

        PackageDetails.Builder errorDetails​(ErrorDetails errorDetails)

        Additional information if the package is in an error state. Null otherwise.

        Parameters:
        errorDetails - Additional information if the package is in an error state. Null otherwise.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • engineVersion

        PackageDetails.Builder engineVersion​(String engineVersion)

        Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.

        Parameters:
        engineVersion - Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availablePluginProperties

        PackageDetails.Builder availablePluginProperties​(PluginProperties availablePluginProperties)

        If the package is a ZIP-PLUGIN package, additional information about plugin properties.

        Parameters:
        availablePluginProperties - If the package is a ZIP-PLUGIN package, additional information about plugin properties.
        Returns:
        Returns a reference to this object so that method calls can be chained together.