@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoTuneOptions extends Object implements Serializable, Cloneable, StructuredPojo
Specifies 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()
Specifies the Auto-Tune desired state.
|
List<AutoTuneMaintenanceSchedule> |
getMaintenanceSchedules()
Specifies list of maitenance schedules.
|
String |
getRollbackOnDisable()
Specifies the rollback state while disabling Auto-Tune for the domain.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDesiredState(String desiredState)
Specifies the Auto-Tune desired state.
|
void |
setMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
Specifies list of maitenance schedules.
|
void |
setRollbackOnDisable(String rollbackOnDisable)
Specifies the rollback state while disabling Auto-Tune for the domain.
|
String |
toString()
Returns a string representation of this object.
|
AutoTuneOptions |
withDesiredState(AutoTuneDesiredState desiredState)
Specifies the Auto-Tune desired state.
|
AutoTuneOptions |
withDesiredState(String desiredState)
Specifies the Auto-Tune desired state.
|
AutoTuneOptions |
withMaintenanceSchedules(AutoTuneMaintenanceSchedule... maintenanceSchedules)
Specifies list of maitenance schedules.
|
AutoTuneOptions |
withMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
Specifies list of maitenance schedules.
|
AutoTuneOptions |
withRollbackOnDisable(RollbackOnDisable rollbackOnDisable)
Specifies the rollback state while disabling Auto-Tune for the domain.
|
AutoTuneOptions |
withRollbackOnDisable(String rollbackOnDisable)
Specifies the rollback state while disabling Auto-Tune for the domain.
|
public void setDesiredState(String desiredState)
Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.
desiredState - Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.AutoTuneDesiredStatepublic String getDesiredState()
Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.
AutoTuneDesiredStatepublic AutoTuneOptions withDesiredState(String desiredState)
Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.
desiredState - Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.AutoTuneDesiredStatepublic AutoTuneOptions withDesiredState(AutoTuneDesiredState desiredState)
Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.
desiredState - Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.AutoTuneDesiredStatepublic void setRollbackOnDisable(String rollbackOnDisable)
Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK, DEFAULT_ROLLBACK.
rollbackOnDisable - Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK,
DEFAULT_ROLLBACK.RollbackOnDisablepublic String getRollbackOnDisable()
Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK, DEFAULT_ROLLBACK.
RollbackOnDisablepublic AutoTuneOptions withRollbackOnDisable(String rollbackOnDisable)
Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK, DEFAULT_ROLLBACK.
rollbackOnDisable - Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK,
DEFAULT_ROLLBACK.RollbackOnDisablepublic AutoTuneOptions withRollbackOnDisable(RollbackOnDisable rollbackOnDisable)
Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK, DEFAULT_ROLLBACK.
rollbackOnDisable - Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK,
DEFAULT_ROLLBACK.RollbackOnDisablepublic List<AutoTuneMaintenanceSchedule> getMaintenanceSchedules()
Specifies list of maitenance schedules. See the Developer Guide for more information.
public void setMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
Specifies list of maitenance schedules. See the Developer Guide for more information.
maintenanceSchedules - Specifies list of maitenance schedules. See the Developer Guide for more information.public AutoTuneOptions withMaintenanceSchedules(AutoTuneMaintenanceSchedule... maintenanceSchedules)
Specifies list of maitenance schedules. See the Developer Guide 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 - Specifies list of maitenance schedules. See the Developer Guide for more information.public AutoTuneOptions withMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
Specifies list of maitenance schedules. See the Developer Guide for more information.
maintenanceSchedules - Specifies list of maitenance schedules. See the Developer Guide for more information.public String toString()
toString in class ObjectObject.toString()public AutoTuneOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.