Class OffPeakWindowOptions
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OffPeakWindowOptions.Builder,OffPeakWindowOptions>
Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic OffPeakWindowOptions.Builderbuilder()final Booleanenabled()Whether to enable an off-peak window.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final OffPeakWindowOff-peak window settings for the domain.static Class<? extends OffPeakWindowOptions.Builder>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
-
enabled
Whether to enable an off-peak window.
This option is only available when modifying a domain created prior to February 16, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.
- Returns:
- Whether to enable an off-peak window.
This option is only available when modifying a domain created prior to February 16, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.
-
offPeakWindow
Off-peak window settings for the domain.
- Returns:
- Off-peak window settings for the domain.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<OffPeakWindowOptions.Builder,OffPeakWindowOptions>
-
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
-