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 OptionStatusclone()booleanequals(Object obj)DategetCreationDate()Timestamp which tells the creation date for the entity.BooleangetPendingDeletion()Indicates whether the Elasticsearch domain is being deleted.StringgetState()Provides theOptionStatefor the Elasticsearch domain.DategetUpdateDate()Timestamp which tells the last updated time for the entity.IntegergetUpdateVersion()Specifies the latest version for the entity.inthashCode()BooleanisPendingDeletion()Indicates whether the Elasticsearch domain is being deleted.voidsetCreationDate(Date creationDate)Timestamp which tells the creation date for the entity.voidsetPendingDeletion(Boolean pendingDeletion)Indicates whether the Elasticsearch domain is being deleted.voidsetState(OptionState state)Provides theOptionStatefor the Elasticsearch domain.voidsetState(String state)Provides theOptionStatefor the Elasticsearch domain.voidsetUpdateDate(Date updateDate)Timestamp which tells the last updated time for the entity.voidsetUpdateVersion(Integer updateVersion)Specifies the latest version for the entity.StringtoString()Returns a string representation of this object; useful for testing and debugging.OptionStatuswithCreationDate(Date creationDate)Timestamp which tells the creation date for the entity.OptionStatuswithPendingDeletion(Boolean pendingDeletion)Indicates whether the Elasticsearch domain is being deleted.OptionStatuswithState(OptionState state)Provides theOptionStatefor the Elasticsearch domain.OptionStatuswithState(String state)Provides theOptionStatefor the Elasticsearch domain.OptionStatuswithUpdateDate(Date updateDate)Timestamp which tells the last updated time for the entity.OptionStatuswithUpdateVersion(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
OptionStatefor the Elasticsearch domain.- Parameters:
state- Provides theOptionStatefor the Elasticsearch domain.- See Also:
OptionState
-
getState
public String getState()
Provides the
OptionStatefor the Elasticsearch domain.- Returns:
- Provides the
OptionStatefor the Elasticsearch domain. - See Also:
OptionState
-
withState
public OptionStatus withState(String state)
Provides the
OptionStatefor the Elasticsearch domain.- Parameters:
state- Provides theOptionStatefor 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
OptionStatefor the Elasticsearch domain.- Parameters:
state- Provides theOptionStatefor the Elasticsearch domain.- See Also:
OptionState
-
withState
public OptionStatus withState(OptionState state)
Provides the
OptionStatefor the Elasticsearch domain.- Parameters:
state- Provides theOptionStatefor 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OptionStatus clone()
-
-