Interface VersionStatus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VersionStatus.Builder,VersionStatus>,SdkBuilder<VersionStatus.Builder,VersionStatus>,SdkPojo
- Enclosing class:
- VersionStatus
@Mutable @NotThreadSafe public static interface VersionStatus.Builder extends SdkPojo, CopyableBuilder<VersionStatus.Builder,VersionStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VersionStatus.Builderoptions(String options)The OpenSearch or Elasticsearch version for the specified domain.default VersionStatus.Builderstatus(Consumer<OptionStatus.Builder> status)The status of the version options for the specified domain.VersionStatus.Builderstatus(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
VersionStatus.Builder status(OptionStatus 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
default VersionStatus.Builder status(Consumer<OptionStatus.Builder> status)
The status of the version options for the specified domain.
This is a convenience method that creates an instance of theOptionStatus.Builderavoiding the need to create one manually viaOptionStatus.builder().When the
Consumercompletes,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:
status(OptionStatus)
-
-