Interface VersionStatus.Builder

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

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

    • options

      VersionStatus.Builder options(String options)

      The OpenSearch or Elasticsearch version for the specified domain.

      Parameters:
      options - The OpenSearch or Elasticsearch version for the specified domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the version options for the specified domain.

      Parameters:
      status - The status of the version options for the specified domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the version options for the specified domain.

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

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

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