@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OffPeakWindowOptions extends Object implements Serializable, Cloneable, StructuredPojo
Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.
| Constructor and Description |
|---|
OffPeakWindowOptions() |
| Modifier and Type | Method and Description |
|---|---|
OffPeakWindowOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Whether to enable an off-peak window.
|
OffPeakWindow |
getOffPeakWindow()
Off-peak window settings for the domain.
|
int |
hashCode() |
Boolean |
isEnabled()
Whether to enable an off-peak window.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEnabled(Boolean enabled)
Whether to enable an off-peak window.
|
void |
setOffPeakWindow(OffPeakWindow offPeakWindow)
Off-peak window settings for the domain.
|
String |
toString()
Returns a string representation of this object.
|
OffPeakWindowOptions |
withEnabled(Boolean enabled)
Whether to enable an off-peak window.
|
OffPeakWindowOptions |
withOffPeakWindow(OffPeakWindow offPeakWindow)
Off-peak window settings for the domain.
|
public void setEnabled(Boolean 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.
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.
public Boolean getEnabled()
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.
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.
public OffPeakWindowOptions withEnabled(Boolean 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.
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.
public Boolean isEnabled()
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.
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.
public void setOffPeakWindow(OffPeakWindow offPeakWindow)
Off-peak window settings for the domain.
offPeakWindow - Off-peak window settings for the domain.public OffPeakWindow getOffPeakWindow()
Off-peak window settings for the domain.
public OffPeakWindowOptions withOffPeakWindow(OffPeakWindow offPeakWindow)
Off-peak window settings for the domain.
offPeakWindow - Off-peak window settings for the domain.public String toString()
toString in class ObjectObject.toString()public OffPeakWindowOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.