@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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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.
|
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.
|
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 schedules are overwrite,
not append. If your request includes no schedules, the request deletes all existing schedules. To preserve
existing schedules, make a call to DescribeDomainConfig first and use the
MaintenanceSchedules portion of the response as the basis for this section.
DescribeDomainConfig first and use the
MaintenanceSchedules portion of the response as the basis for this section.public void setMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance schedules are overwrite,
not append. If your request includes no schedules, the request deletes all existing schedules. To preserve
existing schedules, make a call to DescribeDomainConfig first and use the
MaintenanceSchedules portion of the response as the basis for this section.
maintenanceSchedules - A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance schedules are
overwrite, not append. If your request includes no schedules, the request deletes all existing schedules.
To preserve existing schedules, make a call to DescribeDomainConfig first and use the
MaintenanceSchedules portion of the response as the basis for this section.public AutoTuneOptionsInput withMaintenanceSchedules(AutoTuneMaintenanceSchedule... maintenanceSchedules)
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance schedules are overwrite,
not append. If your request includes no schedules, the request deletes all existing schedules. To preserve
existing schedules, make a call to DescribeDomainConfig first and use the
MaintenanceSchedules portion of the response as the basis for this section.
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 schedules are
overwrite, not append. If your request includes no schedules, the request deletes all existing schedules.
To preserve existing schedules, make a call to DescribeDomainConfig first and use the
MaintenanceSchedules portion of the response as the basis for this section.public AutoTuneOptionsInput withMaintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance schedules are overwrite,
not append. If your request includes no schedules, the request deletes all existing schedules. To preserve
existing schedules, make a call to DescribeDomainConfig first and use the
MaintenanceSchedules portion of the response as the basis for this section.
maintenanceSchedules - A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance schedules are
overwrite, not append. If your request includes no schedules, the request deletes all existing schedules.
To preserve existing schedules, make a call to DescribeDomainConfig first and use the
MaintenanceSchedules portion of the response as the basis for this section.public String toString()
toString in class ObjectObject.toString()public AutoTuneOptionsInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.