Class OptionStatus
- java.lang.Object
-
- com.amazonaws.services.elasticsearch.model.OptionStatus
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class OptionStatus extends Object implements Serializable, Cloneable
Provides the current status of the entity.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OptionStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OptionStatus
clone()
boolean
equals(Object obj)
Date
getCreationDate()
Timestamp which tells the creation date for the entity.Boolean
getPendingDeletion()
Indicates whether the Elasticsearch domain is being deleted.String
getState()
Provides theOptionState
for the Elasticsearch domain.Date
getUpdateDate()
Timestamp which tells the last updated time for the entity.Integer
getUpdateVersion()
Specifies the latest version for the entity.int
hashCode()
Boolean
isPendingDeletion()
Indicates whether the Elasticsearch domain is being deleted.void
setCreationDate(Date creationDate)
Timestamp which tells the creation date for the entity.void
setPendingDeletion(Boolean pendingDeletion)
Indicates whether the Elasticsearch domain is being deleted.void
setState(OptionState state)
Provides theOptionState
for the Elasticsearch domain.void
setState(String state)
Provides theOptionState
for the Elasticsearch domain.void
setUpdateDate(Date updateDate)
Timestamp which tells the last updated time for the entity.void
setUpdateVersion(Integer updateVersion)
Specifies the latest version for the entity.String
toString()
Returns a string representation of this object; useful for testing and debugging.OptionStatus
withCreationDate(Date creationDate)
Timestamp which tells the creation date for the entity.OptionStatus
withPendingDeletion(Boolean pendingDeletion)
Indicates whether the Elasticsearch domain is being deleted.OptionStatus
withState(OptionState state)
Provides theOptionState
for the Elasticsearch domain.OptionStatus
withState(String state)
Provides theOptionState
for the Elasticsearch domain.OptionStatus
withUpdateDate(Date updateDate)
Timestamp which tells the last updated time for the entity.OptionStatus
withUpdateVersion(Integer updateVersion)
Specifies the latest version for the entity.
-
-
-
Method Detail
-
setCreationDate
public void setCreationDate(Date creationDate)
Timestamp which tells the creation date for the entity.
- Parameters:
creationDate
- Timestamp which tells the creation date for the entity.
-
getCreationDate
public Date getCreationDate()
Timestamp which tells the creation date for the entity.
- Returns:
- Timestamp which tells the creation date for the entity.
-
withCreationDate
public OptionStatus withCreationDate(Date creationDate)
Timestamp which tells the creation date for the entity.
- Parameters:
creationDate
- Timestamp which tells the creation date for the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUpdateDate
public void setUpdateDate(Date updateDate)
Timestamp which tells the last updated time for the entity.
- Parameters:
updateDate
- Timestamp which tells the last updated time for the entity.
-
getUpdateDate
public Date getUpdateDate()
Timestamp which tells the last updated time for the entity.
- Returns:
- Timestamp which tells the last updated time for the entity.
-
withUpdateDate
public OptionStatus withUpdateDate(Date updateDate)
Timestamp which tells the last updated time for the entity.
- Parameters:
updateDate
- Timestamp which tells the last updated time for the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUpdateVersion
public void setUpdateVersion(Integer updateVersion)
Specifies the latest version for the entity.
- Parameters:
updateVersion
- Specifies the latest version for the entity.
-
getUpdateVersion
public Integer getUpdateVersion()
Specifies the latest version for the entity.
- Returns:
- Specifies the latest version for the entity.
-
withUpdateVersion
public OptionStatus withUpdateVersion(Integer updateVersion)
Specifies the latest version for the entity.
- Parameters:
updateVersion
- Specifies the latest version for the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
public void setState(String state)
Provides the
OptionState
for the Elasticsearch domain.- Parameters:
state
- Provides theOptionState
for the Elasticsearch domain.- See Also:
OptionState
-
getState
public String getState()
Provides the
OptionState
for the Elasticsearch domain.- Returns:
- Provides the
OptionState
for the Elasticsearch domain. - See Also:
OptionState
-
withState
public OptionStatus withState(String state)
Provides the
OptionState
for the Elasticsearch domain.- Parameters:
state
- Provides theOptionState
for the Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OptionState
-
setState
public void setState(OptionState state)
Provides the
OptionState
for the Elasticsearch domain.- Parameters:
state
- Provides theOptionState
for the Elasticsearch domain.- See Also:
OptionState
-
withState
public OptionStatus withState(OptionState state)
Provides the
OptionState
for the Elasticsearch domain.- Parameters:
state
- Provides theOptionState
for the Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OptionState
-
setPendingDeletion
public void setPendingDeletion(Boolean pendingDeletion)
Indicates whether the Elasticsearch domain is being deleted.
- Parameters:
pendingDeletion
- Indicates whether the Elasticsearch domain is being deleted.
-
getPendingDeletion
public Boolean getPendingDeletion()
Indicates whether the Elasticsearch domain is being deleted.
- Returns:
- Indicates whether the Elasticsearch domain is being deleted.
-
withPendingDeletion
public OptionStatus withPendingDeletion(Boolean pendingDeletion)
Indicates whether the Elasticsearch domain is being deleted.
- Parameters:
pendingDeletion
- Indicates whether the Elasticsearch domain is being deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPendingDeletion
public Boolean isPendingDeletion()
Indicates whether the Elasticsearch domain is being deleted.
- Returns:
- Indicates whether the Elasticsearch domain is being deleted.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OptionStatus clone()
-
-