Interface OffPeakWindowOptions.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<OffPeakWindowOptions.Builder,,OffPeakWindowOptions> SdkBuilder<OffPeakWindowOptions.Builder,,OffPeakWindowOptions> SdkPojo
- Enclosing class:
 OffPeakWindowOptions
- 
Method Summary
Modifier and TypeMethodDescriptionWhether to enable an off-peak window.default OffPeakWindowOptions.BuilderoffPeakWindow(Consumer<OffPeakWindow.Builder> offPeakWindow) Off-peak window settings for the domain.offPeakWindow(OffPeakWindow offPeakWindow) Off-peak window settings for the domain.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
- 
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.
- Parameters:
 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.
- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
offPeakWindow
Off-peak window settings for the domain.
- Parameters:
 offPeakWindow- Off-peak window settings for the domain.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
offPeakWindow
Off-peak window settings for the domain.
This is a convenience method that creates an instance of theOffPeakWindow.Builderavoiding the need to create one manually viaOffPeakWindow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooffPeakWindow(OffPeakWindow).- Parameters:
 offPeakWindow- a consumer that will call methods onOffPeakWindow.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -