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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SnapshotOptionsStatus.Builder
options(Consumer<SnapshotOptions.Builder> options)
Specifies the daily snapshot options specified for the Elasticsearch domain.SnapshotOptionsStatus.Builder
options(SnapshotOptions options)
Specifies the daily snapshot options specified for the Elasticsearch domain.default SnapshotOptionsStatus.Builder
status(Consumer<OptionStatus.Builder> status)
Specifies the status of a daily automated snapshot.SnapshotOptionsStatus.Builder
status(OptionStatus status)
Specifies the status of a daily automated snapshot.-
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 Detail
-
options
SnapshotOptionsStatus.Builder options(SnapshotOptions 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
default SnapshotOptionsStatus.Builder options(Consumer<SnapshotOptions.Builder> options)
Specifies the daily snapshot options specified for the Elasticsearch domain.
This is a convenience method that creates an instance of theSnapshotOptions.Builder
avoiding the need to create one manually viaSnapshotOptions.builder()
.When the
Consumer
completes,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:
options(SnapshotOptions)
-
status
SnapshotOptionsStatus.Builder status(OptionStatus 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
default SnapshotOptionsStatus.Builder status(Consumer<OptionStatus.Builder> status)
Specifies the status of a daily automated snapshot.
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:
status(OptionStatus)
-
-