Interface CompatibleVersionsMap.Builder

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

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

    • sourceVersion

      CompatibleVersionsMap.Builder sourceVersion(String sourceVersion)

      The current version that the OpenSearch Service domain is running.

      Parameters:
      sourceVersion - The current version that the OpenSearch Service domain is running.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetVersions

      CompatibleVersionsMap.Builder targetVersions(Collection<String> targetVersions)

      The possible versions that you can upgrade the domain to.

      Parameters:
      targetVersions - The possible versions that you can upgrade the domain to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetVersions

      CompatibleVersionsMap.Builder targetVersions(String... targetVersions)

      The possible versions that you can upgrade the domain to.

      Parameters:
      targetVersions - The possible versions that you can upgrade the domain to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.