@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoTuneOptionsInput extends Object implements Serializable, Cloneable, StructuredPojo
Options for configuring Auto-Tune. For more information, see Auto-Tune for Amazon OpenSearch Service
| Constructor and Description |
|---|
AutoTuneOptionsInput() |
| Modifier and Type | Method and Description |
|---|---|
AutoTuneOptionsInput |
clone() |
boolean |
equals(Object obj) |
String |
getDesiredState()
Whether Auto-Tune is enabled or disabled.
|
List<AutoTuneMaintenanceSchedule> |
getMaintenanceSchedules()
A list of maintenance schedules during which Auto-Tune can deploy changes.
|
Boolean |
getUseOffPeakWindow()
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured
daily off-peak window.
|
int |
hashCode() |
Boolean |
isUseOffPeakWindow()
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured
daily off-peak window.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDesiredState(String desiredState)
Whether Auto-Tune is enabled or disabled.
|
void |
setMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
A list of maintenance schedules during which Auto-Tune can deploy changes.
|
void |
setUseOffPeakWindow(Boolean useOffPeakWindow)
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured
daily off-peak window.
|
String |
toString()
Returns a string representation of this object.
|
AutoTuneOptionsInput |
withDesiredState(AutoTuneDesiredState desiredState)
Whether Auto-Tune is enabled or disabled.
|
AutoTuneOptionsInput |
withDesiredState(String desiredState)
Whether Auto-Tune is enabled or disabled.
|
AutoTuneOptionsInput |
withMaintenanceSchedules(AutoTuneMaintenanceSchedule... maintenanceSchedules)
A list of maintenance schedules during which Auto-Tune can deploy changes.
|
AutoTuneOptionsInput |
withMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
A list of maintenance schedules during which Auto-Tune can deploy changes.
|
AutoTuneOptionsInput |
withUseOffPeakWindow(Boolean useOffPeakWindow)
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured
daily off-peak window.
|
public void setDesiredState(String desiredState)
Whether Auto-Tune is enabled or disabled.
desiredState - Whether Auto-Tune is enabled or disabled.AutoTuneDesiredStatepublic String getDesiredState()
Whether Auto-Tune is enabled or disabled.
AutoTuneDesiredStatepublic AutoTuneOptionsInput withDesiredState(String desiredState)
Whether Auto-Tune is enabled or disabled.
desiredState - Whether Auto-Tune is enabled or disabled.AutoTuneDesiredStatepublic AutoTuneOptionsInput withDesiredState(AutoTuneDesiredState desiredState)
Whether Auto-Tune is enabled or disabled.
desiredState - Whether Auto-Tune is enabled or disabled.AutoTuneDesiredStatepublic List<AutoTuneMaintenanceSchedule> getMaintenanceSchedules()
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
public void setMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
maintenanceSchedules - A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are
deprecated and have been replaced with off-peak
windows.public AutoTuneOptionsInput withMaintenanceSchedules(AutoTuneMaintenanceSchedule... maintenanceSchedules)
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
NOTE: This method appends the values to the existing list (if any). Use
setMaintenanceSchedules(java.util.Collection) or withMaintenanceSchedules(java.util.Collection)
if you want to override the existing values.
maintenanceSchedules - A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are
deprecated and have been replaced with off-peak
windows.public AutoTuneOptionsInput withMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
maintenanceSchedules - A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are
deprecated and have been replaced with off-peak
windows.public void setUseOffPeakWindow(Boolean useOffPeakWindow)
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
useOffPeakWindow - Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's
configured daily off-peak window.public Boolean getUseOffPeakWindow()
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
public AutoTuneOptionsInput withUseOffPeakWindow(Boolean useOffPeakWindow)
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
useOffPeakWindow - Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's
configured daily off-peak window.public Boolean isUseOffPeakWindow()
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
public String toString()
toString in class ObjectObject.toString()public AutoTuneOptionsInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.