@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoTuneMaintenanceSchedule extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the Auto-Tune maintenance schedule. See Auto-Tune for Amazon OpenSearch Service for more information.
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.
|
Duration |
getDuration()
Specifies maintenance schedule duration: duration value and duration unit.
|
Date |
getStartAt()
The 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.
|
void |
setDuration(Duration duration)
Specifies maintenance schedule duration: duration value and duration unit.
|
void |
setStartAt(Date startAt)
The 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.
|
AutoTuneMaintenanceSchedule |
withDuration(Duration duration)
Specifies maintenance schedule duration: duration value and duration unit.
|
AutoTuneMaintenanceSchedule |
withStartAt(Date startAt)
The timestamp at which the Auto-Tune maintenance schedule starts.
|
public void setStartAt(Date startAt)
The timestamp at which the Auto-Tune maintenance schedule starts.
startAt
- The timestamp at which the Auto-Tune maintenance schedule starts.public Date getStartAt()
The timestamp at which the Auto-Tune maintenance schedule starts.
public AutoTuneMaintenanceSchedule withStartAt(Date startAt)
The timestamp at which the Auto-Tune maintenance schedule starts.
startAt
- The timestamp at which the Auto-Tune maintenance schedule starts.public void setDuration(Duration duration)
Specifies maintenance schedule duration: duration value and duration unit. See Auto-Tune for Amazon OpenSearch Service for more information.
duration
- Specifies maintenance schedule duration: duration value and duration unit. See Auto-Tune for Amazon OpenSearch Service for more information.public Duration getDuration()
Specifies maintenance schedule duration: duration value and duration unit. See Auto-Tune for Amazon OpenSearch Service for more information.
public AutoTuneMaintenanceSchedule withDuration(Duration duration)
Specifies maintenance schedule duration: duration value and duration unit. See Auto-Tune for Amazon OpenSearch Service for more information.
duration
- Specifies maintenance schedule duration: duration value and duration unit. See Auto-Tune for Amazon OpenSearch Service for more information.public void setCronExpressionForRecurrence(String cronExpressionForRecurrence)
A cron expression for a recurring maintenance schedule. See Auto-Tune for Amazon OpenSearch Service for more information.
cronExpressionForRecurrence
- A cron expression for a recurring maintenance schedule. See Auto-Tune for Amazon OpenSearch Service for more information.public String getCronExpressionForRecurrence()
A cron expression for a recurring maintenance schedule. See Auto-Tune for Amazon OpenSearch Service for more information.
public AutoTuneMaintenanceSchedule withCronExpressionForRecurrence(String cronExpressionForRecurrence)
A cron expression for a recurring maintenance schedule. See Auto-Tune for Amazon OpenSearch Service for more information.
cronExpressionForRecurrence
- A cron expression for a recurring maintenance schedule. See Auto-Tune for Amazon OpenSearch Service for more information.public String toString()
toString
in class Object
Object.toString()
public AutoTuneMaintenanceSchedule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.