@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoTuneOptionsInput extends Object implements Serializable, Cloneable, StructuredPojo
The Auto-Tune options: the Auto-Tune desired state for the domain and list of maintenance schedules.
Constructor and Description |
---|
AutoTuneOptionsInput() |
Modifier and Type | Method and Description |
---|---|
AutoTuneOptionsInput |
clone() |
boolean |
equals(Object obj) |
String |
getDesiredState()
The Auto-Tune desired state.
|
List<AutoTuneMaintenanceSchedule> |
getMaintenanceSchedules()
A list of maintenance schedules.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDesiredState(String desiredState)
The Auto-Tune desired state.
|
void |
setMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
A list of maintenance schedules.
|
String |
toString()
Returns a string representation of this object.
|
AutoTuneOptionsInput |
withDesiredState(AutoTuneDesiredState desiredState)
The Auto-Tune desired state.
|
AutoTuneOptionsInput |
withDesiredState(String desiredState)
The Auto-Tune desired state.
|
AutoTuneOptionsInput |
withMaintenanceSchedules(AutoTuneMaintenanceSchedule... maintenanceSchedules)
A list of maintenance schedules.
|
AutoTuneOptionsInput |
withMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
A list of maintenance schedules.
|
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.AutoTuneDesiredState
public String getDesiredState()
The Auto-Tune desired state. Valid values are ENABLED and DISABLED.
AutoTuneDesiredState
public AutoTuneOptionsInput 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.AutoTuneDesiredState
public AutoTuneOptionsInput 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.AutoTuneDesiredState
public 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 AutoTuneOptionsInput 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 AutoTuneOptionsInput 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 Object
Object.toString()
public AutoTuneOptionsInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.