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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutoTuneMaintenanceSchedule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutoTuneMaintenanceSchedule.Builderbuilder()StringcronExpressionForRecurrence()A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.Durationduration()The duration of the maintenance schedule.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AutoTuneMaintenanceSchedule.Builder>serializableBuilderClass()InstantstartAt()The Epoch timestamp at which the Auto-Tune maintenance schedule starts.AutoTuneMaintenanceSchedule.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
startAt
public final Instant 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
public final Duration 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
public final String 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
public AutoTuneMaintenanceSchedule.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutoTuneMaintenanceSchedule.Builder,AutoTuneMaintenanceSchedule>
-
builder
public static AutoTuneMaintenanceSchedule.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutoTuneMaintenanceSchedule.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-