Interface DomainPackageDetails.Builder

    • Method Detail

      • packageID

        DomainPackageDetails.Builder packageID​(String packageID)

        Internal ID of the package.

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

        DomainPackageDetails.Builder packageName​(String packageName)

        User-specified name of the package.

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

        DomainPackageDetails.Builder lastUpdated​(Instant lastUpdated)

        Timestamp of the most recent update to the package association status.

        Parameters:
        lastUpdated - Timestamp of the most recent update to the package association status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainName

        DomainPackageDetails.Builder domainName​(String domainName)

        Name of the domain that the package is associated with.

        Parameters:
        domainName - Name of the domain that the package is associated with.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • packageVersion

        DomainPackageDetails.Builder packageVersion​(String packageVersion)

        The current version of the package.

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

        DomainPackageDetails.Builder referencePath​(String referencePath)

        The relative path of the package on the OpenSearch Service cluster nodes. This is synonym_path when the package is for synonym files.

        Parameters:
        referencePath - The relative path of the package on the OpenSearch Service cluster nodes. This is synonym_path when the package is for synonym files.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorDetails

        DomainPackageDetails.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.