@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoTuneMaintenanceSchedule extends Object implements Serializable, Cloneable, StructuredPojo
This object is deprecated. Use the domain's off-peak window to schedule Auto-Tune optimizations. For migration instructions, see Migrating from Auto-Tune maintenance windows.
The Auto-Tune maintenance schedule. For more information, see Auto-Tune for Amazon OpenSearch Service.
| Constructor and Description |
|---|
AutoTuneMaintenanceSchedule() |
| Modifier and Type | Method and Description |
|---|---|
AutoTuneMaintenanceSchedule |
clone() |
boolean |
equals(Object obj) |
String |
getCronExpressionForRecurrence()
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
|
Duration |
getDuration()
The duration of the maintenance schedule.
|
Date |
getStartAt()
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCronExpressionForRecurrence(String cronExpressionForRecurrence)
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
|
void |
setDuration(Duration duration)
The duration of the maintenance schedule.
|
void |
setStartAt(Date startAt)
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
|
String |
toString()
Returns a string representation of this object.
|
AutoTuneMaintenanceSchedule |
withCronExpressionForRecurrence(String cronExpressionForRecurrence)
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
|
AutoTuneMaintenanceSchedule |
withDuration(Duration duration)
The duration of the maintenance schedule.
|
AutoTuneMaintenanceSchedule |
withStartAt(Date startAt)
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
|
public void setStartAt(Date startAt)
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
startAt - The Epoch timestamp at which the Auto-Tune maintenance schedule starts.public Date getStartAt()
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
public AutoTuneMaintenanceSchedule withStartAt(Date startAt)
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
startAt - The Epoch timestamp at which the Auto-Tune maintenance schedule starts.public void setDuration(Duration duration)
The duration of the maintenance schedule. For example, "Duration": {"Value": 2, "Unit": "HOURS"}.
duration - The duration of the maintenance schedule. For example,
"Duration": {"Value": 2, "Unit": "HOURS"}.public Duration getDuration()
The duration of the maintenance schedule. For example, "Duration": {"Value": 2, "Unit": "HOURS"}.
"Duration": {"Value": 2, "Unit": "HOURS"}.public AutoTuneMaintenanceSchedule withDuration(Duration duration)
The duration of the maintenance schedule. For example, "Duration": {"Value": 2, "Unit": "HOURS"}.
duration - The duration of the maintenance schedule. For example,
"Duration": {"Value": 2, "Unit": "HOURS"}.public void setCronExpressionForRecurrence(String cronExpressionForRecurrence)
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
cronExpressionForRecurrence - A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.public String getCronExpressionForRecurrence()
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
public AutoTuneMaintenanceSchedule withCronExpressionForRecurrence(String cronExpressionForRecurrence)
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
cronExpressionForRecurrence - A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.public String toString()
toString in class ObjectObject.toString()public AutoTuneMaintenanceSchedule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.