Package com.pulumi.aws.opensearch.inputs
Class DomainAutoTuneOptionsArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.opensearch.inputs.DomainAutoTuneOptionsArgs.Builder
-
- Enclosing class:
- DomainAutoTuneOptionsArgs
public static final class DomainAutoTuneOptionsArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DomainAutoTuneOptionsArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DomainAutoTuneOptionsArgs defaults)
-
-
Method Detail
-
desiredState
public DomainAutoTuneOptionsArgs.Builder desiredState(com.pulumi.core.Output<java.lang.String> desiredState)
- Parameters:
desiredState
- Auto-Tune desired state for the domain. Valid values: `ENABLED` or `DISABLED`.- Returns:
- builder
-
desiredState
public DomainAutoTuneOptionsArgs.Builder desiredState(java.lang.String desiredState)
- Parameters:
desiredState
- Auto-Tune desired state for the domain. Valid values: `ENABLED` or `DISABLED`.- Returns:
- builder
-
maintenanceSchedules
public DomainAutoTuneOptionsArgs.Builder maintenanceSchedules(@Nullable com.pulumi.core.Output<java.util.List<DomainAutoTuneOptionsMaintenanceScheduleArgs>> maintenanceSchedules)
- Parameters:
maintenanceSchedules
- Configuration block for Auto-Tune maintenance windows. Can be specified multiple times for each maintenance window. Detailed below. **NOTE:** Maintenance windows are deprecated and have been replaced with [off-peak windows](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/off-peak.html). Consequently, `maintenance_schedule` configuration blocks cannot be specified when `use_off_peak_window` is set to `true`.- Returns:
- builder
-
maintenanceSchedules
public DomainAutoTuneOptionsArgs.Builder maintenanceSchedules(java.util.List<DomainAutoTuneOptionsMaintenanceScheduleArgs> maintenanceSchedules)
- Parameters:
maintenanceSchedules
- Configuration block for Auto-Tune maintenance windows. Can be specified multiple times for each maintenance window. Detailed below. **NOTE:** Maintenance windows are deprecated and have been replaced with [off-peak windows](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/off-peak.html). Consequently, `maintenance_schedule` configuration blocks cannot be specified when `use_off_peak_window` is set to `true`.- Returns:
- builder
-
maintenanceSchedules
public DomainAutoTuneOptionsArgs.Builder maintenanceSchedules(DomainAutoTuneOptionsMaintenanceScheduleArgs... maintenanceSchedules)
- Parameters:
maintenanceSchedules
- Configuration block for Auto-Tune maintenance windows. Can be specified multiple times for each maintenance window. Detailed below. **NOTE:** Maintenance windows are deprecated and have been replaced with [off-peak windows](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/off-peak.html). Consequently, `maintenance_schedule` configuration blocks cannot be specified when `use_off_peak_window` is set to `true`.- Returns:
- builder
-
rollbackOnDisable
public DomainAutoTuneOptionsArgs.Builder rollbackOnDisable(@Nullable com.pulumi.core.Output<java.lang.String> rollbackOnDisable)
- Parameters:
rollbackOnDisable
- Whether to roll back to default Auto-Tune settings when disabling Auto-Tune. Valid values: `DEFAULT_ROLLBACK` or `NO_ROLLBACK`.- Returns:
- builder
-
rollbackOnDisable
public DomainAutoTuneOptionsArgs.Builder rollbackOnDisable(java.lang.String rollbackOnDisable)
- Parameters:
rollbackOnDisable
- Whether to roll back to default Auto-Tune settings when disabling Auto-Tune. Valid values: `DEFAULT_ROLLBACK` or `NO_ROLLBACK`.- Returns:
- builder
-
useOffPeakWindow
public DomainAutoTuneOptionsArgs.Builder useOffPeakWindow(@Nullable com.pulumi.core.Output<java.lang.Boolean> useOffPeakWindow)
- Parameters:
useOffPeakWindow
- Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window. Defaults to `false`.- Returns:
- builder
-
useOffPeakWindow
public DomainAutoTuneOptionsArgs.Builder useOffPeakWindow(java.lang.Boolean useOffPeakWindow)
- Parameters:
useOffPeakWindow
- Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window. Defaults to `false`.- Returns:
- builder
-
build
public DomainAutoTuneOptionsArgs build()
-
-