Class AutoTuneMaintenanceSchedule
java.lang.Object
software.amazon.awssdk.services.opensearch.model.AutoTuneMaintenanceSchedule
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutoTuneMaintenanceSchedule.Builder,AutoTuneMaintenanceSchedule>
@Generated("software.amazon.awssdk:codegen")
public final class AutoTuneMaintenanceSchedule
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<AutoTuneMaintenanceSchedule.Builder,AutoTuneMaintenanceSchedule>
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringA cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.final Durationduration()The duration of the maintenance schedule.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends AutoTuneMaintenanceSchedule.Builder>final InstantstartAt()The Epoch timestamp at which the Auto-Tune maintenance schedule starts.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
startAt
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
- Returns:
- The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
-
duration
The duration of the maintenance schedule. For example,
"Duration": {"Value": 2, "Unit": "HOURS"}.- Returns:
- The duration of the maintenance schedule. For example,
"Duration": {"Value": 2, "Unit": "HOURS"}.
-
cronExpressionForRecurrence
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
- Returns:
- A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutoTuneMaintenanceSchedule.Builder,AutoTuneMaintenanceSchedule>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-