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 Summary
Modifier and TypeMethodDescriptionThe OpenSearch or Elasticsearch version for the specified domain.default VersionStatus.Builder
status
(Consumer<OptionStatus.Builder> status) The status of the version options for the specified domain.status
(OptionStatus status) The status of the version options for the specified domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 theOptionStatus.Builder
avoiding the need to create one manually viaOptionStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(OptionStatus)
.- Parameters:
status
- a consumer that will call methods onOptionStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-