public static interface OffPeakWindowOptions.Builder extends SdkPojo, CopyableBuilder<OffPeakWindowOptions.Builder,OffPeakWindowOptions>
| Modifier and Type | Method and Description |
|---|---|
OffPeakWindowOptions.Builder |
enabled(Boolean enabled)
Whether to enable an off-peak window.
|
default OffPeakWindowOptions.Builder |
offPeakWindow(Consumer<OffPeakWindow.Builder> offPeakWindow)
Off-peak window settings for the domain.
|
OffPeakWindowOptions.Builder |
offPeakWindow(OffPeakWindow offPeakWindow)
Off-peak window settings for the domain.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOffPeakWindowOptions.Builder enabled(Boolean enabled)
Whether to enable an off-peak window.
This option is only available when modifying a domain created prior to February 16, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.
enabled - Whether to enable an off-peak window.
This option is only available when modifying a domain created prior to February 16, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.
OffPeakWindowOptions.Builder offPeakWindow(OffPeakWindow offPeakWindow)
Off-peak window settings for the domain.
offPeakWindow - Off-peak window settings for the domain.default OffPeakWindowOptions.Builder offPeakWindow(Consumer<OffPeakWindow.Builder> offPeakWindow)
Off-peak window settings for the domain.
This is a convenience method that creates an instance of theOffPeakWindow.Builder avoiding the need
to create one manually via OffPeakWindow.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to offPeakWindow(OffPeakWindow).
offPeakWindow - a consumer that will call methods on OffPeakWindow.BuilderoffPeakWindow(OffPeakWindow)Copyright © 2023. All rights reserved.