Interface SnapshotOptionsStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SnapshotOptionsStatus.Builder,,SnapshotOptionsStatus> SdkBuilder<SnapshotOptionsStatus.Builder,,SnapshotOptionsStatus> SdkPojo
- Enclosing class:
SnapshotOptionsStatus
public static interface SnapshotOptionsStatus.Builder
extends SdkPojo, CopyableBuilder<SnapshotOptionsStatus.Builder,SnapshotOptionsStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SnapshotOptionsStatus.Builderoptions(Consumer<SnapshotOptions.Builder> options) Specifies the daily snapshot options specified for the Elasticsearch domain.options(SnapshotOptions options) Specifies the daily snapshot options specified for the Elasticsearch domain.default SnapshotOptionsStatus.Builderstatus(Consumer<OptionStatus.Builder> status) Specifies the status of a daily automated snapshot.status(OptionStatus status) Specifies the status of a daily automated snapshot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
options
Specifies the daily snapshot options specified for the Elasticsearch domain.
- Parameters:
options- Specifies the daily snapshot options specified for the Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Specifies the daily snapshot options specified for the Elasticsearch domain.
This is a convenience method that creates an instance of theSnapshotOptions.Builderavoiding the need to create one manually viaSnapshotOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptions(SnapshotOptions).- Parameters:
options- a consumer that will call methods onSnapshotOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Specifies the status of a daily automated snapshot.
- Parameters:
status- Specifies the status of a daily automated snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Specifies the status of a daily automated snapshot.
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:
-