@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoTuneStatus extends Object implements Serializable, Cloneable, StructuredPojo
The current status of Auto-Tune for the domain. For more information, see Auto-Tune for Amazon OpenSearch Service.
Constructor and Description |
---|
AutoTuneStatus() |
Modifier and Type | Method and Description |
---|---|
AutoTuneStatus |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
Date and time when Auto-Tune was enabled for the domain.
|
String |
getErrorMessage()
Any errors that occurred while enabling or disabling Auto-Tune.
|
Boolean |
getPendingDeletion()
Indicates whether the domain is being deleted.
|
String |
getState()
The current state of Auto-Tune on the domain.
|
Date |
getUpdateDate()
Date and time when the Auto-Tune options were last updated for the domain.
|
Integer |
getUpdateVersion()
The latest version of the Auto-Tune options.
|
int |
hashCode() |
Boolean |
isPendingDeletion()
Indicates whether the domain is being deleted.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(Date creationDate)
Date and time when Auto-Tune was enabled for the domain.
|
void |
setErrorMessage(String errorMessage)
Any errors that occurred while enabling or disabling Auto-Tune.
|
void |
setPendingDeletion(Boolean pendingDeletion)
Indicates whether the domain is being deleted.
|
void |
setState(String state)
The current state of Auto-Tune on the domain.
|
void |
setUpdateDate(Date updateDate)
Date and time when the Auto-Tune options were last updated for the domain.
|
void |
setUpdateVersion(Integer updateVersion)
The latest version of the Auto-Tune options.
|
String |
toString()
Returns a string representation of this object.
|
AutoTuneStatus |
withCreationDate(Date creationDate)
Date and time when Auto-Tune was enabled for the domain.
|
AutoTuneStatus |
withErrorMessage(String errorMessage)
Any errors that occurred while enabling or disabling Auto-Tune.
|
AutoTuneStatus |
withPendingDeletion(Boolean pendingDeletion)
Indicates whether the domain is being deleted.
|
AutoTuneStatus |
withState(AutoTuneState state)
The current state of Auto-Tune on the domain.
|
AutoTuneStatus |
withState(String state)
The current state of Auto-Tune on the domain.
|
AutoTuneStatus |
withUpdateDate(Date updateDate)
Date and time when the Auto-Tune options were last updated for the domain.
|
AutoTuneStatus |
withUpdateVersion(Integer updateVersion)
The latest version of the Auto-Tune options.
|
public void setCreationDate(Date creationDate)
Date and time when Auto-Tune was enabled for the domain.
creationDate
- Date and time when Auto-Tune was enabled for the domain.public Date getCreationDate()
Date and time when Auto-Tune was enabled for the domain.
public AutoTuneStatus withCreationDate(Date creationDate)
Date and time when Auto-Tune was enabled for the domain.
creationDate
- Date and time when Auto-Tune was enabled for the domain.public void setUpdateDate(Date updateDate)
Date and time when the Auto-Tune options were last updated for the domain.
updateDate
- Date and time when the Auto-Tune options were last updated for the domain.public Date getUpdateDate()
Date and time when the Auto-Tune options were last updated for the domain.
public AutoTuneStatus withUpdateDate(Date updateDate)
Date and time when the Auto-Tune options were last updated for the domain.
updateDate
- Date and time when the Auto-Tune options were last updated for the domain.public void setUpdateVersion(Integer updateVersion)
The latest version of the Auto-Tune options.
updateVersion
- The latest version of the Auto-Tune options.public Integer getUpdateVersion()
The latest version of the Auto-Tune options.
public AutoTuneStatus withUpdateVersion(Integer updateVersion)
The latest version of the Auto-Tune options.
updateVersion
- The latest version of the Auto-Tune options.public void setState(String state)
The current state of Auto-Tune on the domain.
state
- The current state of Auto-Tune on the domain.AutoTuneState
public String getState()
The current state of Auto-Tune on the domain.
AutoTuneState
public AutoTuneStatus withState(String state)
The current state of Auto-Tune on the domain.
state
- The current state of Auto-Tune on the domain.AutoTuneState
public AutoTuneStatus withState(AutoTuneState state)
The current state of Auto-Tune on the domain.
state
- The current state of Auto-Tune on the domain.AutoTuneState
public 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 AutoTuneStatus 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 setPendingDeletion(Boolean pendingDeletion)
Indicates whether the domain is being deleted.
pendingDeletion
- Indicates whether the domain is being deleted.public Boolean getPendingDeletion()
Indicates whether the domain is being deleted.
public AutoTuneStatus withPendingDeletion(Boolean pendingDeletion)
Indicates whether the domain is being deleted.
pendingDeletion
- Indicates whether the domain is being deleted.public Boolean isPendingDeletion()
Indicates whether the domain is being deleted.
public String toString()
toString
in class Object
Object.toString()
public AutoTuneStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.