Interface DomainPackageDetails.Builder

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

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

    • 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.
    • packageType

      DomainPackageDetails.Builder packageType(String packageType)

      Currently supports only TXT-DICTIONARY.

      Parameters:
      packageType - Currently supports only TXT-DICTIONARY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • packageType

      DomainPackageDetails.Builder packageType(PackageType packageType)

      Currently supports only TXT-DICTIONARY.

      Parameters:
      packageType - Currently supports only TXT-DICTIONARY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastUpdated

      DomainPackageDetails.Builder lastUpdated(Instant lastUpdated)

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

      Parameters:
      lastUpdated - Timestamp of the most-recent update to the 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 you've associated a package with.

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

      DomainPackageDetails.Builder domainPackageStatus(String domainPackageStatus)

      State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.

      Parameters:
      domainPackageStatus - State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • domainPackageStatus

      DomainPackageDetails.Builder domainPackageStatus(DomainPackageStatus domainPackageStatus)

      State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.

      Parameters:
      domainPackageStatus - State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • packageVersion

      DomainPackageDetails.Builder packageVersion(String packageVersion)
      Sets the value of the PackageVersion property for this object.
      Parameters:
      packageVersion - The new value for the PackageVersion property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • referencePath

      DomainPackageDetails.Builder referencePath(String referencePath)

      The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.

      Parameters:
      referencePath - The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.
      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.
    • errorDetails

      default DomainPackageDetails.Builder errorDetails(Consumer<ErrorDetails.Builder> errorDetails)

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

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

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

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