@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoTuneOptionsOutput extends Object implements Serializable, Cloneable, StructuredPojo
The Auto-Tune settings for a domain, displayed when enabling or disabling Auto-Tune.
| Constructor and Description |
|---|
AutoTuneOptionsOutput() |
| Modifier and Type | Method and Description |
|---|---|
AutoTuneOptionsOutput |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
Any errors that occurred while enabling or disabling Auto-Tune.
|
String |
getState()
The current state of Auto-Tune on the domain.
|
Boolean |
getUseOffPeakWindow()
Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule.
|
int |
hashCode() |
Boolean |
isUseOffPeakWindow()
Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorMessage(String errorMessage)
Any errors that occurred while enabling or disabling Auto-Tune.
|
void |
setState(String state)
The current state of Auto-Tune on the domain.
|
void |
setUseOffPeakWindow(Boolean useOffPeakWindow)
Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule.
|
String |
toString()
Returns a string representation of this object.
|
AutoTuneOptionsOutput |
withErrorMessage(String errorMessage)
Any errors that occurred while enabling or disabling Auto-Tune.
|
AutoTuneOptionsOutput |
withState(AutoTuneState state)
The current state of Auto-Tune on the domain.
|
AutoTuneOptionsOutput |
withState(String state)
The current state of Auto-Tune on the domain.
|
AutoTuneOptionsOutput |
withUseOffPeakWindow(Boolean useOffPeakWindow)
Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule.
|
public void setState(String state)
The current state of Auto-Tune on the domain.
state - The current state of Auto-Tune on the domain.AutoTuneStatepublic String getState()
The current state of Auto-Tune on the domain.
AutoTuneStatepublic AutoTuneOptionsOutput withState(String state)
The current state of Auto-Tune on the domain.
state - The current state of Auto-Tune on the domain.AutoTuneStatepublic AutoTuneOptionsOutput withState(AutoTuneState state)
The current state of Auto-Tune on the domain.
state - The current state of Auto-Tune on the domain.AutoTuneStatepublic void setErrorMessage(String errorMessage)
Any errors that occurred while enabling or disabling Auto-Tune.
errorMessage - Any errors that occurred while enabling or disabling Auto-Tune.public String getErrorMessage()
Any errors that occurred while enabling or disabling Auto-Tune.
public AutoTuneOptionsOutput withErrorMessage(String errorMessage)
Any errors that occurred while enabling or disabling Auto-Tune.
errorMessage - Any errors that occurred while enabling or disabling Auto-Tune.public void setUseOffPeakWindow(Boolean useOffPeakWindow)
Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule.
useOffPeakWindow - Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance
schedule.public Boolean getUseOffPeakWindow()
Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule.
public AutoTuneOptionsOutput withUseOffPeakWindow(Boolean useOffPeakWindow)
Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule.
useOffPeakWindow - Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance
schedule.public Boolean isUseOffPeakWindow()
Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule.
public String toString()
toString in class ObjectObject.toString()public AutoTuneOptionsOutput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.