public class OptionStatus
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides the current status of the entity.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
creationDate
Timestamp which tells the creation date for the entity.
|
private java.lang.Boolean |
pendingDeletion
Indicates whether the Elasticsearch domain is being deleted.
|
private java.lang.String |
state
Provides the
OptionState for the Elasticsearch domain. |
private java.util.Date |
updateDate
Timestamp which tells the last updated time for the entity.
|
private java.lang.Integer |
updateVersion
Specifies the latest version for the entity.
|
Constructor and Description |
---|
OptionStatus() |
Modifier and Type | Method and Description |
---|---|
OptionStatus |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationDate()
Timestamp which tells the creation date for the entity.
|
java.lang.Boolean |
getPendingDeletion()
Indicates whether the Elasticsearch domain is being deleted.
|
java.lang.String |
getState()
Provides the
OptionState for the Elasticsearch domain. |
java.util.Date |
getUpdateDate()
Timestamp which tells the last updated time for the entity.
|
java.lang.Integer |
getUpdateVersion()
Specifies the latest version for the entity.
|
int |
hashCode() |
java.lang.Boolean |
isPendingDeletion()
Indicates whether the Elasticsearch domain is being deleted.
|
void |
setCreationDate(java.util.Date creationDate)
Timestamp which tells the creation date for the entity.
|
void |
setPendingDeletion(java.lang.Boolean pendingDeletion)
Indicates whether the Elasticsearch domain is being deleted.
|
void |
setState(OptionState state)
Provides the
OptionState for the Elasticsearch domain. |
void |
setState(java.lang.String state)
Provides the
OptionState for the Elasticsearch domain. |
void |
setUpdateDate(java.util.Date updateDate)
Timestamp which tells the last updated time for the entity.
|
void |
setUpdateVersion(java.lang.Integer updateVersion)
Specifies the latest version for the entity.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
OptionStatus |
withCreationDate(java.util.Date creationDate)
Timestamp which tells the creation date for the entity.
|
OptionStatus |
withPendingDeletion(java.lang.Boolean pendingDeletion)
Indicates whether the Elasticsearch domain is being deleted.
|
OptionStatus |
withState(OptionState state)
Provides the
OptionState for the Elasticsearch domain. |
OptionStatus |
withState(java.lang.String state)
Provides the
OptionState for the Elasticsearch domain. |
OptionStatus |
withUpdateDate(java.util.Date updateDate)
Timestamp which tells the last updated time for the entity.
|
OptionStatus |
withUpdateVersion(java.lang.Integer updateVersion)
Specifies the latest version for the entity.
|
private java.util.Date creationDate
Timestamp which tells the creation date for the entity.
private java.util.Date updateDate
Timestamp which tells the last updated time for the entity.
private java.lang.Integer updateVersion
Specifies the latest version for the entity.
private java.lang.String state
Provides the OptionState
for the Elasticsearch domain.
private java.lang.Boolean pendingDeletion
Indicates whether the Elasticsearch domain is being deleted.
public void setCreationDate(java.util.Date creationDate)
Timestamp which tells the creation date for the entity.
creationDate
- Timestamp which tells the creation date for the entity.public java.util.Date getCreationDate()
Timestamp which tells the creation date for the entity.
public OptionStatus withCreationDate(java.util.Date creationDate)
Timestamp which tells the creation date for the entity.
creationDate
- Timestamp which tells the creation date for the entity.public void setUpdateDate(java.util.Date updateDate)
Timestamp which tells the last updated time for the entity.
updateDate
- Timestamp which tells the last updated time for the entity.public java.util.Date getUpdateDate()
Timestamp which tells the last updated time for the entity.
public OptionStatus withUpdateDate(java.util.Date updateDate)
Timestamp which tells the last updated time for the entity.
updateDate
- Timestamp which tells the last updated time for the entity.public void setUpdateVersion(java.lang.Integer updateVersion)
Specifies the latest version for the entity.
updateVersion
- Specifies the latest version for the entity.public java.lang.Integer getUpdateVersion()
Specifies the latest version for the entity.
public OptionStatus withUpdateVersion(java.lang.Integer updateVersion)
Specifies the latest version for the entity.
updateVersion
- Specifies the latest version for the entity.public void setState(java.lang.String state)
Provides the OptionState
for the Elasticsearch domain.
state
- Provides the OptionState
for the Elasticsearch
domain.OptionState
public java.lang.String getState()
Provides the OptionState
for the Elasticsearch domain.
OptionState
for the Elasticsearch
domain.OptionState
public OptionStatus withState(java.lang.String state)
Provides the OptionState
for the Elasticsearch domain.
state
- Provides the OptionState
for the Elasticsearch
domain.OptionState
public void setState(OptionState state)
Provides the OptionState
for the Elasticsearch domain.
state
- Provides the OptionState
for the Elasticsearch
domain.OptionState
public OptionStatus withState(OptionState state)
Provides the OptionState
for the Elasticsearch domain.
state
- Provides the OptionState
for the Elasticsearch
domain.OptionState
public void setPendingDeletion(java.lang.Boolean pendingDeletion)
Indicates whether the Elasticsearch domain is being deleted.
pendingDeletion
- Indicates whether the Elasticsearch domain is being deleted.public java.lang.Boolean getPendingDeletion()
Indicates whether the Elasticsearch domain is being deleted.
public OptionStatus withPendingDeletion(java.lang.Boolean pendingDeletion)
Indicates whether the Elasticsearch domain is being deleted.
pendingDeletion
- Indicates whether the Elasticsearch domain is being deleted.public java.lang.Boolean isPendingDeletion()
Indicates whether the Elasticsearch domain is being deleted.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public OptionStatus clone()
clone
in class java.lang.Object