@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoTuneOptions extends Object implements Serializable, Cloneable, StructuredPojo
The Auto-Tune options: the Auto-Tune desired state for the domain, rollback state when disabling Auto-Tune options and list of maintenance schedules.
| Constructor and Description |
|---|
AutoTuneOptions() |
| Modifier and Type | Method and Description |
|---|---|
AutoTuneOptions |
clone() |
boolean |
equals(Object obj) |
String |
getDesiredState()
The Auto-Tune desired state.
|
List<AutoTuneMaintenanceSchedule> |
getMaintenanceSchedules()
A list of maintenance schedules.
|
String |
getRollbackOnDisable()
The rollback state while disabling Auto-Tune for the domain.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDesiredState(String desiredState)
The Auto-Tune desired state.
|
void |
setMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
A list of maintenance schedules.
|
void |
setRollbackOnDisable(String rollbackOnDisable)
The rollback state while disabling Auto-Tune for the domain.
|
String |
toString()
Returns a string representation of this object.
|
AutoTuneOptions |
withDesiredState(AutoTuneDesiredState desiredState)
The Auto-Tune desired state.
|
AutoTuneOptions |
withDesiredState(String desiredState)
The Auto-Tune desired state.
|
AutoTuneOptions |
withMaintenanceSchedules(AutoTuneMaintenanceSchedule... maintenanceSchedules)
A list of maintenance schedules.
|
AutoTuneOptions |
withMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
A list of maintenance schedules.
|
AutoTuneOptions |
withRollbackOnDisable(RollbackOnDisable rollbackOnDisable)
The rollback state while disabling Auto-Tune for the domain.
|
AutoTuneOptions |
withRollbackOnDisable(String rollbackOnDisable)
The rollback state while disabling Auto-Tune for the domain.
|
public void setDesiredState(String desiredState)
The Auto-Tune desired state. Valid values are ENABLED and DISABLED.
desiredState - The Auto-Tune desired state. Valid values are ENABLED and DISABLED.AutoTuneDesiredStatepublic String getDesiredState()
The Auto-Tune desired state. Valid values are ENABLED and DISABLED.
AutoTuneDesiredStatepublic AutoTuneOptions withDesiredState(String desiredState)
The Auto-Tune desired state. Valid values are ENABLED and DISABLED.
desiredState - The Auto-Tune desired state. Valid values are ENABLED and DISABLED.AutoTuneDesiredStatepublic AutoTuneOptions withDesiredState(AutoTuneDesiredState desiredState)
The Auto-Tune desired state. Valid values are ENABLED and DISABLED.
desiredState - The Auto-Tune desired state. Valid values are ENABLED and DISABLED.AutoTuneDesiredStatepublic void setRollbackOnDisable(String rollbackOnDisable)
The rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK and DEFAULT_ROLLBACK.
rollbackOnDisable - The rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK and
DEFAULT_ROLLBACK.RollbackOnDisablepublic String getRollbackOnDisable()
The rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK and DEFAULT_ROLLBACK.
RollbackOnDisablepublic AutoTuneOptions withRollbackOnDisable(String rollbackOnDisable)
The rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK and DEFAULT_ROLLBACK.
rollbackOnDisable - The rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK and
DEFAULT_ROLLBACK.RollbackOnDisablepublic AutoTuneOptions withRollbackOnDisable(RollbackOnDisable rollbackOnDisable)
The rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK and DEFAULT_ROLLBACK.
rollbackOnDisable - The rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK and
DEFAULT_ROLLBACK.RollbackOnDisablepublic List<AutoTuneMaintenanceSchedule> getMaintenanceSchedules()
A list of maintenance schedules. See Auto-Tune for Amazon OpenSearch Service for more information.
public void setMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
A list of maintenance schedules. See Auto-Tune for Amazon OpenSearch Service for more information.
maintenanceSchedules - A list of maintenance schedules. See Auto-Tune for Amazon OpenSearch Service for more information.public AutoTuneOptions withMaintenanceSchedules(AutoTuneMaintenanceSchedule... maintenanceSchedules)
A list of maintenance schedules. See Auto-Tune for Amazon OpenSearch Service for more information.
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. See Auto-Tune for Amazon OpenSearch Service for more information.public AutoTuneOptions withMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
A list of maintenance schedules. See Auto-Tune for Amazon OpenSearch Service for more information.
maintenanceSchedules - A list of maintenance schedules. See Auto-Tune for Amazon OpenSearch Service for more information.public String toString()
toString in class ObjectObject.toString()public AutoTuneOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.